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

Re: % height on <html> (was Re: Table height/width properties)

From: Tantek Celik <tantek@cs.stanford.edu>
Date: Tue, 03 Jul 2001 10:23:34 -0700
To: Bjoern Hoehrmann <derhoermi@gmx.net>
CC: "L. David Baron" <dbaron@fas.harvard.edu>, Glen Harman <gharman@erols.com>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <1217941533-213391500@psdbay.com>
From: Bjoern Hoehrmann <derhoermi@gmx.net>
Subject: Re: % height on <html> (was Re: Table height/width properties)
Date: Tue, Jul 3, 2001, 9:12 AM

> * Tantek Celik wrote:
>>And here we have a problem.
>>
>>Section 9.1.2 of CSS2
>>
>> http://www.w3.org/TR/REC-CSS2/visuren.html#containing-block
>>
>>says: "The root of the document tree generates a box that serves as the
>             ^^^^^^^^^^^^^^^^^^^^^^^^^
>>initial containing block for subsequent layout."
>>
>>Whereas section 10.1 of CSS2
>>
>> http://www.w3.org/TR/REC-CSS2/visudet.html#containing-block-details
>>
>>says: "The containing block (called the initial containing block) in which
>>the root element lives is chosen by the user agent. "
>      ^^^^^^^^^^^^
>
>>CSS2 disagrees with itself.
>
> No, the document root is always the parent of the document ("root")
> element, don't mix them up.

The document tree consists of elements, therefore the root of the document
tree is the root element.

CSS does not discuss anything else structural outside of the document's tree
of elements.  CSS does discuss the viewport, but that is a presentational
abstraction - not a structural one.

Tantek
Received on Tuesday, 3 July 2001 13:23:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:10 GMT