[csswg-drafts] [cssom-view] HTMLElement offsetParent quirk?

andrewplummer has just created a new issue for https://github.com/w3c/csswg-drafts:

== [cssom-view] HTMLElement offsetParent quirk? ==
Apologies if this is not the right place to post this.
Although I'm sure this spec is ancient, is it not incorrect to report `<body>` as an offsetParent when the body is statically positioned, as it is by default?

This can easily be seen as unexpected behavior by creating an absolutely positioned element with `bottom` in a long document. The element is clearly positioned relative to `documentElement`, not `body.

https://drafts.csswg.org/cssom-view/#dom-htmlelement-offsetparent



Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1812 using your GitHub account

Received on Wednesday, 13 September 2017 10:44:32 UTC