Affected Versions
This bug affects: IE8
Symptoms
rules inside :first-letter pseudo-class are completely ignored when !important modifier is used
Date of the Tutorial
Tue Jul 28 09:02:11 2009
Description
Here's a rare bug. You're using :first-letter
pseudo-element and (for some strange reason) add !important
to strengthen the specificity of the rule. All browsers play along fine, but IE8 decides to rebel and ignores the rule completely - not just the !important
, but the entire rule. You then start adding second and third !important
in hopes to fix the problem, alas, that's not the way to go :) To the demo!