Changeset 244228 in webkit


Ignore:
Timestamp:
Apr 12, 2019 11:52:01 AM (5 years ago)
Author:
Simon Fraser
Message:

[iOS WK2] Make -webkit-overflow-scrolling be a no-op
https://bugs.webkit.org/show_bug.cgi?id=196803
rdar://problem/49078202

Reviewed by Antti Koivisto.

Source/WebKit:

Flip LegacyOverflowScrollingTouchEnabled to false.

  • Shared/WebPreferences.yaml:

LayoutTests:

Rebase some tests, if I thought that non-stacking context overflow was interesting.
For others, make overflow be stacking context by adding z-index.
Add <!-- webkit-test-runner [ internal:AsyncOverflowScrollingEnabled=true ] --> to those that
need it.

  • compositing/overflow/scrolling-content-clip-to-viewport.html:
  • compositing/rtl/rtl-scrolling-with-transformed-descendants.html:
  • fast/scrolling/ios/change-scrollability-on-content-resize-nested.html:
  • fast/scrolling/ios/overflow-scroll-inherited-expected.txt:
  • fast/scrolling/ios/overflow-scrolling-ancestor-clip-size.html:
  • fast/scrolling/ios/overflow-scrolling-ancestor-clip.html:
  • fast/scrolling/ios/reconcile-layer-position-recursive-expected.txt:
  • fast/scrolling/ios/reconcile-layer-position-recursive.html:
  • fast/scrolling/ios/scrolling-content-clip-to-viewport.html:
  • fast/scrolling/ios/subpixel-overflow-scrolling-with-ancestor.html:
  • fast/scrolling/ios/touch-scroll-pointer-events-none.html:
  • fast/scrolling/ios/touch-scroll-visibility-hidden.html:
  • platform/ios/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt:
  • platform/ios/fast/scrolling/ios/scrolling-content-clip-to-viewport-expected.txt:
  • scrollingcoordinator/scrolling-tree/coordinated-frame-gain-scrolling-ancestor.html:
  • scrollingcoordinator/scrolling-tree/coordinated-frame-in-fixed.html:
  • scrollingcoordinator/scrolling-tree/coordinated-frame-lose-scrolling-ancestor.html:
  • scrollingcoordinator/scrolling-tree/coordinated-frame.html:
  • scrollingcoordinator/scrolling-tree/resources/doc-with-sticky.html:
