Changeset 240536 in webkit


Ignore:
Timestamp:
Jan 25, 2019 5:40:24 PM (5 years ago)
Author:
Simon Fraser
Message:

Fix failing scrollingcoordinator/scrolling-tree/remove-scrolling-role.html

Test needed different macOS and iOS results. Added window.internals.settings.setAsyncOverflowScrollingEnabled(true)
so the test uses async overflow scrolling in the macOS result.

  • platform/ios-wk2/scrollingcoordinator/scrolling-tree/remove-scrolling-role-expected.txt: Copied from LayoutTests/scrollingcoordinator/scrolling-tree/remove-scrolling-role-expected.txt.
  • scrollingcoordinator/scrolling-tree/remove-scrolling-role-expected.txt:
  • scrollingcoordinator/scrolling-tree/remove-scrolling-role.html:
Location:
trunk/LayoutTests
Files:
3 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r240535 r240536  
     12019-01-25  Simon Fraser  <simon.fraser@apple.com>
     2
     3        Fix failing scrollingcoordinator/scrolling-tree/remove-scrolling-role.html
     4
     5        Test needed different macOS and iOS results. Added window.internals.settings.setAsyncOverflowScrollingEnabled(true)
     6        so the test uses async overflow scrolling in the macOS result.
     7
     8        * platform/ios-wk2/scrollingcoordinator/scrolling-tree/remove-scrolling-role-expected.txt: Copied from LayoutTests/scrollingcoordinator/scrolling-tree/remove-scrolling-role-expected.txt.
     9        * scrollingcoordinator/scrolling-tree/remove-scrolling-role-expected.txt:
     10        * scrollingcoordinator/scrolling-tree/remove-scrolling-role.html:
     11
    1122019-01-25  Simon Fraser  <simon.fraser@apple.com>
    213
  • trunk/LayoutTests/scrollingcoordinator/scrolling-tree/remove-scrolling-role-expected.txt

    r240505 r240536  
    11
    22(Frame scrolling node
    3   (scrollable area size 800 600)
    4   (contents size 800 2513)
     3  (scrollable area size 785 600)
     4  (contents size 785 2513)
    55  (scrollable area parameters
    6     (horizontal scroll elasticity 1)
    7     (vertical scroll elasticity 1)
     6    (horizontal scroll elasticity 2)
     7    (vertical scroll elasticity 2)
    88    (horizontal scrollbar mode 0)
    9     (vertical scrollbar mode 0))
     9    (vertical scrollbar mode 0)
     10    (has enabled vertical scrollbar 1))
    1011  (visual viewport enabled 1)
    11   (layout viewport at (0,0) size 800x600)
     12  (layout viewport at (0,0) size 785x600)
    1213  (min layout viewport origin (0,0))
    1314  (max layout viewport origin (0,1913))
     
    1516  (children 1
    1617    (Overflow scrolling node
    17       (scrollable area size 300 400)
    18       (contents size 300 2000)
     18      (scrollable area size 285 400)
     19      (contents size 285 2000)
    1920      (scrollable area parameters
    2021        (horizontal scroll elasticity 1)
  • trunk/LayoutTests/scrollingcoordinator/scrolling-tree/remove-scrolling-role.html

    r240505 r240536  
    3737        }
    3838
     39        if (window.internals)
     40            window.internals.settings.setAsyncOverflowScrollingEnabled(true);
     41
    3942        function doTest()
    4043        {
Note: See TracChangeset for help on using the changeset viewer.