Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

offsetParent is also changed by transform #28991

Closed
datvm opened this issue Sep 8, 2023 · 0 comments · Fixed by #34507
Closed

offsetParent is also changed by transform #28991

datvm opened this issue Sep 8, 2023 · 0 comments · Fixed by #34507

Comments

@datvm
Copy link

datvm commented Sep 8, 2023

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 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?

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
@datvm datvm added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Sep 8, 2023
@github-actions github-actions bot added the Content:WebAPI Web API docs label Sep 8, 2023
@Josh-Cena Josh-Cena added area: DOM/CSSOM and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants