W3C home > Mailing lists > Public > www-style@w3.org > October 2001

Re: Comments on WD-css3-background-20010924

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Thu, 25 Oct 2001 21:55:23 +0200
To: bert.bos@sophia.inria.fr
Cc: www-style@w3.org, frederick.boland@nist.gov
Message-ID: <mfrgtt087261mmthq8cmqnfapd34qqi7ue@4ax.com>
* Bert Bos wrote:
>> [...]
>>   For HTML documents, however, we recommend that authors specify the
>>   background for the BODY element rather than the HTML element.
>> [...]
>> Why? Does this also apply to XHTML documents?
>Tradition of the BODY BGCOLOR attribute.
>Good question. Since XHTML (at least from 2.0 onwards) is supposed to
>be an examplary XML-based format, with as little semantics as possible
>that is not derived from other specifications (CSS, XLink, etc.), and
>since XHTML doesn't have a BGCOLOR attribute anyway, I guess we can
>remove the special treatment of BODY in the case of XHTML.

Hence the user agent has to decide how to treat something HTML-special
depending on the MIME type of the document retrieved, i.e. text/html =>
treat it as HTML, application/xhtml+xml or some other XML media type,
don't treat it special?

Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/
Received on Thursday, 25 October 2001 15:56:31 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:59 UTC