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

[cssom-view] offsetParent zoom handling seems wrong.#10252

Closed
emilio opened this issue Apr 26, 2024 · 1 comment · Fixed by #10261
Closed

[cssom-view] offsetParent zoom handling seems wrong. #10252

emilio opened this issue Apr 26, 2024 · 1 comment · Fixed by #10261
Labels

Comments

@emilio
Copy link
Collaborator

emilio commented Apr 26, 2024

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

The element has a non-default used value of zoom.

But afaict that's not what's implemented in engines. What's implemented is "The element has a different used value of "zoom".

Is my read of the WebKit / Blink code correct @chrishtr? If so we should update the spec. We have tests that depend on that difference.

@emilio emilio added the Agenda+ label Apr 26, 2024
@chrishtr
Copy link
Contributor

Is my read of the WebKit / Blink code correct @chrishtr?

Yep you're right. Good catch. I'll make a PR to fix the spec.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants