W3C home > Mailing lists > Public > www-style@w3.org > April 2008

Re: [cssom-view] Why is body's offsetParent null ?

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Wed, 23 Apr 2008 10:32:50 +0200
Message-ID: <480EF432.5000907@disruptive-innovations.com>
To: "www-style@w3.org" <www-style@w3.org>

Anne van Kesteren wrote:

> Making the HTML body element "special" helps with that. It doesn't seem 
> very bad design either considering that the HTML body element is special 
> in CSS and it's special with respect to event handling too.

It's special wrt the 'overflow' and 'background-*' properties only as
per CSS 2.1. So if the body element has an offset from the root element
of the document, how are we supposed to get it ?

Received on Wednesday, 23 April 2008 08:33:31 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:36 UTC