Diff
Modified: trunk/LayoutTests/ChangeLog (240504 => 240505)
--- trunk/LayoutTests/ChangeLog 2019-01-25 21:56:05 UTC (rev 240504)
+++ trunk/LayoutTests/ChangeLog 2019-01-25 21:56:20 UTC (rev 240505)
@@ -1,5 +1,40 @@
2019-01-25 Simon Fraser <simon.fra...@apple.com>
+ Move more scrolling tree tests into scrollingcoordinator/scrolling-tree
+ https://bugs.webkit.org/show_bug.cgi?id=193845
+
+ Reviewed by Tim Horton.
+
+ Gather more tests of the scrolling tree into scrollingcoordinator/scrolling-tree.
+
+ * platform/gtk/TestExpectations:
+ * platform/ios-wk1/fast/scrolling/scrolling-tree-includes-frame-expected.txt: Removed.
+ * platform/ios-wk2/scrollingcoordinator/scrolling-tree/coordinated-frame-expected.txt: Added.
+ * platform/ios-wk2/scrollingcoordinator/scrolling-tree/coordinated-frame-gain-scrolling-ancestor-expected.txt: Copied from LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-gain-scrolling-ancestor-expected.txt.
+ * platform/ios-wk2/scrollingcoordinator/scrolling-tree/coordinated-frame-in-fixed-expected.txt: Added.
+ * platform/ios-wk2/scrollingcoordinator/scrolling-tree/coordinated-frame-lose-scrolling-ancestor-expected.txt: Added.
+ * platform/ios-wk2/scrollingcoordinator/scrolling-tree/remove-coordinated-frame-expected.txt: Renamed from LayoutTests/platform/ios/fast/scrolling/scrolling-tree-includes-frame-expected.txt.
+ * platform/ios-wk2/scrollingcoordinator/scrolling-tree/scrolling-tree-includes-frame-expected.txt: Renamed from LayoutTests/platform/ios-wk2/fast/scrolling/scrolling-tree-includes-frame-expected.txt.
+ * platform/mac-wk1/fast/scrolling/scrolling-tree-includes-frame-expected.txt: Removed.
+ * platform/win/TestExpectations:
+ * scrollingcoordinator/scrolling-tree/coordinated-frame-expected.txt: Renamed from LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-expected.txt.
+ * scrollingcoordinator/scrolling-tree/coordinated-frame-gain-scrolling-ancestor-expected.txt: Renamed from LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-gain-scrolling-ancestor-expected.txt.
+ * scrollingcoordinator/scrolling-tree/coordinated-frame-gain-scrolling-ancestor.html: Renamed from LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-gain-scrolling-ancestor.html.
+ * scrollingcoordinator/scrolling-tree/coordinated-frame-in-fixed-expected.txt: Renamed from LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-in-fixed-expected.txt.
+ * scrollingcoordinator/scrolling-tree/coordinated-frame-in-fixed.html: Renamed from LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-in-fixed.html.
+ * scrollingcoordinator/scrolling-tree/coordinated-frame-lose-scrolling-ancestor-expected.txt: Renamed from LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-lose-scrolling-ancestor-expected.txt.
+ * scrollingcoordinator/scrolling-tree/coordinated-frame-lose-scrolling-ancestor.html: Renamed from LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-lose-scrolling-ancestor.html.
+ * scrollingcoordinator/scrolling-tree/coordinated-frame.html: Renamed from LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame.html.
+ * scrollingcoordinator/scrolling-tree/remove-coordinated-frame-expected.txt: Renamed from LayoutTests/tiled-drawing/scrolling/frames/remove-coordinated-frame-expected.txt.
+ * scrollingcoordinator/scrolling-tree/remove-coordinated-frame.html: Renamed from LayoutTests/tiled-drawing/scrolling/frames/remove-coordinated-frame.html.
+ * scrollingcoordinator/scrolling-tree/remove-scrolling-role-expected.txt: Renamed from LayoutTests/fast/scrolling/ios/remove-scrolling-role-expected.txt.
+ * scrollingcoordinator/scrolling-tree/remove-scrolling-role.html: Renamed from LayoutTests/fast/scrolling/ios/remove-scrolling-role.html.
+ * scrollingcoordinator/scrolling-tree/resources/doc-with-sticky.html: Renamed from LayoutTests/tiled-drawing/scrolling/frames/resources/doc-with-sticky.html.
+ * scrollingcoordinator/scrolling-tree/scrolling-tree-includes-frame-expected.txt: Renamed from LayoutTests/fast/scrolling/scrolling-tree-includes-frame-expected.txt.
+ * scrollingcoordinator/scrolling-tree/scrolling-tree-includes-frame.html: Renamed from LayoutTests/fast/scrolling/scrolling-tree-includes-frame.html.
+
+2019-01-25 Simon Fraser <simon.fra...@apple.com>
+
Move tests for scrolling tree mutations into their own directory
https://bugs.webkit.org/show_bug.cgi?id=193836
Deleted: trunk/LayoutTests/fast/scrolling/ios/remove-scrolling-role-expected.txt (240504 => 240505)
--- trunk/LayoutTests/fast/scrolling/ios/remove-scrolling-role-expected.txt 2019-01-25 21:56:05 UTC (rev 240504)
+++ trunk/LayoutTests/fast/scrolling/ios/remove-scrolling-role-expected.txt 2019-01-25 21:56:20 UTC (rev 240505)
@@ -1,27 +0,0 @@
-
-(Frame scrolling node
- (scrollable area size 800 600)
- (contents size 800 2513)
- (scrollable area parameters
- (horizontal scroll elasticity 1)
- (vertical scroll elasticity 1)
- (horizontal scrollbar mode 0)
- (vertical scrollbar mode 0))
- (visual viewport enabled 1)
- (layout viewport at (0,0) size 800x600)
- (min layout viewport origin (0,0))
- (max layout viewport origin (0,1913))
- (behavior for fixed 0)
- (children 1
- (Overflow scrolling node
- (scrollable area size 300 400)
- (contents size 300 2000)
- (scrollable area parameters
- (horizontal scroll elasticity 1)
- (vertical scroll elasticity 1)
- (horizontal scrollbar mode 0)
- (vertical scrollbar mode 0))
- )
- )
-)
-
Deleted: trunk/LayoutTests/fast/scrolling/ios/remove-scrolling-role.html (240504 => 240505)
--- trunk/LayoutTests/fast/scrolling/ios/remove-scrolling-role.html 2019-01-25 21:56:05 UTC (rev 240504)
+++ trunk/LayoutTests/fast/scrolling/ios/remove-scrolling-role.html 2019-01-25 21:56:20 UTC (rev 240505)
@@ -1,63 +0,0 @@
-<!DOCTYPE html>
-<html>
-
-<head>
- <style>
- body {
- margin: 0;
- height: 2500px;
- }
-
- #fixed {
- position: fixed;
- left: 10px;
- top: 10px;
- -webkit-overflow-scrolling: touch;
- height: 400px;
- width: 300px;
- overflow: auto;
- border: 4px solid black;
- }
-
- #fixed.changed {
- position: absolute;
- border: 4px solid green;
- }
-
- .content {
- height: 2000px;
- background-color: silver;
- }
-
- </style>
- <script>
- if (window.testRunner) {
- testRunner.waitUntilDone();
- testRunner.dumpAsText();
- }
-
- function doTest()
- {
- window.setTimeout(function() {
- document.getElementById('fixed').classList.add('changed');
-
- if (window.internals)
- document.getElementById('results').innerText = internals.scrollingStateTreeAsText();
-
- if (window.testRunner)
- testRunner.notifyDone();
-
- }, 0);
- }
-
- window.addEventListener('load', doTest, false);
- </script>
-</head>
-<body>
- <pre id="results"></pre>
- <div id="fixed">
- <div class="content">
- </div>
- </div>
-</body>
-</html>
Deleted: trunk/LayoutTests/fast/scrolling/scrolling-tree-includes-frame-expected.txt (240504 => 240505)
--- trunk/LayoutTests/fast/scrolling/scrolling-tree-includes-frame-expected.txt 2019-01-25 21:56:05 UTC (rev 240504)
+++ trunk/LayoutTests/fast/scrolling/scrolling-tree-includes-frame-expected.txt 2019-01-25 21:56:20 UTC (rev 240505)
@@ -1,36 +0,0 @@
-
-
-(Frame scrolling node
- (scrollable area size 800 600)
- (contents size 800 600)
- (scrollable area parameters
- (horizontal scroll elasticity 2)
- (vertical scroll elasticity 2)
- (horizontal scrollbar mode 0)
- (vertical scrollbar mode 0))
- (visual viewport enabled 1)
- (layout viewport at (0,0) size 800x600)
- (min layout viewport origin (0,0))
- (max layout viewport origin (0,0))
- (behavior for fixed 0)
- (children 1
- (Frame scrolling node
- (scrollable area size 85 185)
- (contents size 308 416)
- (scrollable area parameters
- (horizontal scroll elasticity 0)
- (vertical scroll elasticity 0)
- (horizontal scrollbar mode 0)
- (vertical scrollbar mode 0)
- (has enabled horizontal scrollbar 1)
- (has enabled vertical scrollbar 1))
- (visual viewport enabled 1)
- (layout viewport at (0,0) size 85x185)
- (min layout viewport origin (0,0))
- (max layout viewport origin (223,231))
- (behavior for fixed 0)
- )
- )
-)
-
-
Deleted: trunk/LayoutTests/fast/scrolling/scrolling-tree-includes-frame.html (240504 => 240505)
--- trunk/LayoutTests/fast/scrolling/scrolling-tree-includes-frame.html 2019-01-25 21:56:05 UTC (rev 240504)
+++ trunk/LayoutTests/fast/scrolling/scrolling-tree-includes-frame.html 2019-01-25 21:56:20 UTC (rev 240505)
@@ -1,39 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <title>Check whether scrollable iframes are included in the scrolling tree when async frame scrolling is enabled</title>
- <script>
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
- if (window.internals)
- window.internals.settings.setAsyncFrameScrollingEnabled(true);
- function doTest()
- {
- if (window.internals)
- document.getElementById('scrollingTree').innerText = window.internals.scrollingStateTreeAsText() + "\n";
- if (window.testRunner)
- testRunner.notifyDone();
- }
- </script>
- <style>
- iframe {
- position: absolute;
- left: 0;
- top: 0;
- width: 100px;
- height: 200px;
- margin: 0;
- border: 0;
- padding: 0;
- }
- </style>
- </head>
- <body>
- <iframe _onload_="doTest()" srcdoc="
- <div style='width: 300px; height: 400px; background: gray;'></div>">
- </iframe>
- <pre id="scrollingTree"></pre>
- </body>
-</html>
Modified: trunk/LayoutTests/platform/gtk/TestExpectations (240504 => 240505)
--- trunk/LayoutTests/platform/gtk/TestExpectations 2019-01-25 21:56:05 UTC (rev 240504)
+++ trunk/LayoutTests/platform/gtk/TestExpectations 2019-01-25 21:56:20 UTC (rev 240505)
@@ -1102,9 +1102,6 @@
# We don't support APPLE_PAY.
http/tests/ssl/applepay [ Skip ]
-# GTK port doesn't use the scrolling tree
-fast/scrolling/scrolling-tree-includes-frame.html [ Skip ]
-
# This test assumes that color on sliders is not reversed for RTL, so failing is good.
fast/forms/range/input-appearance-range-rtl.html [ ImageOnlyFailure ]
Deleted: trunk/LayoutTests/platform/ios/fast/scrolling/scrolling-tree-includes-frame-expected.txt (240504 => 240505)
--- trunk/LayoutTests/platform/ios/fast/scrolling/scrolling-tree-includes-frame-expected.txt 2019-01-25 21:56:05 UTC (rev 240504)
+++ trunk/LayoutTests/platform/ios/fast/scrolling/scrolling-tree-includes-frame-expected.txt 2019-01-25 21:56:20 UTC (rev 240505)
@@ -1,20 +0,0 @@
-
-
-(Frame scrolling node
- (scrollable area size 800 600)
- (contents size 800 600)
- (scrollable area parameters
- (horizontal scroll elasticity 1)
- (vertical scroll elasticity 1)
- (horizontal scrollbar mode 0)
- (vertical scrollbar mode 0))
- (visual viewport enabled 1)
- (layout viewport at (0,0) size 800x600)
- (min layout viewport origin (0,0))
- (max layout viewport origin (0,0))
- (synchronous event dispatch region for event wheel
- at (9,9) size 100x200)
- (behavior for fixed 0)
-)
-
-
Deleted: trunk/LayoutTests/platform/ios-wk1/fast/scrolling/scrolling-tree-includes-frame-expected.txt (240504 => 240505)
--- trunk/LayoutTests/platform/ios-wk1/fast/scrolling/scrolling-tree-includes-frame-expected.txt 2019-01-25 21:56:05 UTC (rev 240504)
+++ trunk/LayoutTests/platform/ios-wk1/fast/scrolling/scrolling-tree-includes-frame-expected.txt 2019-01-25 21:56:20 UTC (rev 240505)
@@ -1,3 +0,0 @@
-
-
-
Deleted: trunk/LayoutTests/platform/ios-wk2/fast/scrolling/scrolling-tree-includes-frame-expected.txt (240504 => 240505)
--- trunk/LayoutTests/platform/ios-wk2/fast/scrolling/scrolling-tree-includes-frame-expected.txt 2019-01-25 21:56:05 UTC (rev 240504)
+++ trunk/LayoutTests/platform/ios-wk2/fast/scrolling/scrolling-tree-includes-frame-expected.txt 2019-01-25 21:56:20 UTC (rev 240505)
@@ -1,34 +0,0 @@
-
-
-(Frame scrolling node
- (scrollable area size 800 600)
- (contents size 800 600)
- (scrollable area parameters
- (horizontal scroll elasticity 1)
- (vertical scroll elasticity 1)
- (horizontal scrollbar mode 0)
- (vertical scrollbar mode 0))
- (visual viewport enabled 1)
- (layout viewport at (0,0) size 800x600)
- (min layout viewport origin (0,0))
- (max layout viewport origin (0,0))
- (behavior for fixed 0)
- (children 1
- (Frame scrolling node
- (scrollable area size 100 200)
- (contents size 308 416)
- (scrollable area parameters
- (horizontal scroll elasticity 1)
- (vertical scroll elasticity 1)
- (horizontal scrollbar mode 0)
- (vertical scrollbar mode 0))
- (visual viewport enabled 1)
- (layout viewport at (0,0) size 100x200)
- (min layout viewport origin (0,0))
- (max layout viewport origin (208,216))
- (behavior for fixed 0)
- )
- )
-)
-
-
Added: trunk/LayoutTests/platform/ios-wk2/scrollingcoordinator/scrolling-tree/coordinated-frame-expected.txt (0 => 240505)
--- trunk/LayoutTests/platform/ios-wk2/scrollingcoordinator/scrolling-tree/coordinated-frame-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/ios-wk2/scrollingcoordinator/scrolling-tree/coordinated-frame-expected.txt 2019-01-25 21:56:20 UTC (rev 240505)
@@ -0,0 +1,65 @@
+
+(Frame scrolling node
+ (scrollable area size 800 600)
+ (contents size 800 1016)
+ (scrollable area parameters
+ (horizontal scroll elasticity 1)
+ (vertical scroll elasticity 1)
+ (horizontal scrollbar mode 0)
+ (vertical scrollbar mode 0))
+ (visual viewport enabled 1)
+ (layout viewport at (0,0) size 800x600)
+ (min layout viewport origin (0,0))
+ (max layout viewport origin (0,416))
+ (behavior for fixed 0)
+ (children 1
+ (Frame scrolling node
+ (scrollable area size 500 300)
+ (contents size 500 420)
+ (scrollable area parameters
+ (horizontal scroll elasticity 1)
+ (vertical scroll elasticity 1)
+ (horizontal scrollbar mode 0)
+ (vertical scrollbar mode 0))
+ (visual viewport enabled 1)
+ (layout viewport at (0,0) size 500x300)
+ (min layout viewport origin (0,0))
+ (max layout viewport origin (0,120))
+ (behavior for fixed 0)
+ (children 2
+ (Overflow scrolling node
+ (scrollable area size 400 300)
+ (contents size 400 1760)
+ (scrollable area parameters
+ (horizontal scroll elasticity 1)
+ (vertical scroll elasticity 1)
+ (horizontal scrollbar mode 0)
+ (vertical scrollbar mode 0))
+ (children 1
+ (Sticky node
+ (anchor edges: AnchorEdgeTop AnchorEdgeBottom)
+ (top offset 10.00)
+ (bottom offset 10.00)
+ (containing block rect at (2,2) size 400x1760)
+ (sticky box rect at (0,830) size 100x100)
+ (constraining rect at (0,0) size 400x300)
+ (sticky offset at last layout width=0 height=-640)
+ (layer position at last layout (0,190))
+ )
+ )
+ )
+ (Sticky node
+ (anchor edges: AnchorEdgeTop AnchorEdgeBottom)
+ (top offset 10.00)
+ (bottom offset 10.00)
+ (containing block rect at (8,8) size 484x404)
+ (sticky box rect at (8,312) size 100x100)
+ (constraining rect at (0,0) size 500x300)
+ (sticky offset at last layout width=0 height=-122)
+ (layer position at last layout (8,190))
+ )
+ )
+ )
+ )
+)
+
Copied: trunk/LayoutTests/platform/ios-wk2/scrollingcoordinator/scrolling-tree/coordinated-frame-gain-scrolling-ancestor-expected.txt (from rev 240504, trunk/LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-gain-scrolling-ancestor-expected.txt) (0 => 240505)
--- trunk/LayoutTests/platform/ios-wk2/scrollingcoordinator/scrolling-tree/coordinated-frame-gain-scrolling-ancestor-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/ios-wk2/scrollingcoordinator/scrolling-tree/coordinated-frame-gain-scrolling-ancestor-expected.txt 2019-01-25 21:56:20 UTC (rev 240505)
@@ -0,0 +1,72 @@
+
+(Frame scrolling node
+ (scrollable area size 800 600)
+ (contents size 800 1016)
+ (scrollable area parameters
+ (horizontal scroll elasticity 1)
+ (vertical scroll elasticity 1)
+ (horizontal scrollbar mode 0)
+ (vertical scrollbar mode 0))
+ (visual viewport enabled 1)
+ (layout viewport at (0,0) size 800x600)
+ (min layout viewport origin (0,0))
+ (max layout viewport origin (0,416))
+ (behavior for fixed 0)
+ (children 1
+ (Fixed node
+ (anchor edges: AnchorEdgeLeft AnchorEdgeTop)
+ (viewport rect at last layout at (0,0) size 800x600)
+ (layer position at last layout (8,10))
+ (children 1
+ (Frame scrolling node
+ (scrollable area size 500 300)
+ (contents size 500 420)
+ (scrollable area parameters
+ (horizontal scroll elasticity 1)
+ (vertical scroll elasticity 1)
+ (horizontal scrollbar mode 1)
+ (vertical scrollbar mode 1))
+ (visual viewport enabled 1)
+ (layout viewport at (0,0) size 500x300)
+ (min layout viewport origin (0,0))
+ (max layout viewport origin (0,120))
+ (behavior for fixed 0)
+ (children 2
+ (Overflow scrolling node
+ (scrollable area size 400 300)
+ (contents size 400 1760)
+ (scrollable area parameters
+ (horizontal scroll elasticity 1)
+ (vertical scroll elasticity 1)
+ (horizontal scrollbar mode 0)
+ (vertical scrollbar mode 0))
+ (children 1
+ (Sticky node
+ (anchor edges: AnchorEdgeTop AnchorEdgeBottom)
+ (top offset 10.00)
+ (bottom offset 10.00)
+ (containing block rect at (2,2) size 400x1760)
+ (sticky box rect at (0,830) size 100x100)
+ (constraining rect at (0,0) size 400x300)
+ (sticky offset at last layout width=0 height=-640)
+ (layer position at last layout (0,190))
+ )
+ )
+ )
+ (Sticky node
+ (anchor edges: AnchorEdgeTop AnchorEdgeBottom)
+ (top offset 10.00)
+ (bottom offset 10.00)
+ (containing block rect at (8,8) size 484x404)
+ (sticky box rect at (8,312) size 100x100)
+ (constraining rect at (0,0) size 500x300)
+ (sticky offset at last layout width=0 height=-122)
+ (layer position at last layout (8,190))
+ )
+ )
+ )
+ )
+ )
+ )
+)
+
Added: trunk/LayoutTests/platform/ios-wk2/scrollingcoordinator/scrolling-tree/coordinated-frame-in-fixed-expected.txt (0 => 240505)
--- trunk/LayoutTests/platform/ios-wk2/scrollingcoordinator/scrolling-tree/coordinated-frame-in-fixed-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/ios-wk2/scrollingcoordinator/scrolling-tree/coordinated-frame-in-fixed-expected.txt 2019-01-25 21:56:20 UTC (rev 240505)
@@ -0,0 +1,72 @@
+
+(Frame scrolling node
+ (scrollable area size 800 600)
+ (contents size 800 1016)
+ (scrollable area parameters
+ (horizontal scroll elasticity 1)
+ (vertical scroll elasticity 1)
+ (horizontal scrollbar mode 0)
+ (vertical scrollbar mode 0))
+ (visual viewport enabled 1)
+ (layout viewport at (0,0) size 800x600)
+ (min layout viewport origin (0,0))
+ (max layout viewport origin (0,416))
+ (behavior for fixed 0)
+ (children 1
+ (Fixed node
+ (anchor edges: AnchorEdgeLeft AnchorEdgeTop)
+ (viewport rect at last layout at (0,0) size 800x600)
+ (layer position at last layout (8,0))
+ (children 1
+ (Frame scrolling node
+ (scrollable area size 500 300)
+ (contents size 500 420)
+ (scrollable area parameters
+ (horizontal scroll elasticity 1)
+ (vertical scroll elasticity 1)
+ (horizontal scrollbar mode 0)
+ (vertical scrollbar mode 0))
+ (visual viewport enabled 1)
+ (layout viewport at (0,0) size 500x300)
+ (min layout viewport origin (0,0))
+ (max layout viewport origin (0,120))
+ (behavior for fixed 0)
+ (children 2
+ (Overflow scrolling node
+ (scrollable area size 400 300)
+ (contents size 400 1760)
+ (scrollable area parameters
+ (horizontal scroll elasticity 1)
+ (vertical scroll elasticity 1)
+ (horizontal scrollbar mode 0)
+ (vertical scrollbar mode 0))
+ (children 1
+ (Sticky node
+ (anchor edges: AnchorEdgeTop AnchorEdgeBottom)
+ (top offset 10.00)
+ (bottom offset 10.00)
+ (containing block rect at (2,2) size 400x1760)
+ (sticky box rect at (0,830) size 100x100)
+ (constraining rect at (0,0) size 400x300)
+ (sticky offset at last layout width=0 height=-640)
+ (layer position at last layout (0,190))
+ )
+ )
+ )
+ (Sticky node
+ (anchor edges: AnchorEdgeTop AnchorEdgeBottom)
+ (top offset 10.00)
+ (bottom offset 10.00)
+ (containing block rect at (8,8) size 484x404)
+ (sticky box rect at (8,312) size 100x100)
+ (constraining rect at (0,0) size 500x300)
+ (sticky offset at last layout width=0 height=-122)
+ (layer position at last layout (8,190))
+ )
+ )
+ )
+ )
+ )
+ )
+)
+
Added: trunk/LayoutTests/platform/ios-wk2/scrollingcoordinator/scrolling-tree/coordinated-frame-lose-scrolling-ancestor-expected.txt (0 => 240505)
--- trunk/LayoutTests/platform/ios-wk2/scrollingcoordinator/scrolling-tree/coordinated-frame-lose-scrolling-ancestor-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/ios-wk2/scrollingcoordinator/scrolling-tree/coordinated-frame-lose-scrolling-ancestor-expected.txt 2019-01-25 21:56:20 UTC (rev 240505)
@@ -0,0 +1,65 @@
+
+(Frame scrolling node
+ (scrollable area size 800 600)
+ (contents size 800 1016)
+ (scrollable area parameters
+ (horizontal scroll elasticity 1)
+ (vertical scroll elasticity 1)
+ (horizontal scrollbar mode 0)
+ (vertical scrollbar mode 0))
+ (visual viewport enabled 1)
+ (layout viewport at (0,0) size 800x600)
+ (min layout viewport origin (0,0))
+ (max layout viewport origin (0,416))
+ (behavior for fixed 0)
+ (children 1
+ (Frame scrolling node
+ (scrollable area size 500 300)
+ (contents size 500 420)
+ (scrollable area parameters
+ (horizontal scroll elasticity 1)
+ (vertical scroll elasticity 1)
+ (horizontal scrollbar mode 1)
+ (vertical scrollbar mode 1))
+ (visual viewport enabled 1)
+ (layout viewport at (0,0) size 500x300)
+ (min layout viewport origin (0,0))
+ (max layout viewport origin (0,120))
+ (behavior for fixed 0)
+ (children 2
+ (Overflow scrolling node
+ (scrollable area size 400 300)
+ (contents size 400 1760)
+ (scrollable area parameters
+ (horizontal scroll elasticity 1)
+ (vertical scroll elasticity 1)
+ (horizontal scrollbar mode 0)
+ (vertical scrollbar mode 0))
+ (children 1
+ (Sticky node
+ (anchor edges: AnchorEdgeTop AnchorEdgeBottom)
+ (top offset 10.00)
+ (bottom offset 10.00)
+ (containing block rect at (2,2) size 400x1760)
+ (sticky box rect at (0,830) size 100x100)
+ (constraining rect at (0,0) size 400x300)
+ (sticky offset at last layout width=0 height=-640)
+ (layer position at last layout (0,190))
+ )
+ )
+ )
+ (Sticky node
+ (anchor edges: AnchorEdgeTop AnchorEdgeBottom)
+ (top offset 10.00)
+ (bottom offset 10.00)
+ (containing block rect at (8,8) size 484x404)
+ (sticky box rect at (8,312) size 100x100)
+ (constraining rect at (0,0) size 500x300)
+ (sticky offset at last layout width=0 height=-122)
+ (layer position at last layout (8,190))
+ )
+ )
+ )
+ )
+)
+
Copied: trunk/LayoutTests/platform/ios-wk2/scrollingcoordinator/scrolling-tree/remove-coordinated-frame-expected.txt (from rev 240504, trunk/LayoutTests/platform/ios/fast/scrolling/scrolling-tree-includes-frame-expected.txt) (0 => 240505)
--- trunk/LayoutTests/platform/ios-wk2/scrollingcoordinator/scrolling-tree/remove-coordinated-frame-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/ios-wk2/scrollingcoordinator/scrolling-tree/remove-coordinated-frame-expected.txt 2019-01-25 21:56:20 UTC (rev 240505)
@@ -0,0 +1,25 @@
+
+(Frame scrolling node
+ (scrollable area size 800 600)
+ (contents size 800 1016)
+ (scrollable area parameters
+ (horizontal scroll elasticity 1)
+ (vertical scroll elasticity 1)
+ (horizontal scrollbar mode 0)
+ (vertical scrollbar mode 0))
+ (visual viewport enabled 1)
+ (layout viewport at (0,0) size 800x600)
+ (min layout viewport origin (0,0))
+ (max layout viewport origin (0,416))
+ (behavior for fixed 0)
+ (children 1
+ (Fixed node
+ (anchor edges: AnchorEdgeLeft AnchorEdgeTop)
+ (viewport rect at last layout at (0,0) size 800x600)
+ (layer position at last layout (8,10))
+ (children 0
+ )
+ )
+ )
+)
+
Copied: trunk/LayoutTests/platform/ios-wk2/scrollingcoordinator/scrolling-tree/scrolling-tree-includes-frame-expected.txt (from rev 240504, trunk/LayoutTests/platform/ios-wk2/fast/scrolling/scrolling-tree-includes-frame-expected.txt) (0 => 240505)
--- trunk/LayoutTests/platform/ios-wk2/scrollingcoordinator/scrolling-tree/scrolling-tree-includes-frame-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/ios-wk2/scrollingcoordinator/scrolling-tree/scrolling-tree-includes-frame-expected.txt 2019-01-25 21:56:20 UTC (rev 240505)
@@ -0,0 +1,34 @@
+
+
+(Frame scrolling node
+ (scrollable area size 800 600)
+ (contents size 800 600)
+ (scrollable area parameters
+ (horizontal scroll elasticity 1)
+ (vertical scroll elasticity 1)
+ (horizontal scrollbar mode 0)
+ (vertical scrollbar mode 0))
+ (visual viewport enabled 1)
+ (layout viewport at (0,0) size 800x600)
+ (min layout viewport origin (0,0))
+ (max layout viewport origin (0,0))
+ (behavior for fixed 0)
+ (children 1
+ (Frame scrolling node
+ (scrollable area size 100 200)
+ (contents size 308 416)
+ (scrollable area parameters
+ (horizontal scroll elasticity 1)
+ (vertical scroll elasticity 1)
+ (horizontal scrollbar mode 0)
+ (vertical scrollbar mode 0))
+ (visual viewport enabled 1)
+ (layout viewport at (0,0) size 100x200)
+ (min layout viewport origin (0,0))
+ (max layout viewport origin (208,216))
+ (behavior for fixed 0)
+ )
+ )
+)
+
+
Deleted: trunk/LayoutTests/platform/mac-wk1/fast/scrolling/scrolling-tree-includes-frame-expected.txt (240504 => 240505)
--- trunk/LayoutTests/platform/mac-wk1/fast/scrolling/scrolling-tree-includes-frame-expected.txt 2019-01-25 21:56:05 UTC (rev 240504)
+++ trunk/LayoutTests/platform/mac-wk1/fast/scrolling/scrolling-tree-includes-frame-expected.txt 2019-01-25 21:56:20 UTC (rev 240505)
@@ -1,3 +0,0 @@
-
-
-
Modified: trunk/LayoutTests/platform/win/TestExpectations (240504 => 240505)
--- trunk/LayoutTests/platform/win/TestExpectations 2019-01-25 21:56:05 UTC (rev 240504)
+++ trunk/LayoutTests/platform/win/TestExpectations 2019-01-25 21:56:20 UTC (rev 240505)
@@ -3536,7 +3536,6 @@
fast/multicol/table-vertical-align.html [ Failure ]
fast/parser/xml-error-unload-iframe.html [ Failure ]
fast/replaced/table-percent-height.html [ Failure ]
-fast/scrolling/scrolling-tree-includes-frame.html [ Failure ]
fast/table/giantRowspan.html [ Failure ]
fast/table/giantRowspan2.html [ Failure ]
fast/text/emoji.html [ Failure ]
Copied: trunk/LayoutTests/scrollingcoordinator/scrolling-tree/coordinated-frame-expected.txt (from rev 240504, trunk/LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-expected.txt) (0 => 240505)
--- trunk/LayoutTests/scrollingcoordinator/scrolling-tree/coordinated-frame-expected.txt (rev 0)
+++ trunk/LayoutTests/scrollingcoordinator/scrolling-tree/coordinated-frame-expected.txt 2019-01-25 21:56:20 UTC (rev 240505)
@@ -0,0 +1,48 @@
+
+(Frame scrolling node
+ (scrollable area size 785 600)
+ (contents size 785 1016)
+ (scrollable area parameters
+ (horizontal scroll elasticity 2)
+ (vertical scroll elasticity 2)
+ (horizontal scrollbar mode 0)
+ (vertical scrollbar mode 0)
+ (has enabled vertical scrollbar 1))
+ (visual viewport enabled 1)
+ (layout viewport at (0,0) size 785x600)
+ (min layout viewport origin (0,0))
+ (max layout viewport origin (0,416))
+ (synchronous event dispatch region for event wheel
+ at (45,47) size 404x304)
+ (behavior for fixed 0)
+ (children 1
+ (Frame scrolling node
+ (scrollable area size 485 300)
+ (contents size 485 420)
+ (scrollable area parameters
+ (horizontal scroll elasticity 0)
+ (vertical scroll elasticity 0)
+ (horizontal scrollbar mode 0)
+ (vertical scrollbar mode 0)
+ (has enabled vertical scrollbar 1))
+ (visual viewport enabled 1)
+ (layout viewport at (0,0) size 485x300)
+ (min layout viewport origin (0,0))
+ (max layout viewport origin (0,120))
+ (behavior for fixed 0)
+ (children 1
+ (Sticky node
+ (anchor edges: AnchorEdgeTop AnchorEdgeBottom)
+ (top offset 10.00)
+ (bottom offset 10.00)
+ (containing block rect at (8,8) size 469x404)
+ (sticky box rect at (8,312) size 100x100)
+ (constraining rect at (0,0) size 485x300)
+ (sticky offset at last layout width=0 height=-122)
+ (layer position at last layout (8,190))
+ )
+ )
+ )
+ )
+)
+
Copied: trunk/LayoutTests/scrollingcoordinator/scrolling-tree/coordinated-frame-gain-scrolling-ancestor-expected.txt (from rev 240504, trunk/LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-gain-scrolling-ancestor-expected.txt) (0 => 240505)
--- trunk/LayoutTests/scrollingcoordinator/scrolling-tree/coordinated-frame-gain-scrolling-ancestor-expected.txt (rev 0)
+++ trunk/LayoutTests/scrollingcoordinator/scrolling-tree/coordinated-frame-gain-scrolling-ancestor-expected.txt 2019-01-25 21:56:20 UTC (rev 240505)
@@ -0,0 +1,54 @@
+
+(Frame scrolling node
+ (scrollable area size 785 600)
+ (contents size 785 1016)
+ (scrollable area parameters
+ (horizontal scroll elasticity 2)
+ (vertical scroll elasticity 2)
+ (horizontal scrollbar mode 0)
+ (vertical scrollbar mode 0)
+ (has enabled vertical scrollbar 1))
+ (visual viewport enabled 1)
+ (layout viewport at (0,0) size 785x600)
+ (min layout viewport origin (0,0))
+ (max layout viewport origin (0,416))
+ (synchronous event dispatch region for event wheel
+ at (45,47) size 404x304)
+ (behavior for fixed 0)
+ (children 1
+ (Fixed node
+ (anchor edges: AnchorEdgeLeft AnchorEdgeTop)
+ (viewport rect at last layout at (0,0) size 785x600)
+ (layer position at last layout (8,10))
+ (children 1
+ (Frame scrolling node
+ (scrollable area size 500 300)
+ (contents size 500 420)
+ (scrollable area parameters
+ (horizontal scroll elasticity 0)
+ (vertical scroll elasticity 0)
+ (horizontal scrollbar mode 1)
+ (vertical scrollbar mode 1))
+ (visual viewport enabled 1)
+ (layout viewport at (0,0) size 500x300)
+ (min layout viewport origin (0,0))
+ (max layout viewport origin (0,120))
+ (behavior for fixed 0)
+ (children 1
+ (Sticky node
+ (anchor edges: AnchorEdgeTop AnchorEdgeBottom)
+ (top offset 10.00)
+ (bottom offset 10.00)
+ (containing block rect at (8,8) size 484x404)
+ (sticky box rect at (8,312) size 100x100)
+ (constraining rect at (0,0) size 500x300)
+ (sticky offset at last layout width=0 height=-122)
+ (layer position at last layout (8,190))
+ )
+ )
+ )
+ )
+ )
+ )
+)
+
Copied: trunk/LayoutTests/scrollingcoordinator/scrolling-tree/coordinated-frame-gain-scrolling-ancestor.html (from rev 240504, trunk/LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-gain-scrolling-ancestor.html) (0 => 240505)
--- trunk/LayoutTests/scrollingcoordinator/scrolling-tree/coordinated-frame-gain-scrolling-ancestor.html (rev 0)
+++ trunk/LayoutTests/scrollingcoordinator/scrolling-tree/coordinated-frame-gain-scrolling-ancestor.html 2019-01-25 21:56:20 UTC (rev 240505)
@@ -0,0 +1,64 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <style>
+ body {
+ height: 1000px;
+ }
+
+ iframe {
+ display: block;
+ margin: 10px;
+ border: 5px solid black;
+ }
+
+ #container {
+ position: absolute;
+ top: 10px;
+ border: 4px solid green;
+ padding: 10px;
+ }
+
+ #container.fixed {
+ position: fixed;
+ top: 10px;
+ border: 4px solid orange;
+ }
+
+ #tree {
+ position: absolute;
+ top: 375px;
+ }
+ </style>
+ <script>
+ if (window.testRunner) {
+ testRunner.waitUntilDone();
+ testRunner.dumpAsText();
+ window.internals.settings.setScrollingTreeIncludesFrames(true);
+ }
+
+ function startTest()
+ {
+ window.setTimeout(function() {
+ document.getElementById('container').classList.toggle('fixed');
+
+ if (window.internals)
+ document.getElementById('tree').innerText = internals.scrollingStateTreeAsText();
+
+ if (window.testRunner)
+ testRunner.notifyDone();
+
+ }, 0);
+ }
+
+ window.addEventListener('load', startTest, false);
+ </script>
+</head>
+<body>
+
+ <div id="container">
+ <iframe src="" scrolling="no" width="500" height="300"></iframe>
+ </div>
+<pre id="tree">Scrolling tree goes here</pre>
+</body>
+</html>
Copied: trunk/LayoutTests/scrollingcoordinator/scrolling-tree/coordinated-frame-in-fixed-expected.txt (from rev 240504, trunk/LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-in-fixed-expected.txt) (0 => 240505)
--- trunk/LayoutTests/scrollingcoordinator/scrolling-tree/coordinated-frame-in-fixed-expected.txt (rev 0)
+++ trunk/LayoutTests/scrollingcoordinator/scrolling-tree/coordinated-frame-in-fixed-expected.txt 2019-01-25 21:56:20 UTC (rev 240505)
@@ -0,0 +1,55 @@
+
+(Frame scrolling node
+ (scrollable area size 785 600)
+ (contents size 785 1016)
+ (scrollable area parameters
+ (horizontal scroll elasticity 2)
+ (vertical scroll elasticity 2)
+ (horizontal scrollbar mode 0)
+ (vertical scrollbar mode 0)
+ (has enabled vertical scrollbar 1))
+ (visual viewport enabled 1)
+ (layout viewport at (0,0) size 785x600)
+ (min layout viewport origin (0,0))
+ (max layout viewport origin (0,416))
+ (synchronous event dispatch region for event wheel
+ at (45,37) size 404x304)
+ (behavior for fixed 0)
+ (children 1
+ (Fixed node
+ (anchor edges: AnchorEdgeLeft AnchorEdgeTop)
+ (viewport rect at last layout at (0,0) size 785x600)
+ (layer position at last layout (8,0))
+ (children 1
+ (Frame scrolling node
+ (scrollable area size 485 300)
+ (contents size 485 420)
+ (scrollable area parameters
+ (horizontal scroll elasticity 0)
+ (vertical scroll elasticity 0)
+ (horizontal scrollbar mode 0)
+ (vertical scrollbar mode 0)
+ (has enabled vertical scrollbar 1))
+ (visual viewport enabled 1)
+ (layout viewport at (0,0) size 485x300)
+ (min layout viewport origin (0,0))
+ (max layout viewport origin (0,120))
+ (behavior for fixed 0)
+ (children 1
+ (Sticky node
+ (anchor edges: AnchorEdgeTop AnchorEdgeBottom)
+ (top offset 10.00)
+ (bottom offset 10.00)
+ (containing block rect at (8,8) size 469x404)
+ (sticky box rect at (8,312) size 100x100)
+ (constraining rect at (0,0) size 485x300)
+ (sticky offset at last layout width=0 height=-122)
+ (layer position at last layout (8,190))
+ )
+ )
+ )
+ )
+ )
+ )
+)
+
Copied: trunk/LayoutTests/scrollingcoordinator/scrolling-tree/coordinated-frame-in-fixed.html (from rev 240504, trunk/LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-in-fixed.html) (0 => 240505)
--- trunk/LayoutTests/scrollingcoordinator/scrolling-tree/coordinated-frame-in-fixed.html (rev 0)
+++ trunk/LayoutTests/scrollingcoordinator/scrolling-tree/coordinated-frame-in-fixed.html 2019-01-25 21:56:20 UTC (rev 240505)
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <style>
+ body {
+ height: 1000px;
+ }
+
+ iframe {
+ display: block;
+ margin: 10px;
+ border: 5px solid black;
+ }
+
+ #container {
+ position: absolute;
+ top: 10px;
+ border: 4px solid green;
+ padding: 10px;
+ }
+
+ #container {
+ position: fixed;
+ top: 0;
+ border: 4px solid orange;
+ }
+
+ #tree {
+ position: absolute;
+ top: 375px;
+ }
+ </style>
+ <script>
+ if (window.testRunner) {
+ testRunner.dumpAsText();
+ window.internals.settings.setScrollingTreeIncludesFrames(true);
+ }
+
+ function startTest()
+ {
+ if (window.internals)
+ document.getElementById('tree').innerText = internals.scrollingStateTreeAsText();
+ }
+
+ window.addEventListener('load', startTest, false);
+ </script>
+</head>
+<body>
+
+ <div id="container">
+ <iframe src="" width="500" height="300"></iframe>
+ </div>
+<pre id="tree">Scrolling tree goes here</pre>
+</body>
+</html>
Copied: trunk/LayoutTests/scrollingcoordinator/scrolling-tree/coordinated-frame-lose-scrolling-ancestor-expected.txt (from rev 240504, trunk/LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-lose-scrolling-ancestor-expected.txt) (0 => 240505)
--- trunk/LayoutTests/scrollingcoordinator/scrolling-tree/coordinated-frame-lose-scrolling-ancestor-expected.txt (rev 0)
+++ trunk/LayoutTests/scrollingcoordinator/scrolling-tree/coordinated-frame-lose-scrolling-ancestor-expected.txt 2019-01-25 21:56:20 UTC (rev 240505)
@@ -0,0 +1,47 @@
+
+(Frame scrolling node
+ (scrollable area size 785 600)
+ (contents size 785 1016)
+ (scrollable area parameters
+ (horizontal scroll elasticity 2)
+ (vertical scroll elasticity 2)
+ (horizontal scrollbar mode 0)
+ (vertical scrollbar mode 0)
+ (has enabled vertical scrollbar 1))
+ (visual viewport enabled 1)
+ (layout viewport at (0,0) size 785x600)
+ (min layout viewport origin (0,0))
+ (max layout viewport origin (0,416))
+ (synchronous event dispatch region for event wheel
+ at (45,47) size 404x304)
+ (behavior for fixed 0)
+ (children 1
+ (Frame scrolling node
+ (scrollable area size 500 300)
+ (contents size 500 420)
+ (scrollable area parameters
+ (horizontal scroll elasticity 0)
+ (vertical scroll elasticity 0)
+ (horizontal scrollbar mode 1)
+ (vertical scrollbar mode 1))
+ (visual viewport enabled 1)
+ (layout viewport at (0,0) size 500x300)
+ (min layout viewport origin (0,0))
+ (max layout viewport origin (0,120))
+ (behavior for fixed 0)
+ (children 1
+ (Sticky node
+ (anchor edges: AnchorEdgeTop AnchorEdgeBottom)
+ (top offset 10.00)
+ (bottom offset 10.00)
+ (containing block rect at (8,8) size 484x404)
+ (sticky box rect at (8,312) size 100x100)
+ (constraining rect at (0,0) size 500x300)
+ (sticky offset at last layout width=0 height=-122)
+ (layer position at last layout (8,190))
+ )
+ )
+ )
+ )
+)
+
Copied: trunk/LayoutTests/scrollingcoordinator/scrolling-tree/coordinated-frame-lose-scrolling-ancestor.html (from rev 240504, trunk/LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-lose-scrolling-ancestor.html) (0 => 240505)
--- trunk/LayoutTests/scrollingcoordinator/scrolling-tree/coordinated-frame-lose-scrolling-ancestor.html (rev 0)
+++ trunk/LayoutTests/scrollingcoordinator/scrolling-tree/coordinated-frame-lose-scrolling-ancestor.html 2019-01-25 21:56:20 UTC (rev 240505)
@@ -0,0 +1,64 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <style>
+ body {
+ height: 1000px;
+ }
+
+ iframe {
+ display: block;
+ margin: 10px;
+ border: 5px solid black;
+ }
+
+ #container {
+ position: absolute;
+ top: 10px;
+ border: 4px solid green;
+ padding: 10px;
+ }
+
+ #container.fixed {
+ position: fixed;
+ top: 10px;
+ border: 4px solid orange;
+ }
+
+ #tree {
+ position: absolute;
+ top: 375px;
+ }
+ </style>
+ <script>
+ if (window.testRunner) {
+ testRunner.waitUntilDone();
+ testRunner.dumpAsText();
+ window.internals.settings.setScrollingTreeIncludesFrames(true);
+ }
+
+ function startTest()
+ {
+ window.setTimeout(function() {
+ document.getElementById('container').classList.toggle('fixed');
+
+ if (window.internals)
+ document.getElementById('tree').innerText = internals.scrollingStateTreeAsText();
+
+ if (window.testRunner)
+ testRunner.notifyDone();
+
+ }, 0);
+ }
+
+ window.addEventListener('load', startTest, false);
+ </script>
+</head>
+<body>
+
+ <div id="container" class="fixed">
+ <iframe src="" scrolling="no" width="500" height="300"></iframe>
+ </div>
+<pre id="tree">Scrolling tree goes here</pre>
+</body>
+</html>
Copied: trunk/LayoutTests/scrollingcoordinator/scrolling-tree/coordinated-frame.html (from rev 240504, trunk/LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame.html) (0 => 240505)
--- trunk/LayoutTests/scrollingcoordinator/scrolling-tree/coordinated-frame.html (rev 0)
+++ trunk/LayoutTests/scrollingcoordinator/scrolling-tree/coordinated-frame.html 2019-01-25 21:56:20 UTC (rev 240505)
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <style>
+ body {
+ height: 1000px;
+ }
+
+ iframe {
+ display: block;
+ margin: 10px;
+ border: 5px solid black;
+ }
+
+ #container {
+ position: absolute;
+ top: 10px;
+ border: 4px solid green;
+ padding: 10px;
+ }
+
+ #container {
+ border: 4px solid orange;
+ }
+
+ #tree {
+ position: absolute;
+ top: 375px;
+ }
+ </style>
+ <script>
+ if (window.testRunner) {
+ testRunner.dumpAsText();
+ window.internals.settings.setScrollingTreeIncludesFrames(true);
+ }
+
+ function startTest()
+ {
+ if (window.internals)
+ document.getElementById('tree').innerText = internals.scrollingStateTreeAsText();
+ }
+
+ window.addEventListener('load', startTest, false);
+ </script>
+</head>
+<body>
+
+ <div id="container">
+ <iframe src="" width="500" height="300"></iframe>
+ </div>
+<pre id="tree">Scrolling tree goes here</pre>
+</body>
+</html>
Copied: trunk/LayoutTests/scrollingcoordinator/scrolling-tree/remove-coordinated-frame-expected.txt (from rev 240504, trunk/LayoutTests/tiled-drawing/scrolling/frames/remove-coordinated-frame-expected.txt) (0 => 240505)
--- trunk/LayoutTests/scrollingcoordinator/scrolling-tree/remove-coordinated-frame-expected.txt (rev 0)
+++ trunk/LayoutTests/scrollingcoordinator/scrolling-tree/remove-coordinated-frame-expected.txt 2019-01-25 21:56:20 UTC (rev 240505)
@@ -0,0 +1,26 @@
+
+(Frame scrolling node
+ (scrollable area size 785 600)
+ (contents size 785 1016)
+ (scrollable area parameters
+ (horizontal scroll elasticity 2)
+ (vertical scroll elasticity 2)
+ (horizontal scrollbar mode 0)
+ (vertical scrollbar mode 0)
+ (has enabled vertical scrollbar 1))
+ (visual viewport enabled 1)
+ (layout viewport at (0,0) size 785x600)
+ (min layout viewport origin (0,0))
+ (max layout viewport origin (0,416))
+ (behavior for fixed 0)
+ (children 1
+ (Fixed node
+ (anchor edges: AnchorEdgeLeft AnchorEdgeTop)
+ (viewport rect at last layout at (0,0) size 785x600)
+ (layer position at last layout (8,10))
+ (children 0
+ )
+ )
+ )
+)
+
Copied: trunk/LayoutTests/scrollingcoordinator/scrolling-tree/remove-coordinated-frame.html (from rev 240504, trunk/LayoutTests/tiled-drawing/scrolling/frames/remove-coordinated-frame.html) (0 => 240505)
--- trunk/LayoutTests/scrollingcoordinator/scrolling-tree/remove-coordinated-frame.html (rev 0)
+++ trunk/LayoutTests/scrollingcoordinator/scrolling-tree/remove-coordinated-frame.html 2019-01-25 21:56:20 UTC (rev 240505)
@@ -0,0 +1,65 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <style>
+ body {
+ height: 1000px;
+ }
+
+ iframe {
+ display: block;
+ margin: 10px;
+ border: 5px solid black;
+ }
+
+ #container {
+ position: absolute;
+ top: 10px;
+ border: 4px solid green;
+ padding: 10px;
+ }
+
+ #container.fixed {
+ position: fixed;
+ top: 10px;
+ border: 4px solid orange;
+ }
+
+ #tree {
+ position: absolute;
+ top: 375px;
+ }
+ </style>
+ <script>
+ if (window.testRunner) {
+ testRunner.waitUntilDone();
+ testRunner.dumpAsText();
+ window.internals.settings.setScrollingTreeIncludesFrames(true);
+ }
+
+ function startTest()
+ {
+ window.setTimeout(function() {
+ var iframe = document.getElementById('iframe');
+ iframe.remove();
+
+ if (window.internals)
+ document.getElementById('tree').innerText = internals.scrollingStateTreeAsText();
+
+ if (window.testRunner)
+ testRunner.notifyDone();
+
+ }, 0);
+ }
+
+ window.addEventListener('load', startTest, false);
+ </script>
+</head>
+<body>
+
+ <div id="container" class="fixed">
+ <iframe id="iframe" src="" scrolling="no" width="500" height="300"></iframe>
+ </div>
+<pre id="tree">Scrolling tree goes here</pre>
+</body>
+</html>
Copied: trunk/LayoutTests/scrollingcoordinator/scrolling-tree/remove-scrolling-role-expected.txt (from rev 240504, trunk/LayoutTests/fast/scrolling/ios/remove-scrolling-role-expected.txt) (0 => 240505)
--- trunk/LayoutTests/scrollingcoordinator/scrolling-tree/remove-scrolling-role-expected.txt (rev 0)
+++ trunk/LayoutTests/scrollingcoordinator/scrolling-tree/remove-scrolling-role-expected.txt 2019-01-25 21:56:20 UTC (rev 240505)
@@ -0,0 +1,27 @@
+
+(Frame scrolling node
+ (scrollable area size 800 600)
+ (contents size 800 2513)
+ (scrollable area parameters
+ (horizontal scroll elasticity 1)
+ (vertical scroll elasticity 1)
+ (horizontal scrollbar mode 0)
+ (vertical scrollbar mode 0))
+ (visual viewport enabled 1)
+ (layout viewport at (0,0) size 800x600)
+ (min layout viewport origin (0,0))
+ (max layout viewport origin (0,1913))
+ (behavior for fixed 0)
+ (children 1
+ (Overflow scrolling node
+ (scrollable area size 300 400)
+ (contents size 300 2000)
+ (scrollable area parameters
+ (horizontal scroll elasticity 1)
+ (vertical scroll elasticity 1)
+ (horizontal scrollbar mode 0)
+ (vertical scrollbar mode 0))
+ )
+ )
+)
+
Copied: trunk/LayoutTests/scrollingcoordinator/scrolling-tree/remove-scrolling-role.html (from rev 240504, trunk/LayoutTests/fast/scrolling/ios/remove-scrolling-role.html) (0 => 240505)
--- trunk/LayoutTests/scrollingcoordinator/scrolling-tree/remove-scrolling-role.html (rev 0)
+++ trunk/LayoutTests/scrollingcoordinator/scrolling-tree/remove-scrolling-role.html 2019-01-25 21:56:20 UTC (rev 240505)
@@ -0,0 +1,63 @@
+<!DOCTYPE html>
+<html>
+
+<head>
+ <style>
+ body {
+ margin: 0;
+ height: 2500px;
+ }
+
+ #fixed {
+ position: fixed;
+ left: 10px;
+ top: 10px;
+ -webkit-overflow-scrolling: touch;
+ height: 400px;
+ width: 300px;
+ overflow: auto;
+ border: 4px solid black;
+ }
+
+ #fixed.changed {
+ position: absolute;
+ border: 4px solid green;
+ }
+
+ .content {
+ height: 2000px;
+ background-color: silver;
+ }
+
+ </style>
+ <script>
+ if (window.testRunner) {
+ testRunner.waitUntilDone();
+ testRunner.dumpAsText();
+ }
+
+ function doTest()
+ {
+ window.setTimeout(function() {
+ document.getElementById('fixed').classList.add('changed');
+
+ if (window.internals)
+ document.getElementById('results').innerText = internals.scrollingStateTreeAsText();
+
+ if (window.testRunner)
+ testRunner.notifyDone();
+
+ }, 0);
+ }
+
+ window.addEventListener('load', doTest, false);
+ </script>
+</head>
+<body>
+ <pre id="results"></pre>
+ <div id="fixed">
+ <div class="content">
+ </div>
+ </div>
+</body>
+</html>
Copied: trunk/LayoutTests/scrollingcoordinator/scrolling-tree/resources/doc-with-sticky.html (from rev 240504, trunk/LayoutTests/tiled-drawing/scrolling/frames/resources/doc-with-sticky.html) (0 => 240505)
--- trunk/LayoutTests/scrollingcoordinator/scrolling-tree/resources/doc-with-sticky.html (rev 0)
+++ trunk/LayoutTests/scrollingcoordinator/scrolling-tree/resources/doc-with-sticky.html 2019-01-25 21:56:20 UTC (rev 240505)
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+ <style>
+ .box {
+ height: 100px;
+ width: 100px;
+ background-color: blue;
+ }
+
+ .scrolling {
+ height: 300px;
+ width: 400px;
+ overflow: scroll;
+ -webkit-overflow-scrolling: touch;
+ border: 2px solid black;
+ }
+
+ .spacer {
+ height: 400px;
+ margin: 10px;
+ background-color: silver;
+ }
+ .sticky {
+ position: -webkit-sticky;
+ top: 10px;
+ bottom: 10px;
+ }
+
+ .composited {
+ -webkit-transform: translateZ(0);
+ }
+ </style>
+</head>
+<body>
+ <div class="composited scrolling">
+ <div class="spacer"></div>
+ <div class="spacer"></div>
+ <div class="sticky box"></div>
+ <div class="spacer"></div>
+ <div class="spacer"></div>
+ </div>
+ <div class="sticky box"></div>
+
+</body>
+</html>
Copied: trunk/LayoutTests/scrollingcoordinator/scrolling-tree/scrolling-tree-includes-frame-expected.txt (from rev 240504, trunk/LayoutTests/fast/scrolling/scrolling-tree-includes-frame-expected.txt) (0 => 240505)
--- trunk/LayoutTests/scrollingcoordinator/scrolling-tree/scrolling-tree-includes-frame-expected.txt (rev 0)
+++ trunk/LayoutTests/scrollingcoordinator/scrolling-tree/scrolling-tree-includes-frame-expected.txt 2019-01-25 21:56:20 UTC (rev 240505)
@@ -0,0 +1,36 @@
+
+
+(Frame scrolling node
+ (scrollable area size 800 600)
+ (contents size 800 600)
+ (scrollable area parameters
+ (horizontal scroll elasticity 2)
+ (vertical scroll elasticity 2)
+ (horizontal scrollbar mode 0)
+ (vertical scrollbar mode 0))
+ (visual viewport enabled 1)
+ (layout viewport at (0,0) size 800x600)
+ (min layout viewport origin (0,0))
+ (max layout viewport origin (0,0))
+ (behavior for fixed 0)
+ (children 1
+ (Frame scrolling node
+ (scrollable area size 85 185)
+ (contents size 308 416)
+ (scrollable area parameters
+ (horizontal scroll elasticity 0)
+ (vertical scroll elasticity 0)
+ (horizontal scrollbar mode 0)
+ (vertical scrollbar mode 0)
+ (has enabled horizontal scrollbar 1)
+ (has enabled vertical scrollbar 1))
+ (visual viewport enabled 1)
+ (layout viewport at (0,0) size 85x185)
+ (min layout viewport origin (0,0))
+ (max layout viewport origin (223,231))
+ (behavior for fixed 0)
+ )
+ )
+)
+
+
Copied: trunk/LayoutTests/scrollingcoordinator/scrolling-tree/scrolling-tree-includes-frame.html (from rev 240504, trunk/LayoutTests/fast/scrolling/scrolling-tree-includes-frame.html) (0 => 240505)
--- trunk/LayoutTests/scrollingcoordinator/scrolling-tree/scrolling-tree-includes-frame.html (rev 0)
+++ trunk/LayoutTests/scrollingcoordinator/scrolling-tree/scrolling-tree-includes-frame.html 2019-01-25 21:56:20 UTC (rev 240505)
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Check whether scrollable iframes are included in the scrolling tree when async frame scrolling is enabled</title>
+ <script>
+ if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.waitUntilDone();
+ }
+ if (window.internals)
+ window.internals.settings.setAsyncFrameScrollingEnabled(true);
+ function doTest()
+ {
+ if (window.internals)
+ document.getElementById('scrollingTree').innerText = window.internals.scrollingStateTreeAsText() + "\n";
+ if (window.testRunner)
+ testRunner.notifyDone();
+ }
+ </script>
+ <style>
+ iframe {
+ position: absolute;
+ left: 0;
+ top: 0;
+ width: 100px;
+ height: 200px;
+ margin: 0;
+ border: 0;
+ padding: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <iframe _onload_="doTest()" srcdoc="
+ <div style='width: 300px; height: 400px; background: gray;'></div>">
+ </iframe>
+ <pre id="scrollingTree"></pre>
+ </body>
+</html>
Deleted: trunk/LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-expected.txt (240504 => 240505)
--- trunk/LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-expected.txt 2019-01-25 21:56:05 UTC (rev 240504)
+++ trunk/LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-expected.txt 2019-01-25 21:56:20 UTC (rev 240505)
@@ -1,48 +0,0 @@
-
-(Frame scrolling node
- (scrollable area size 785 600)
- (contents size 785 1016)
- (scrollable area parameters
- (horizontal scroll elasticity 2)
- (vertical scroll elasticity 2)
- (horizontal scrollbar mode 0)
- (vertical scrollbar mode 0)
- (has enabled vertical scrollbar 1))
- (visual viewport enabled 1)
- (layout viewport at (0,0) size 785x600)
- (min layout viewport origin (0,0))
- (max layout viewport origin (0,416))
- (synchronous event dispatch region for event wheel
- at (45,47) size 404x304)
- (behavior for fixed 0)
- (children 1
- (Frame scrolling node
- (scrollable area size 485 300)
- (contents size 485 420)
- (scrollable area parameters
- (horizontal scroll elasticity 0)
- (vertical scroll elasticity 0)
- (horizontal scrollbar mode 0)
- (vertical scrollbar mode 0)
- (has enabled vertical scrollbar 1))
- (visual viewport enabled 1)
- (layout viewport at (0,0) size 485x300)
- (min layout viewport origin (0,0))
- (max layout viewport origin (0,120))
- (behavior for fixed 0)
- (children 1
- (Sticky node
- (anchor edges: AnchorEdgeTop AnchorEdgeBottom)
- (top offset 10.00)
- (bottom offset 10.00)
- (containing block rect at (8,8) size 469x404)
- (sticky box rect at (8,312) size 100x100)
- (constraining rect at (0,0) size 485x300)
- (sticky offset at last layout width=0 height=-122)
- (layer position at last layout (8,190))
- )
- )
- )
- )
-)
-
Deleted: trunk/LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-gain-scrolling-ancestor-expected.txt (240504 => 240505)
--- trunk/LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-gain-scrolling-ancestor-expected.txt 2019-01-25 21:56:05 UTC (rev 240504)
+++ trunk/LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-gain-scrolling-ancestor-expected.txt 2019-01-25 21:56:20 UTC (rev 240505)
@@ -1,54 +0,0 @@
-
-(Frame scrolling node
- (scrollable area size 785 600)
- (contents size 785 1016)
- (scrollable area parameters
- (horizontal scroll elasticity 2)
- (vertical scroll elasticity 2)
- (horizontal scrollbar mode 0)
- (vertical scrollbar mode 0)
- (has enabled vertical scrollbar 1))
- (visual viewport enabled 1)
- (layout viewport at (0,0) size 785x600)
- (min layout viewport origin (0,0))
- (max layout viewport origin (0,416))
- (synchronous event dispatch region for event wheel
- at (45,47) size 404x304)
- (behavior for fixed 0)
- (children 1
- (Fixed node
- (anchor edges: AnchorEdgeLeft AnchorEdgeTop)
- (viewport rect at last layout at (0,0) size 785x600)
- (layer position at last layout (8,10))
- (children 1
- (Frame scrolling node
- (scrollable area size 500 300)
- (contents size 500 420)
- (scrollable area parameters
- (horizontal scroll elasticity 0)
- (vertical scroll elasticity 0)
- (horizontal scrollbar mode 1)
- (vertical scrollbar mode 1))
- (visual viewport enabled 1)
- (layout viewport at (0,0) size 500x300)
- (min layout viewport origin (0,0))
- (max layout viewport origin (0,120))
- (behavior for fixed 0)
- (children 1
- (Sticky node
- (anchor edges: AnchorEdgeTop AnchorEdgeBottom)
- (top offset 10.00)
- (bottom offset 10.00)
- (containing block rect at (8,8) size 484x404)
- (sticky box rect at (8,312) size 100x100)
- (constraining rect at (0,0) size 500x300)
- (sticky offset at last layout width=0 height=-122)
- (layer position at last layout (8,190))
- )
- )
- )
- )
- )
- )
-)
-
Deleted: trunk/LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-gain-scrolling-ancestor.html (240504 => 240505)
--- trunk/LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-gain-scrolling-ancestor.html 2019-01-25 21:56:05 UTC (rev 240504)
+++ trunk/LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-gain-scrolling-ancestor.html 2019-01-25 21:56:20 UTC (rev 240505)
@@ -1,64 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <style>
- body {
- height: 1000px;
- }
-
- iframe {
- display: block;
- margin: 10px;
- border: 5px solid black;
- }
-
- #container {
- position: absolute;
- top: 10px;
- border: 4px solid green;
- padding: 10px;
- }
-
- #container.fixed {
- position: fixed;
- top: 10px;
- border: 4px solid orange;
- }
-
- #tree {
- position: absolute;
- top: 375px;
- }
- </style>
- <script>
- if (window.testRunner) {
- testRunner.waitUntilDone();
- testRunner.dumpAsText();
- window.internals.settings.setScrollingTreeIncludesFrames(true);
- }
-
- function startTest()
- {
- window.setTimeout(function() {
- document.getElementById('container').classList.toggle('fixed');
-
- if (window.internals)
- document.getElementById('tree').innerText = internals.scrollingStateTreeAsText();
-
- if (window.testRunner)
- testRunner.notifyDone();
-
- }, 0);
- }
-
- window.addEventListener('load', startTest, false);
- </script>
-</head>
-<body>
-
- <div id="container">
- <iframe src="" scrolling="no" width="500" height="300"></iframe>
- </div>
-<pre id="tree">Scrolling tree goes here</pre>
-</body>
-</html>
Deleted: trunk/LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-in-fixed-expected.txt (240504 => 240505)
--- trunk/LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-in-fixed-expected.txt 2019-01-25 21:56:05 UTC (rev 240504)
+++ trunk/LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-in-fixed-expected.txt 2019-01-25 21:56:20 UTC (rev 240505)
@@ -1,55 +0,0 @@
-
-(Frame scrolling node
- (scrollable area size 785 600)
- (contents size 785 1016)
- (scrollable area parameters
- (horizontal scroll elasticity 2)
- (vertical scroll elasticity 2)
- (horizontal scrollbar mode 0)
- (vertical scrollbar mode 0)
- (has enabled vertical scrollbar 1))
- (visual viewport enabled 1)
- (layout viewport at (0,0) size 785x600)
- (min layout viewport origin (0,0))
- (max layout viewport origin (0,416))
- (synchronous event dispatch region for event wheel
- at (45,37) size 404x304)
- (behavior for fixed 0)
- (children 1
- (Fixed node
- (anchor edges: AnchorEdgeLeft AnchorEdgeTop)
- (viewport rect at last layout at (0,0) size 785x600)
- (layer position at last layout (8,0))
- (children 1
- (Frame scrolling node
- (scrollable area size 485 300)
- (contents size 485 420)
- (scrollable area parameters
- (horizontal scroll elasticity 0)
- (vertical scroll elasticity 0)
- (horizontal scrollbar mode 0)
- (vertical scrollbar mode 0)
- (has enabled vertical scrollbar 1))
- (visual viewport enabled 1)
- (layout viewport at (0,0) size 485x300)
- (min layout viewport origin (0,0))
- (max layout viewport origin (0,120))
- (behavior for fixed 0)
- (children 1
- (Sticky node
- (anchor edges: AnchorEdgeTop AnchorEdgeBottom)
- (top offset 10.00)
- (bottom offset 10.00)
- (containing block rect at (8,8) size 469x404)
- (sticky box rect at (8,312) size 100x100)
- (constraining rect at (0,0) size 485x300)
- (sticky offset at last layout width=0 height=-122)
- (layer position at last layout (8,190))
- )
- )
- )
- )
- )
- )
-)
-
Deleted: trunk/LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-in-fixed.html (240504 => 240505)
--- trunk/LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-in-fixed.html 2019-01-25 21:56:05 UTC (rev 240504)
+++ trunk/LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-in-fixed.html 2019-01-25 21:56:20 UTC (rev 240505)
@@ -1,55 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <style>
- body {
- height: 1000px;
- }
-
- iframe {
- display: block;
- margin: 10px;
- border: 5px solid black;
- }
-
- #container {
- position: absolute;
- top: 10px;
- border: 4px solid green;
- padding: 10px;
- }
-
- #container {
- position: fixed;
- top: 0;
- border: 4px solid orange;
- }
-
- #tree {
- position: absolute;
- top: 375px;
- }
- </style>
- <script>
- if (window.testRunner) {
- testRunner.dumpAsText();
- window.internals.settings.setScrollingTreeIncludesFrames(true);
- }
-
- function startTest()
- {
- if (window.internals)
- document.getElementById('tree').innerText = internals.scrollingStateTreeAsText();
- }
-
- window.addEventListener('load', startTest, false);
- </script>
-</head>
-<body>
-
- <div id="container">
- <iframe src="" width="500" height="300"></iframe>
- </div>
-<pre id="tree">Scrolling tree goes here</pre>
-</body>
-</html>
Deleted: trunk/LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-lose-scrolling-ancestor-expected.txt (240504 => 240505)
--- trunk/LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-lose-scrolling-ancestor-expected.txt 2019-01-25 21:56:05 UTC (rev 240504)
+++ trunk/LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-lose-scrolling-ancestor-expected.txt 2019-01-25 21:56:20 UTC (rev 240505)
@@ -1,47 +0,0 @@
-
-(Frame scrolling node
- (scrollable area size 785 600)
- (contents size 785 1016)
- (scrollable area parameters
- (horizontal scroll elasticity 2)
- (vertical scroll elasticity 2)
- (horizontal scrollbar mode 0)
- (vertical scrollbar mode 0)
- (has enabled vertical scrollbar 1))
- (visual viewport enabled 1)
- (layout viewport at (0,0) size 785x600)
- (min layout viewport origin (0,0))
- (max layout viewport origin (0,416))
- (synchronous event dispatch region for event wheel
- at (45,47) size 404x304)
- (behavior for fixed 0)
- (children 1
- (Frame scrolling node
- (scrollable area size 500 300)
- (contents size 500 420)
- (scrollable area parameters
- (horizontal scroll elasticity 0)
- (vertical scroll elasticity 0)
- (horizontal scrollbar mode 1)
- (vertical scrollbar mode 1))
- (visual viewport enabled 1)
- (layout viewport at (0,0) size 500x300)
- (min layout viewport origin (0,0))
- (max layout viewport origin (0,120))
- (behavior for fixed 0)
- (children 1
- (Sticky node
- (anchor edges: AnchorEdgeTop AnchorEdgeBottom)
- (top offset 10.00)
- (bottom offset 10.00)
- (containing block rect at (8,8) size 484x404)
- (sticky box rect at (8,312) size 100x100)
- (constraining rect at (0,0) size 500x300)
- (sticky offset at last layout width=0 height=-122)
- (layer position at last layout (8,190))
- )
- )
- )
- )
-)
-
Deleted: trunk/LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-lose-scrolling-ancestor.html (240504 => 240505)
--- trunk/LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-lose-scrolling-ancestor.html 2019-01-25 21:56:05 UTC (rev 240504)
+++ trunk/LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame-lose-scrolling-ancestor.html 2019-01-25 21:56:20 UTC (rev 240505)
@@ -1,64 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <style>
- body {
- height: 1000px;
- }
-
- iframe {
- display: block;
- margin: 10px;
- border: 5px solid black;
- }
-
- #container {
- position: absolute;
- top: 10px;
- border: 4px solid green;
- padding: 10px;
- }
-
- #container.fixed {
- position: fixed;
- top: 10px;
- border: 4px solid orange;
- }
-
- #tree {
- position: absolute;
- top: 375px;
- }
- </style>
- <script>
- if (window.testRunner) {
- testRunner.waitUntilDone();
- testRunner.dumpAsText();
- window.internals.settings.setScrollingTreeIncludesFrames(true);
- }
-
- function startTest()
- {
- window.setTimeout(function() {
- document.getElementById('container').classList.toggle('fixed');
-
- if (window.internals)
- document.getElementById('tree').innerText = internals.scrollingStateTreeAsText();
-
- if (window.testRunner)
- testRunner.notifyDone();
-
- }, 0);
- }
-
- window.addEventListener('load', startTest, false);
- </script>
-</head>
-<body>
-
- <div id="container" class="fixed">
- <iframe src="" scrolling="no" width="500" height="300"></iframe>
- </div>
-<pre id="tree">Scrolling tree goes here</pre>
-</body>
-</html>
Deleted: trunk/LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame.html (240504 => 240505)
--- trunk/LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame.html 2019-01-25 21:56:05 UTC (rev 240504)
+++ trunk/LayoutTests/tiled-drawing/scrolling/frames/coordinated-frame.html 2019-01-25 21:56:20 UTC (rev 240505)
@@ -1,53 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <style>
- body {
- height: 1000px;
- }
-
- iframe {
- display: block;
- margin: 10px;
- border: 5px solid black;
- }
-
- #container {
- position: absolute;
- top: 10px;
- border: 4px solid green;
- padding: 10px;
- }
-
- #container {
- border: 4px solid orange;
- }
-
- #tree {
- position: absolute;
- top: 375px;
- }
- </style>
- <script>
- if (window.testRunner) {
- testRunner.dumpAsText();
- window.internals.settings.setScrollingTreeIncludesFrames(true);
- }
-
- function startTest()
- {
- if (window.internals)
- document.getElementById('tree').innerText = internals.scrollingStateTreeAsText();
- }
-
- window.addEventListener('load', startTest, false);
- </script>
-</head>
-<body>
-
- <div id="container">
- <iframe src="" width="500" height="300"></iframe>
- </div>
-<pre id="tree">Scrolling tree goes here</pre>
-</body>
-</html>
Deleted: trunk/LayoutTests/tiled-drawing/scrolling/frames/remove-coordinated-frame-expected.txt (240504 => 240505)
--- trunk/LayoutTests/tiled-drawing/scrolling/frames/remove-coordinated-frame-expected.txt 2019-01-25 21:56:05 UTC (rev 240504)
+++ trunk/LayoutTests/tiled-drawing/scrolling/frames/remove-coordinated-frame-expected.txt 2019-01-25 21:56:20 UTC (rev 240505)
@@ -1,26 +0,0 @@
-
-(Frame scrolling node
- (scrollable area size 785 600)
- (contents size 785 1016)
- (scrollable area parameters
- (horizontal scroll elasticity 2)
- (vertical scroll elasticity 2)
- (horizontal scrollbar mode 0)
- (vertical scrollbar mode 0)
- (has enabled vertical scrollbar 1))
- (visual viewport enabled 1)
- (layout viewport at (0,0) size 785x600)
- (min layout viewport origin (0,0))
- (max layout viewport origin (0,416))
- (behavior for fixed 0)
- (children 1
- (Fixed node
- (anchor edges: AnchorEdgeLeft AnchorEdgeTop)
- (viewport rect at last layout at (0,0) size 785x600)
- (layer position at last layout (8,10))
- (children 0
- )
- )
- )
-)
-
Deleted: trunk/LayoutTests/tiled-drawing/scrolling/frames/remove-coordinated-frame.html (240504 => 240505)
--- trunk/LayoutTests/tiled-drawing/scrolling/frames/remove-coordinated-frame.html 2019-01-25 21:56:05 UTC (rev 240504)
+++ trunk/LayoutTests/tiled-drawing/scrolling/frames/remove-coordinated-frame.html 2019-01-25 21:56:20 UTC (rev 240505)
@@ -1,65 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <style>
- body {
- height: 1000px;
- }
-
- iframe {
- display: block;
- margin: 10px;
- border: 5px solid black;
- }
-
- #container {
- position: absolute;
- top: 10px;
- border: 4px solid green;
- padding: 10px;
- }
-
- #container.fixed {
- position: fixed;
- top: 10px;
- border: 4px solid orange;
- }
-
- #tree {
- position: absolute;
- top: 375px;
- }
- </style>
- <script>
- if (window.testRunner) {
- testRunner.waitUntilDone();
- testRunner.dumpAsText();
- window.internals.settings.setScrollingTreeIncludesFrames(true);
- }
-
- function startTest()
- {
- window.setTimeout(function() {
- var iframe = document.getElementById('iframe');
- iframe.remove();
-
- if (window.internals)
- document.getElementById('tree').innerText = internals.scrollingStateTreeAsText();
-
- if (window.testRunner)
- testRunner.notifyDone();
-
- }, 0);
- }
-
- window.addEventListener('load', startTest, false);
- </script>
-</head>
-<body>
-
- <div id="container" class="fixed">
- <iframe id="iframe" src="" scrolling="no" width="500" height="300"></iframe>
- </div>
-<pre id="tree">Scrolling tree goes here</pre>
-</body>
-</html>
Deleted: trunk/LayoutTests/tiled-drawing/scrolling/frames/resources/doc-with-sticky.html (240504 => 240505)
--- trunk/LayoutTests/tiled-drawing/scrolling/frames/resources/doc-with-sticky.html 2019-01-25 21:56:05 UTC (rev 240504)
+++ trunk/LayoutTests/tiled-drawing/scrolling/frames/resources/doc-with-sticky.html 2019-01-25 21:56:20 UTC (rev 240505)
@@ -1,47 +0,0 @@
-<!DOCTYPE html>
-
-<html>
-<head>
- <style>
- .box {
- height: 100px;
- width: 100px;
- background-color: blue;
- }
-
- .scrolling {
- height: 300px;
- width: 400px;
- overflow: scroll;
- -webkit-overflow-scrolling: touch;
- border: 2px solid black;
- }
-
- .spacer {
- height: 400px;
- margin: 10px;
- background-color: silver;
- }
- .sticky {
- position: -webkit-sticky;
- top: 10px;
- bottom: 10px;
- }
-
- .composited {
- -webkit-transform: translateZ(0);
- }
- </style>
-</head>
-<body>
- <div class="composited scrolling">
- <div class="spacer"></div>
- <div class="spacer"></div>
- <div class="sticky box"></div>
- <div class="spacer"></div>
- <div class="spacer"></div>
- </div>
- <div class="sticky box"></div>
-
-</body>
-</html>