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
What specific section or headline is this issue about?
HTMLElement: offsetParent property
What information was incorrect, unhelpful, or incomplete?
The listing is incomplete. A static parent with transform property also becomes offsetParent of another non-static child. For example: https://jsfiddle.net/f4nw0s5a/
What did you expect to see?
Mention transform changing offsetParent value.
Do you have any supporting links, references, or citations?
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetParent
What specific section or headline is this issue about?
HTMLElement: offsetParent property
What information was incorrect, unhelpful, or incomplete?
The listing is incomplete. A
static
parent withtransform
property also becomesoffsetParent
of another non-static child. For example: https://jsfiddle.net/f4nw0s5a/What did you expect to see?
Mention
transform
changingoffsetParent
value.Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
More details in the comment of this question: https://stackoverflow.com/questions/77063213/why-is-my-elements-offsetparent-its-parent-static-element-instead-of-its-fixed
MDN metadata
Page report details
en-us/web/api/htmlelement/offsetparent
The text was updated successfully, but these errors were encountered: