Index: LayoutTests/compositing/layer-creation/scroll-blocks-on-iframe-expected.txt |
diff --git a/LayoutTests/compositing/layer-creation/scroll-blocks-on-iframe-expected.txt b/LayoutTests/compositing/layer-creation/scroll-blocks-on-iframe-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..662c036c581bda46a6c04ff471c9f9a889b32255 |
--- /dev/null |
+++ b/LayoutTests/compositing/layer-creation/scroll-blocks-on-iframe-expected.txt |
@@ -0,0 +1,119 @@ |
+Verify that an iframe will be promoted to a composited layer only when it has additional scroll-blocks-on bits. |
+{ |
+ "bounds": [800, 600], |
+ "children": [ |
+ { |
+ "bounds": [800, 600], |
+ "scrollBlocksOn": ["StartTouch"], |
+ "contentsOpaque": true, |
+ "drawsContent": true, |
+ "children": [ |
+ { |
+ "position": [8, 56], |
+ "bounds": [304, 7], |
+ "drawsContent": true, |
+ "children": [ |
+ { |
+ "position": [2, 2], |
+ "bounds": [300, 3], |
+ "children": [ |
+ { |
+ "bounds": [285, 3], |
+ "children": [ |
+ { |
+ "children": [ |
+ { |
+ "bounds": [285, 8], |
+ "children": [ |
+ { |
+ "bounds": [285, 8], |
+ "scrollBlocksOn": ["StartTouch", "WheelEvent"], |
+ "drawsContent": true |
+ } |
+ ] |
+ } |
+ ] |
+ } |
+ ] |
+ }, |
+ { |
+ "position": [285, 0], |
+ "bounds": [15, 3], |
+ "drawsContent": true |
+ } |
+ ] |
+ } |
+ ] |
+ }, |
+ { |
+ "position": [316, 55], |
+ "bounds": [304, 8], |
+ "drawsContent": true, |
+ "children": [ |
+ { |
+ "position": [2, 2], |
+ "bounds": [300, 4], |
+ "children": [ |
+ { |
+ "bounds": [285, 4], |
+ "children": [ |
+ { |
+ "children": [ |
+ { |
+ "bounds": [285, 8], |
+ "children": [ |
+ { |
+ "bounds": [285, 8], |
+ "scrollBlocksOn": ["StartTouch", "ScrollEvent"], |
+ "drawsContent": true |
+ } |
+ ] |
+ } |
+ ] |
+ } |
+ ] |
+ }, |
+ { |
+ "position": [285, 0], |
+ "bounds": [15, 4], |
+ "drawsContent": true |
+ } |
+ ] |
+ } |
+ ] |
+ } |
+ ] |
+ } |
+ ] |
+} |
+ |
+ |
+-------- |
+Frame: '<!--framePath //<!--frame2-->-->' |
+-------- |
+{ |
+ "bounds": [285, 8], |
+ "children": [ |
+ { |
+ "bounds": [285, 8], |
+ "scrollBlocksOn": ["StartTouch", "WheelEvent"], |
+ "drawsContent": true |
+ } |
+ ] |
+} |
+ |
+ |
+-------- |
+Frame: '<!--framePath //<!--frame3-->-->' |
+-------- |
+{ |
+ "bounds": [285, 8], |
+ "children": [ |
+ { |
+ "bounds": [285, 8], |
+ "scrollBlocksOn": ["StartTouch", "ScrollEvent"], |
+ "drawsContent": true |
+ } |
+ ] |
+} |
+ |