IE8 passes Acid2: What does it mean?
So this past week we learned that IE8 passes the Acid2 test. But what exactly does this mean? For the uninitiated, the Acid2 test was developed by the Web Standards Project to test browser support for specific CSS features. If a browser passes the test, it means that these CSS features are supported:
- Transparent borders
- Minimum and maximum widths
- Adjacent sibling selectors
- Matching attribute selectors
- Class subset selectors
- Child selectors
- :before and :after pseudo-elements
- The
content
property - The CSS table model
In addition to testing these specific features, the Acid2 test also intentionally includes syntax errors designed to point out parser errors in browsers. The rules with syntax errors should be ignored, and if they aren’t, the test won’t display correctly. With IE8 passing the Acid2 test, it means that not only have the previously mentioned features been implemented correctly, but also that the bugs in IE’s CSS parser have been fixed. This is huge news.
It’s worth noting that IE8 passes in the Acid2 test in standards mode, meaning that all of the web sites in the world that run in quirks mode will be unaffected.
Disclaimer: Any viewpoints and opinions expressed in this article are those of Nicholas C. Zakas and do not, in any way, reflect those of my employer, my colleagues, Wrox Publishing, O'Reilly Publishing, or anyone else. I speak only for myself, not for them.