alphagov/slimmer — pull request #7 by edds (2012-07-30 15:16:45+00:00)
Title: Conditional comments

Being able to wrap tags with conditional comments will let us ensure we
don't serve modern stylesheets to old IE in the case where we are
serving them their own IE only stylesheet.

Added a proprietary attribute which takes the condition to add to the
comment in the form `slimmer-wrap-with="[condition]"`. This will then
copy that tag across and re-wrap it with conditional comments as the
comments don't get copied by slimmer.