[webkit-dev] CSSOM View behavior for scrollLeft, scrollTop, scrollWidth etc

Frédéric Wang fwang at igalia.com
Mon Sep 24 02:53:44 PDT 2018


On 10/09/2018 10:41, Frédéric Wang wrote:
> The new behavior is enabled for tests after
> https://trac.webkit.org/changeset/235806/webkit
> Essentially, this means that if you want set/get the scroll position of
> the test pages, you should now just use document.scrollingElement
> instead of document.body.
>
> I'll wait a few days before proposing to set it to
> DEFAULT_EXPERIMENTAL_FEATURES_ENABLED and allow wider testing :
> https://bugs.webkit.org/show_bug.cgi?id=189472
Given the new policy for experimental features and given that the
behavior has already been enabled for all tests for 2 weeks now, we
should either 1) remove the flag from the experimental category and
enable by default or 2) disable it for tests and enable it on a per-test
basis using headers.

I'm proposing the former in https://bugs.webkit.org/show_bug.cgi?id=189472

Note that enabling the flag is a big behavior change that might impact
users but at the same time will fix an old compatibility issue between
WebKit (non-standard behavior) VS Chromium/Gecko/Edge (CSSOMView behavior).

-- 
Frédéric Wang - frederic-wang.fr




More information about the webkit-dev mailing list