You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
@Loirooriol Sorry, you appear to be correct, it's actually positioned relative to the viewport. In any case it doesn't seem to make sense to report body.
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 todocumentElement
, not `body.https://drafts.csswg.org/cssom-view/#dom-htmlelement-offsetparent
The text was updated successfully, but these errors were encountered: