Tuesday 9 September 2008
Some Boring CSS/Acid3 Stuff
I landed the fix to bug 243519 last night. This fixes our treatment of the root element in CSS. The main thing it does is make the viewport (or more precisely, the "initial containing block"), not the root element, the default containing block for absolutely positioned elements. This was the last layout bug affecting the display of Acid3. The last remaining visual Acid3 bug is support for CSS @font-face downloadable fonts (which is well under way!).
As a side effect, since it was pretty easy to do I enabled absolute, fixed and relative positioning of the root element. This is optional according to CSS but since Opera and Webkit do it, it's the right thing to do for interop. I haven't really thought of a use for it though. As a bonus we also got -moz-columns working on the root element, hooray!
Comments
Re downloadable fonts: WebKit has had Web Fonts for quite a while now and passed Acid3 fully for the first time on Friday. So it's 100 subtests of 100 passed now.
Opera 9.60 Beta scored 85. Haven't tried the latest Gecko yet.