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

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 ?

</Daniel>

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