Re: XHTML as XML

Jesper Tverskov wrote:
> In my opinion Opera is doing it the way it should be done, and the 
> candidate specification is very unclear by the way and could still be
> fixed. W3C's own browser, Amaya 9.0, is also doing it the Opera way.

It is actually very clear. The draft makes an exception for HTML
documents so that it is more backwards compatible with the |<body
background="...">| construct that existed in the 4.x era.

That exception does not make sense for XML documents.


> Only Mozilla/Firefox wants us to both style the html element and the 
> body element for the same thing. This is redundant and no fun since
> the DTD doesn't allow the use of the class attribute in the html
> element.

That is a mistake of the HTML WG and has nothing to do with this issue.

Also, Mozilla does not want you to style both elements in XML context.
Just the HTML element is enough.


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>

Received on Wednesday, 9 February 2005 16:26:31 UTC