I think I ran into an IE8 error, but I'm not sure ...
I cannot provide a test file because my css has a length of more than 2500 lines (semi-mined) and cannot recreate the exact conditions.
Problem
In my huge css sheet, I have an empty declaration like this:
.class {}
Well, I usually do this to start the cascade, and delete the line later, this time I forgot.
Then, while checking the page, there were two or three classes that literally disappear. This is similar to the css rule for these elements. Lost css seems random, has nothing to do with an empty rule or cascade. A lost item is the result of an empty rule .
If I have:
.class {} .otherclass {color:red;}
Then IE8 doesn't show me the red color in the otherclass element.
I find this test page:
http://css-class.com/test/bugs/ie/8-beta/empty-declaration-hides-next-ruleset.htm
This bug should be fixed. So, I saw this test file in IE8, and I don't see any difference with FF or CH or other versions of IE. But on our site I can! This is a building with Zope / Plone, if that helps.
Are there any official sources that recognize this error? Does anyone know why sometimes (or in Plone) it works, and sometimes not?
source share