Changeset 240250 in webkit


Ignore:
Timestamp:
Jan 22, 2019 1:07:00 AM (5 years ago)
Author:
commit-queue@webkit.org
Message:

Enable CSSOMViewScrollingAPI
https://bugs.webkit.org/show_bug.cgi?id=189472

Patch by Frederic Wang <fwang@igalia.com> on 2019-01-22
Reviewed by Simon Fraser.

This patch enables the CSSOMViewScrollingAPI option by default. This feature has already been
enabled in tests since r235855. Basically, this change fixes an old compatibility issue
regarding which scrolling element correspond to the viewport in standard mode (WebKit uses
document.body while Gecko/Edge/Chromium use document.documentElement as described in the
CSSOM View specification). WebKit developers writing tests can use document.scrollingElement
for that purpose, so that they work independently of whether the option is enabled.

[1] https://lists.webkit.org/pipermail/webkit-dev/2018-January/029857.html

  • Shared/WebPreferences.yaml: Enable by default and remove "experimental" category in

accordance with the new policy. Instead, keep an internal flag only for developers.

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r240249 r240250  
     12019-01-22  Frederic Wang  <fwang@igalia.com>
     2
     3        Enable CSSOMViewScrollingAPI
     4        https://bugs.webkit.org/show_bug.cgi?id=189472
     5
     6        Reviewed by Simon Fraser.
     7
     8        This patch enables the CSSOMViewScrollingAPI option by default. This feature has already been
     9        enabled in tests since r235855. Basically, this change fixes an old compatibility issue
     10        regarding which scrolling element correspond to the viewport in standard mode (WebKit uses
     11        document.body while Gecko/Edge/Chromium use document.documentElement as described in the
     12        CSSOM View specification). WebKit developers writing tests can use document.scrollingElement
     13        for that purpose, so that they work independently of whether the option is enabled.
     14
     15        [1] https://lists.webkit.org/pipermail/webkit-dev/2018-January/029857.html
     16
     17        * Shared/WebPreferences.yaml: Enable by default and remove "experimental" category in
     18        accordance with the new policy. Instead, keep an internal flag only for developers.
     19
    1202019-01-21  Antti Koivisto  <antti@apple.com>
    221
  • trunk/Source/WebKit/Shared/WebPreferences.yaml

    r240129 r240250  
    12561256CSSOMViewScrollingAPIEnabled:
    12571257  type: bool
    1258   defaultValue: false
     1258  defaultValue: true
    12591259  humanReadableName: "CSSOM View Scrolling API"
    12601260  humanReadableDescription: "Implement standard behavior for scrollLeft, scrollTop, scrollWidth, scrollHeight, scrollTo, scrollBy and scrollingElement."
    1261   category: experimental
     1261  category: internal
    12621262
    12631263WebAnimationsEnabled:
Note: See TracChangeset for help on using the changeset viewer.