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..a2211dd0135f220541240dd2c7b4d1271679c33d |
--- /dev/null |
+++ b/LayoutTests/compositing/layer-creation/scroll-blocks-on-iframe-expected.txt |
@@ -0,0 +1,108 @@ |
+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, 60], |
+ "bounds": [100, 15], |
+ "drawsContent": true, |
+ "children": [ |
+ { |
+ "bounds": [100, 15], |
+ "children": [ |
+ { |
+ "bounds": [100, 15], |
+ "children": [ |
+ { |
+ "children": [ |
+ { |
+ "bounds": [100, 15], |
+ "children": [ |
+ { |
+ "bounds": [100, 15], |
+ "scrollBlocksOn": ["StartTouch", "WheelEvent"], |
+ "drawsContent": true |
+ } |
+ ] |
+ } |
+ ] |
+ } |
+ ] |
+ } |
+ ] |
+ } |
+ ] |
+ }, |
+ { |
+ "position": [8, 80], |
+ "bounds": [100, 15], |
+ "drawsContent": true, |
+ "children": [ |
+ { |
+ "bounds": [100, 15], |
+ "children": [ |
+ { |
+ "bounds": [100, 15], |
+ "children": [ |
+ { |
+ "children": [ |
+ { |
+ "bounds": [100, 15], |
+ "children": [ |
+ { |
+ "bounds": [100, 15], |
+ "scrollBlocksOn": ["StartTouch", "ScrollEvent"], |
+ "drawsContent": true |
+ } |
+ ] |
+ } |
+ ] |
+ } |
+ ] |
+ } |
+ ] |
+ } |
+ ] |
+ } |
+ ] |
+ } |
+ ] |
+} |
+ |
+ |
+-------- |
+Frame: '<!--framePath //<!--frame2-->-->' |
+-------- |
+{ |
+ "bounds": [100, 15], |
+ "children": [ |
+ { |
+ "bounds": [100, 15], |
+ "scrollBlocksOn": ["StartTouch", "WheelEvent"], |
+ "drawsContent": true |
+ } |
+ ] |
+} |
+ |
+ |
+-------- |
+Frame: '<!--framePath //<!--frame3-->-->' |
+-------- |
+{ |
+ "bounds": [100, 15], |
+ "children": [ |
+ { |
+ "bounds": [100, 15], |
+ "scrollBlocksOn": ["StartTouch", "ScrollEvent"], |
+ "drawsContent": true |
+ } |
+ ] |
+} |
+ |