Merge commit 'mrajcok/master'

* commit 'mrajcok/master':
  Reversed the logic to be correct (IE6 *ignores* the !important identifier).
This commit is contained in:
Chris Eppstein 2010-02-13 08:32:37 -08:00
commit cd2ab04fec

View File

@ -5,11 +5,11 @@
&
display: block
//**
IE6 will let the !important property win
While all the other browsers won't.
TODO: link to blog post
=bang-hack(!property, !hack_value, !value)
#{!property}: #{!hack_value} !important
#{!property}: #{!value}
//**
A hack to supply IE6 (and below) with a different property value.
See http://www.cssportal.com/css-hacks/#in_css-important
=bang-hack(!property, !value, !ie6_value)
#{!property}: #{!value} !important
#{!property}: #{!ie6_value}