There seems to be a difference between longhand properties (e.g. background-color
) and shorthand properties (e.g. background
). Some CSS hacks only work for one or the other. I’ve updated my test case to test these separately, and there are some interesting results.
The following hacks target IE8 but not IE9:
longhandproperty: \0value\0;
longhandproperty: \0value;
In practice, you might use these like so:
background-color: \0red\0;