Location:
trunk
Files:
28 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r244227 r244228  
    44
    55        * platform/win/TestExpectations:
     6
     72019-04-12  Simon Fraser  <simon.fraser@apple.com>
     8
     9        [iOS WK2] Make -webkit-overflow-scrolling be a no-op
     10        https://bugs.webkit.org/show_bug.cgi?id=196803
     11        rdar://problem/49078202
     12
     13        Reviewed by Antti Koivisto.
     14
     15        Rebase some tests, if I thought that non-stacking context overflow was interesting.
     16        For others, make overflow be stacking context by adding z-index.
     17        Add <!-- webkit-test-runner [ internal:AsyncOverflowScrollingEnabled=true ] --> to those that
     18        need it.
     19
     20        * compositing/overflow/scrolling-content-clip-to-viewport.html:
     21        * compositing/rtl/rtl-scrolling-with-transformed-descendants.html:
     22        * fast/scrolling/ios/change-scrollability-on-content-resize-nested.html:
     23        * fast/scrolling/ios/overflow-scroll-inherited-expected.txt:
     24        * fast/scrolling/ios/overflow-scrolling-ancestor-clip-size.html:
     25        * fast/scrolling/ios/overflow-scrolling-ancestor-clip.html:
     26        * fast/scrolling/ios/reconcile-layer-position-recursive-expected.txt:
     27        * fast/scrolling/ios/reconcile-layer-position-recursive.html:
     28        * fast/scrolling/ios/scrolling-content-clip-to-viewport.html:
     29        * fast/scrolling/ios/subpixel-overflow-scrolling-with-ancestor.html:
     30        * fast/scrolling/ios/touch-scroll-pointer-events-none.html:
     31        * fast/scrolling/ios/touch-scroll-visibility-hidden.html:
     32        * platform/ios/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt:
     33        * platform/ios/fast/scrolling/ios/scrolling-content-clip-to-viewport-expected.txt:
     34        * scrollingcoordinator/scrolling-tree/coordinated-frame-gain-scrolling-ancestor.html:
     35        * scrollingcoordinator/scrolling-tree/coordinated-frame-in-fixed.html:
     36        * scrollingcoordinator/scrolling-tree/coordinated-frame-lose-scrolling-ancestor.html:
     37        * scrollingcoordinator/scrolling-tree/coordinated-frame.html:
     38        * scrollingcoordinator/scrolling-tree/resources/doc-with-sticky.html:
    639
    7402019-04-12  Wenson Hsieh  <wenson_hsieh@apple.com>
  • trunk/LayoutTests/compositing/overflow/scrolling-content-clip-to-viewport.html

    r243347 r244228  
    88    body {
    99      margin: 0;
    10       -webkit-overflow-scrolling: touch;
    1110    }
    1211
  • trunk/LayoutTests/compositing/rtl/rtl-scrolling-with-transformed-descendants-expected.txt

    r243347 r244228  
    77      (bounds 800.00 600.00)
    88      (contentsOpaque 1)
    9       (children 4
     9      (children 1
    1010        (GraphicsLayer
    1111          (position 8.00 8.00)
     
    2525                  (bounds 766.00 204.00)
    2626                  (drawsContent 1)
     27                  (children 1
     28                    (GraphicsLayer
     29                      (position 462.00 0.00)
     30                      (anchor 0.00 0.00)
     31                      (bounds 150.00 200.00)
     32                      (contentsOpaque 1)
     33                    )
     34                  )
    2735                )
    2836              )
    29             )
    30           )
    31         )
    32         (GraphicsLayer
    33           (offsetFromRenderer width=-250 height=0)
    34           (position 10.00 10.00)
    35           (bounds 400.00 204.00)
    36           (children 1
    37             (GraphicsLayer
    38               (position 250.00 0.00)
    39               (bounds 150.00 200.00)
    40               (contentsOpaque 1)
    41             )
    42           )
    43         )
    44         (GraphicsLayer
    45           (offsetFromRenderer width=-96 height=0)
    46           (position 10.00 10.00)
    47           (bounds 400.00 204.00)
    48           (children 1
    49             (GraphicsLayer
    50               (position 96.00 0.00)
    51               (anchor 0.00 0.00)
    52               (bounds 150.00 200.00)
    53               (contentsOpaque 1)
    54             )
    55           )
    56         )
    57         (GraphicsLayer
    58           (offsetFromRenderer width=58 height=0)
    59           (position 10.00 10.00)
    60           (bounds 400.00 204.00)
    61           (children 1
    62             (GraphicsLayer
    63               (position -58.00 0.00)
    64               (bounds 150.00 200.00)
    65               (contentsOpaque 1)
    6637            )
    6738          )
  • trunk/LayoutTests/compositing/rtl/rtl-scrolling-with-transformed-descendants.html

    r243347 r244228  
    44    <style type="text/css">
    55        #scroller {
     6            position: relative;
     7            z-index: 0;
    68            overflow-x: auto;
    79            width: 400px;
    810            white-space: nowrap;
    9             -webkit-overflow-scrolling: touch;
    1011            border: 2px solid black;
    1112        }
  • trunk/LayoutTests/fast/scrolling/ios/change-scrollability-on-content-resize-nested.html

    r243347 r244228  
    1515            overflow-x: hidden;
    1616            overflow-y: scroll;
    17             -webkit-overflow-scrolling: touch;
    1817            position: relative;
     18            z-index: 0;
    1919        }
    2020        #content {
  • trunk/LayoutTests/fast/scrolling/ios/overflow-scroll-inherited-expected.txt

    r200609 r244228  
    1 test1 -webkit-overflow-scrolling: touch
     1test1 -webkit-overflow-scrolling: auto
    22test2 -webkit-overflow-scrolling: auto
    3 test3 -webkit-overflow-scrolling: touch
    4 test4 -webkit-overflow-scrolling: touch
     3test3 -webkit-overflow-scrolling: auto
     4test4 -webkit-overflow-scrolling: auto
    55
  • trunk/LayoutTests/fast/scrolling/ios/overflow-scrolling-ancestor-clip-size.html

    r243347 r244228  
    2020  <style>
    2121    #scroller {
     22      position: relative;
     23      z-index: 0;
    2224      overflow: scroll;
    23       -webkit-overflow-scrolling: touch;
    2425      width: 300px;
    2526      height: 400px;
  • trunk/LayoutTests/fast/scrolling/ios/overflow-scrolling-ancestor-clip.html

    r243347 r244228  
    2020  <style>
    2121    #scroller {
     22      position: relative;
     23      z-index: 0;
    2224      overflow: scroll;
    23       -webkit-overflow-scrolling: touch;
    2425      width: 300px;
    2526      height: 400px;
  • trunk/LayoutTests/fast/scrolling/ios/reconcile-layer-position-recursive-expected.txt

    r240941 r244228  
    1818      (top left tile 0, 1 tiles grid 1 x 3)
    1919      (in window 1)
    20       (children 1
     20      (children 3
    2121        (GraphicsLayer
    2222          (position 8.00 1008.00)
     
    7171                              (intersects coverage rect 1)
    7272                              (contentsScale 2.00)
    73                               (children 2
    74                                 (GraphicsLayer
    75                                   (position 7.00 28.00)
    76                                   (approximate position 7.00 28.00)
    77                                   (bounds 110.00 110.00)
    78                                   (contentsOpaque 1)
    79                                   (drawsContent 1)
    80                                   (visible rect 0.00, 0.00 110.00 x 110.00)
    81                                   (coverage rect -7.00, -28.00 200.00 x 245.00)
    82                                   (intersects coverage rect 1)
    83                                   (contentsScale 2.00)
    84                                   (children 1
    85                                     (GraphicsLayer
    86                                       (position 55.00 55.00)
    87                                       (approximate position 55.00 55.00)
    88                                       (bounds 110.00 110.00)
    89                                       (contentsOpaque 1)
    90                                       (drawsContent 1)
    91                                       (visible rect 0.00, 0.00 110.00 x 110.00)
    92                                       (coverage rect -62.00, -83.00 200.00 x 245.00)
    93                                       (intersects coverage rect 1)
    94                                       (contentsScale 2.00)
    95                                     )
    96                                   )
    97                                 )
    98                                 (GraphicsLayer
    99                                   (position 105.00 395.00)
    100                                   (approximate position 105.00 395.00)
    101                                   (bounds 110.00 110.00)
    102                                   (contentsOpaque 1)
    103                                   (drawsContent 1)
    104                                   (visible rect 0.00, 0.00 0.00 x 0.00)
    105                                   (coverage rect -105.00, -395.00 200.00 x 245.00)
    106                                   (intersects coverage rect 1)
    107                                   (contentsScale 2.00)
    108                                   (children 1
    109                                     (GraphicsLayer
    110                                       (position 55.00 55.00)
    111                                       (approximate position 55.00 55.00)
    112                                       (bounds 110.00 110.00)
    113                                       (contentsOpaque 1)
    114                                       (drawsContent 1)
    115                                       (visible rect 0.00, 0.00 0.00 x 0.00)
    116                                       (coverage rect -160.00, -450.00 200.00 x 245.00)
    117                                       (intersects coverage rect 1)
    118                                       (contentsScale 2.00)
    119                                     )
    120                                   )
    121                                 )
    122                               )
    12373                            )
    12474                          )
     
    13282          )
    13383        )
     84        (GraphicsLayer
     85          (position 70.00 1091.00)
     86          (approximate position 70.00 1091.00)
     87          (bounds 110.00 110.00)
     88          (contentsOpaque 1)
     89          (drawsContent 1)
     90          (visible rect 0.00, 0.00 110.00 x 110.00)
     91          (coverage rect -70.00, -326.00 1056.00 x 856.00)
     92          (intersects coverage rect 1)
     93          (contentsScale 2.00)
     94          (children 1
     95            (GraphicsLayer
     96              (position 55.00 55.00)
     97              (approximate position 55.00 55.00)
     98              (bounds 110.00 110.00)
     99              (contentsOpaque 1)
     100              (drawsContent 1)
     101              (visible rect 0.00, 0.00 110.00 x 110.00)
     102              (coverage rect -125.00, -381.00 1056.00 x 856.00)
     103              (intersects coverage rect 1)
     104              (contentsScale 2.00)
     105            )
     106          )
     107        )
     108        (GraphicsLayer
     109          (offsetFromRenderer width=-105 height=-105)
     110          (position 63.00 1063.00)
     111          (bounds 200.00 245.00)
     112          (visible rect 0.00, 0.00 200.00 x 245.00)
     113          (coverage rect 0.00, 0.00 200.00 x 245.00)
     114          (intersects coverage rect 1)
     115          (contentsScale 2.00)
     116          (children 1
     117            (GraphicsLayer
     118              (position 105.00 395.00)
     119              (approximate position 105.00 395.00)
     120              (bounds 110.00 110.00)
     121              (contentsOpaque 1)
     122              (drawsContent 1)
     123              (visible rect 0.00, 0.00 0.00 x 0.00)
     124              (coverage rect -105.00, -395.00 200.00 x 245.00)
     125              (intersects coverage rect 1)
     126              (contentsScale 2.00)
     127              (children 1
     128                (GraphicsLayer
     129                  (position 55.00 55.00)
     130                  (approximate position 55.00 55.00)
     131                  (bounds 110.00 110.00)
     132                  (contentsOpaque 1)
     133                  (drawsContent 1)
     134                  (visible rect 0.00, 0.00 0.00 x 0.00)
     135                  (coverage rect -160.00, -450.00 200.00 x 245.00)
     136                  (intersects coverage rect 1)
     137                  (contentsScale 2.00)
     138                )
     139              )
     140            )
     141          )
     142        )
    134143      )
    135144    )
  • trunk/LayoutTests/fast/scrolling/ios/reconcile-layer-position-recursive.html

    r243347 r244228  
    1212         background: linear-gradient(135deg, cyan, green);
    1313         overflow: auto;
    14          -webkit-overflow-scrolling: touch;
    1514      }
    1615      .fixed {
  • trunk/LayoutTests/fast/scrolling/ios/scrolling-content-clip-to-viewport.html

    r243347 r244228  
    77    body {
    88      margin: 0;
    9       -webkit-overflow-scrolling: touch;
    109    }
    1110
  • trunk/LayoutTests/fast/scrolling/ios/subpixel-overflow-scrolling-with-ancestor.html

    r243347 r244228  
    2020  <style>
    2121    #scroller {
     22      position: relative;
     23      z-index: 0;
    2224      overflow: scroll;
    23       -webkit-overflow-scrolling: touch;
    2425      width: 300px;
    2526      height: 400px;
  • trunk/LayoutTests/fast/scrolling/ios/touch-scroll-pointer-events-none.html

    r243347 r244228  
    2626        .container {
    2727            position: absolute;
     28            z-index: 0;
    2829            top: 50px;
    2930            left: 50px;
     
    3132            width: 300px;
    3233            overflow: scroll;
    33             -webkit-overflow-scrolling: touch;
    3434            border: 1px solid black;
    3535            pointer-events: none;
  • trunk/LayoutTests/fast/scrolling/ios/touch-scroll-visibility-hidden.html

    r216145 r244228  
    1 <!DOCTYPE html>
    2 
     1<!DOCTYPE html> <!-- webkit-test-runner [ internal:AsyncOverflowScrollingEnabled=true ] -->
    32<html>
    43<head>
     
    2726        .container {
    2827            position: absolute;
     28            z-index: 0;
    2929            top: 50px;
    3030            left: 50px;
     
    3232            width: 300px;
    3333            overflow: scroll;
    34             -webkit-overflow-scrolling: touch;
    3534            border: 1px solid black;
    3635            visibility: hidden;
  • trunk/LayoutTests/platform/ios/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt

    r240713 r244228  
    66      (bounds 800.00 600.00)
    77      (contentsOpaque 1)
    8       (children 1
     8      (children 2
    99        (GraphicsLayer
    1010          (bounds 320.00 340.00)
     
    1616                  (anchor 0.00 0.00)
    1717                  (bounds 320.00 1224.00)
    18                   (drawsContent 1)
    1918                )
    2019              )
     20            )
     21          )
     22        )
     23        (GraphicsLayer
     24          (offsetFromRenderer width=-10 height=-10)
     25          (bounds 320.00 340.00)
     26          (children 1
     27            (GraphicsLayer
     28              (position 10.00 10.00)
     29              (bounds 284.00 1204.00)
     30              (contentsOpaque 1)
     31              (drawsContent 1)
    2132            )
    2233          )
  • trunk/LayoutTests/platform/ios/fast/scrolling/ios/scrolling-content-clip-to-viewport-expected.txt

    r240713 r244228  
    66      (bounds 320.00 548.00)
    77      (contentsOpaque 1)
    8       (children 1
     8      (children 2
    99        (GraphicsLayer
    1010          (bounds 320.00 340.00)
     
    1616                  (anchor 0.00 0.00)
    1717                  (bounds 320.00 1224.00)
    18                   (drawsContent 1)
    1918                )
    2019              )
     20            )
     21          )
     22        )
     23        (GraphicsLayer
     24          (offsetFromRenderer width=-10 height=-10)
     25          (bounds 320.00 340.00)
     26          (children 1
     27            (GraphicsLayer
     28              (position 10.00 10.00)
     29              (bounds 284.00 1204.00)
     30              (contentsOpaque 1)
     31              (drawsContent 1)
    2132            )
    2233          )
  • trunk/LayoutTests/platform/mac-wk1/compositing/rtl/rtl-scrolling-with-transformed-descendants-expected.txt

    r243361 r244228  
    99      (children 1
    1010        (GraphicsLayer
    11           (offsetFromRenderer width=-96 height=0)
    12           (position 10.00 10.00)
    13           (bounds 400.00 204.00)
     11          (position 8.00 8.00)
     12          (bounds 404.00 223.00)
    1413          (children 1
    1514            (GraphicsLayer
    16               (position 96.00 0.00)
    17               (anchor 0.00 0.00)
    18               (bounds 150.00 200.00)
    19               (contentsOpaque 1)
     15              (offsetFromRenderer width=2 height=2)
     16              (position 2.00 2.00)
     17              (bounds 400.00 204.00)
     18              (children 1
     19                (GraphicsLayer
     20                  (position 96.00 0.00)
     21                  (anchor 0.00 0.00)
     22                  (bounds 150.00 200.00)
     23                  (contentsOpaque 1)
     24                )
     25              )
    2026            )
    2127          )
  • trunk/LayoutTests/scrollingcoordinator/scrolling-tree/coordinated-frame-expected.txt

    r241934 r244228  
    1313  (min layout viewport origin (0,0))
    1414  (max layout viewport origin (0,416))
    15   (synchronous event dispatch region for event wheel
    16     at (45,47) size 404x304)
    1715  (behavior for fixed 0)
    1816  (children 1
     
    3432          (max layout viewport origin (0,120))
    3533          (behavior for fixed 0)
    36           (children 1
     34          (children 2
     35            (Overflow scrolling node
     36              (scrollable area size 385 285)
     37              (contents size 385 1760)
     38              (parent relative scrollable rect at (10,10) size 385x285)
     39              (scrollable area parameters
     40                (horizontal scroll elasticity 0)
     41                (vertical scroll elasticity 0)
     42                (horizontal scrollbar mode 0)
     43                (vertical scrollbar mode 0)
     44                (has enabled vertical scrollbar 1))
     45              (children 1
     46                (Sticky node
     47                  (anchor edges: AnchorEdgeTop AnchorEdgeBottom)
     48                  (top offset 10.00)
     49                  (bottom offset 10.00)
     50                  (containing block rect at (2,2) size 385x1760)
     51                  (sticky box rect at (0,830) size 100x100)
     52                  (constraining rect at (0,0) size 385x285)
     53                  (sticky offset at last layout width=0 height=-655)
     54                  (layer position at last layout (0,175))
     55                )
     56              )
     57            )
    3758            (Sticky node
    3859              (anchor edges: AnchorEdgeTop AnchorEdgeBottom)
  • trunk/LayoutTests/scrollingcoordinator/scrolling-tree/coordinated-frame-gain-scrolling-ancestor-expected.txt

    r241934 r244228  
    1313  (min layout viewport origin (0,0))
    1414  (max layout viewport origin (0,416))
    15   (synchronous event dispatch region for event wheel
    16     at (45,47) size 404x304)
    1715  (behavior for fixed 0)
    1816  (children 1
     
    3836              (max layout viewport origin (0,120))
    3937              (behavior for fixed 0)
    40               (children 1
     38              (children 2
     39                (Overflow scrolling node
     40                  (scrollable area size 385 285)
     41                  (contents size 385 1760)
     42                  (parent relative scrollable rect at (10,10) size 385x285)
     43                  (scrollable area parameters
     44                    (horizontal scroll elasticity 0)
     45                    (vertical scroll elasticity 0)
     46                    (horizontal scrollbar mode 0)
     47                    (vertical scrollbar mode 0)
     48                    (has enabled vertical scrollbar 1))
     49                  (children 1
     50                    (Sticky node
     51                      (anchor edges: AnchorEdgeTop AnchorEdgeBottom)
     52                      (top offset 10.00)
     53                      (bottom offset 10.00)
     54                      (containing block rect at (2,2) size 385x1760)
     55                      (sticky box rect at (0,830) size 100x100)
     56                      (constraining rect at (0,0) size 385x285)
     57                      (sticky offset at last layout width=0 height=-655)
     58                      (layer position at last layout (0,175))
     59                    )
     60                  )
     61                )
    4162                (Sticky node
    4263                  (anchor edges: AnchorEdgeTop AnchorEdgeBottom)
  • trunk/LayoutTests/scrollingcoordinator/scrolling-tree/coordinated-frame-gain-scrolling-ancestor.html

    r240505 r244228  
    1 <!DOCTYPE html>
     1<!DOCTYPE html> <!-- webkit-test-runner [ internal:AsyncOverflowScrollingEnabled=true ] -->
    22<html>
    33<head>
  • trunk/LayoutTests/scrollingcoordinator/scrolling-tree/coordinated-frame-in-fixed-expected.txt

    r241934 r244228  
    1313  (min layout viewport origin (0,0))
    1414  (max layout viewport origin (0,416))
    15   (synchronous event dispatch region for event wheel
    16     at (45,37) size 404x304)
    1715  (behavior for fixed 0)
    1816  (children 1
     
    3937              (max layout viewport origin (0,120))
    4038              (behavior for fixed 0)
    41               (children 1
     39              (children 2
     40                (Overflow scrolling node
     41                  (scrollable area size 385 285)
     42                  (contents size 385 1760)
     43                  (parent relative scrollable rect at (10,10) size 385x285)
     44                  (scrollable area parameters
     45                    (horizontal scroll elasticity 0)
     46                    (vertical scroll elasticity 0)
     47                    (horizontal scrollbar mode 0)
     48                    (vertical scrollbar mode 0)
     49                    (has enabled vertical scrollbar 1))
     50                  (children 1
     51                    (Sticky node
     52                      (anchor edges: AnchorEdgeTop AnchorEdgeBottom)
     53                      (top offset 10.00)
     54                      (bottom offset 10.00)
     55                      (containing block rect at (2,2) size 385x1760)
     56                      (sticky box rect at (0,830) size 100x100)
     57                      (constraining rect at (0,0) size 385x285)
     58                      (sticky offset at last layout width=0 height=-655)
     59                      (layer position at last layout (0,175))
     60                    )
     61                  )
     62                )
    4263                (Sticky node
    4364                  (anchor edges: AnchorEdgeTop AnchorEdgeBottom)
  • trunk/LayoutTests/scrollingcoordinator/scrolling-tree/coordinated-frame-in-fixed.html

    r240505 r244228  
    1 <!DOCTYPE html>
     1<!DOCTYPE html> <!-- webkit-test-runner [ internal:AsyncOverflowScrollingEnabled=true ] -->
    22<html>
    33<head>
  • trunk/LayoutTests/scrollingcoordinator/scrolling-tree/coordinated-frame-lose-scrolling-ancestor-expected.txt

    r241934 r244228  
    1313  (min layout viewport origin (0,0))
    1414  (max layout viewport origin (0,416))
    15   (synchronous event dispatch region for event wheel
    16     at (45,47) size 404x304)
    1715  (behavior for fixed 0)
    1816  (children 1
     
    3331          (max layout viewport origin (0,120))
    3432          (behavior for fixed 0)
    35           (children 1
     33          (children 2
     34            (Overflow scrolling node
     35              (scrollable area size 385 285)
     36              (contents size 385 1760)
     37              (parent relative scrollable rect at (10,10) size 385x285)
     38              (scrollable area parameters
     39                (horizontal scroll elasticity 0)
     40                (vertical scroll elasticity 0)
     41                (horizontal scrollbar mode 0)
     42                (vertical scrollbar mode 0)
     43                (has enabled vertical scrollbar 1))
     44              (children 1
     45                (Sticky node
     46                  (anchor edges: AnchorEdgeTop AnchorEdgeBottom)
     47                  (top offset 10.00)
     48                  (bottom offset 10.00)
     49                  (containing block rect at (2,2) size 385x1760)
     50                  (sticky box rect at (0,830) size 100x100)
     51                  (constraining rect at (0,0) size 385x285)
     52                  (sticky offset at last layout width=0 height=-655)
     53                  (layer position at last layout (0,175))
     54                )
     55              )
     56            )
    3657            (Sticky node
    3758              (anchor edges: AnchorEdgeTop AnchorEdgeBottom)
  • trunk/LayoutTests/scrollingcoordinator/scrolling-tree/coordinated-frame-lose-scrolling-ancestor.html

    r240505 r244228  
    1 <!DOCTYPE html>
     1<!DOCTYPE html> <!-- webkit-test-runner [ internal:AsyncOverflowScrollingEnabled=true ] -->
    22<html>
    33<head>
  • trunk/LayoutTests/scrollingcoordinator/scrolling-tree/coordinated-frame.html

    r240505 r244228  
    1 <!DOCTYPE html>
     1<!DOCTYPE html> <!-- webkit-test-runner [ internal:AsyncOverflowScrollingEnabled=true ] -->
    22<html>
    33<head>
  • trunk/LayoutTests/scrollingcoordinator/scrolling-tree/resources/doc-with-sticky.html

    r243347 r244228  
    1010       
    1111        .scrolling {
     12            position: relative;
     13            z-index: 0;
    1214            height: 300px;
    1315            width: 400px;
    1416            overflow: scroll;
    15             -webkit-overflow-scrolling: touch;
    1617            border: 2px solid black;
    1718        }
  • trunk/Source/WebKit/ChangeLog

    r244225 r244228  
    5959        * UIProcess/API/APIWebsitePolicies.cpp:
    6060        (API::WebsitePolicies::copy const):
     61
     622019-04-12  Simon Fraser  <simon.fraser@apple.com>
     63
     64        [iOS WK2] Make -webkit-overflow-scrolling be a no-op
     65        https://bugs.webkit.org/show_bug.cgi?id=196803
     66        rdar://problem/49078202
     67
     68        Reviewed by Antti Koivisto.
     69
     70        Flip LegacyOverflowScrollingTouchEnabled to false.
     71
     72        * Shared/WebPreferences.yaml:
    6173
    62742019-04-12  Wenson Hsieh  <wenson_hsieh@apple.com>
  • trunk/Source/WebKit/Shared/WebPreferences.yaml

    r244203 r244228  
    14541454LegacyOverflowScrollingTouchEnabled:
    14551455  type: bool
    1456   defaultValue: true
     1456  defaultValue: false
    14571457  humanReadableName: "Legacy -webkit-overflow-scrolling property"
    14581458  humanReadableDescription: "Support the legacy -webkit-overflow-scrolling CSS property"
Note: See TracChangeset for help on using the changeset viewer.