On Apr 25, 2008, at 8:56 PM, Pentasis wrote: > > Today I came across this statement (don't ask me where, I lost the > link): > > "For HTML, but not for XHTML, the CSS2.1 specification recommends > that we > specify the document background for the body element, rather than > for the > html element. If the computed value of the background property for > the html > element is transparent (the initial value), any background properties > specified for the body element will be applied to the canvas. This > isn't the > case for XHTML." > > But I am unsure if they mean XHTML in general or strictly served as > xml?
XHTML served as xml (application/xhtml+xml). That is what Safari/Webkit and Gecko 1.8 (Fx 2) do. But there is a movement to change this, and make <body> 'magic', just as it is in text/html. Thus, Opera 9.27 and 9.5b2 and Gecko 1.9 (Fx 3) propagate the background-colour of <body> to the root element. Discussion thread on www-style: <http://lists.w3.org/Archives/Public/www-style/2007Apr/0037.html> Bug report that changed the behaviour for Gecko 1.9: <https://bugzilla.mozilla.org/show_bug.cgi?id=379461> No work is being done, yet, on the WebKit side <https://bugs.webkit.org/show_bug.cgi?id=13568> Philippe --- Philippe Wittenbergh http://l-c-n.com/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
