[csswg-drafts] [cssom-view] scroll properties and unscaled values (#10253)

mrego has just created a new issue for https://github.com/w3c/csswg-drafts:

== [cssom-view] scroll properties and unscaled values ==
URL: https://drafts.csswg.org/cssom-view-1/#extension-to-the-element-interface

For several properties (e.g. [`clientWidth`](https://drafts.csswg.org/cssom-view-1/#dom-element-clientwidth)) it's mentioned they use the [*unscaled*](https://drafts.csswg.org/css-viewport-1/#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](https://bugzilla.mozilla.org/show_bug.cgi?id=1891910)).

CC @emilio 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10253 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 26 April 2024 12:03:16 UTC