W3C home > Mailing lists > Public > www-style@w3.org > September 1999

RE: Minor error in CSS2, section 14.2; 'background'

From: Chris Wilson <cwilso@MICROSOFT.com>
Date: Wed, 8 Sep 1999 15:03:26 -0700
Message-ID: <C35556591D34D111BB5600805F1961B90C311A3E@RED-MSG-47>
To: "'www-style'" <www-style@w3.org>
The root element of a HTML document may be the <HTML> element, according to
SGML.  However, Gordon's question was referring to the root display node -
and there is no explicit requirement that HTML be that root display node
codified in any particular specification that I know of.  The <BODY> element
has long been the implied root display node for HTML documents, given its
BACKGROUND, BGCOLOR, SCROLL and text-color attributes.

Given the model we have for the HTML BODY element, I don't think it's
resolvable to make HTML be the default root display node, without some very
ugly fixups to handle things like SCROLL.

-Chris Wilson

-----Original Message-----
From: Ian Hickson [mailto:py8ieh@bath.ac.uk]
Sent: Wednesday, September 08, 1999 8:10 AM
To: gordon
Cc: www-style@w3.org
Subject: Re: Minor error in CSS2, section 14.2; 'background'

On Tue, 7 Sep 1999, gordon wrote:

> I don't want to cause trouble, but when I look at
> html40/struct/global.html#h-7.3 nothing there indicates that style is
> an attribute of the html element.  I've always been under the
> impression that the body element is the "root [display] node" of an
> html document.

No, the root element of an HTML document is the HTML element. The fact
that that element doesn't take the style attribute is not important to CSS
-- most XML implementations will probably not have a 'style' attribute on
most elements.

Ian Hickson
: Is your JavaScript ready for Nav5 and IE5?
: Get the latest JavaScript client sniffer at 
: http://developer.netscape.com/docs/examples/javascript/browser_type.html
Received on Wednesday, 8 September 1999 18:04:20 UTC

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