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] scroll properties and unscaled values#10253

Open
mrego opened this issue Apr 26, 2024 · 0 comments
Open

[cssom-view] scroll properties and unscaled values #10253

mrego opened this issue Apr 26, 2024 · 0 comments

Comments

@mrego
Copy link
Member

mrego commented Apr 26, 2024

URL: https://drafts.csswg.org/cssom-view-1/#extension-to-the-element-interface

For several properties (e.g. clientWidth) it's mentioned they use the unscaled value, but that's not mentioned for scroll properties.

Apart from that there's no interop between how that works in Chromium/WebKit vs Firefox.
If you have an element where you do element.scrollTop = 100 and then you change zoom property to 1.5, in Chromium/WebKit element.scrollTop is still 100 but in Firefox it changes (see this Firefox's bug for more details).

CC @emilio

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

No branches or pull requests

1 participant