diff options
Diffstat (limited to 'third_party/WebKit/LayoutTests/platform/mac/compositing')
9 files changed, 208 insertions, 0 deletions
diff --git a/third_party/WebKit/LayoutTests/platform/mac/compositing/geometry/video-fixed-scrolling-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/compositing/geometry/video-fixed-scrolling-expected.txt new file mode 100644 index 0000000..0bb4271 --- /dev/null +++ b/third_party/WebKit/LayoutTests/platform/mac/compositing/geometry/video-fixed-scrolling-expected.txt @@ -0,0 +1,20 @@ +layer at (0,0) size 785x1016 + RenderView at (0,0) size 785x600 +layer at (0,0) size 785x1016 + RenderBlock {HTML} at (0,0) size 785x1016 + RenderBody {BODY} at (8,8) size 769x1000 + RenderBlock (anonymous) at (0,0) size 769x384 + RenderText {#text} at (0,0) size 0x0 + RenderBlock {P} at (0,400) size 769x18 + RenderText {#text} at (0,0) size 445x18 + text run at (0,0) width 445: "The blue bar should be in front of the video, and at the top of the page." +layer at (8,88) size 400x300 + RenderVideo {VIDEO} at (0,80) size 400x300 +layer at (8,88) size 400x300 + RenderFlexibleBox {DIV} at (0,0) size 400x300 + RenderBlock {DIV} at (0,265) size 400x35 +layer at (8,88) size 400x265 + RenderFlexibleBox {DIV} at (0,0) size 400x265 +layer at (0,50) size 500x60 + RenderBlock (positioned) {DIV} at (0,0) size 500x60 [bgcolor=#0000FFCC] +scrolled to 0,50 diff --git a/third_party/WebKit/LayoutTests/platform/mac/compositing/geometry/video-opacity-overlay-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/compositing/geometry/video-opacity-overlay-expected.txt index 35d2c45..16b707e 100644 --- a/third_party/WebKit/LayoutTests/platform/mac/compositing/geometry/video-opacity-overlay-expected.txt +++ b/third_party/WebKit/LayoutTests/platform/mac/compositing/geometry/video-opacity-overlay-expected.txt @@ -12,6 +12,11 @@ layer at (8,50) size 402x302 RenderText {#text} at (0,0) size 0x0 layer at (9,51) size 400x300 RenderVideo {VIDEO} at (0,0) size 400x300 +layer at (9,51) size 400x300 + RenderFlexibleBox {DIV} at (0,0) size 400x300 + RenderBlock {DIV} at (0,265) size 400x35 +layer at (9,51) size 400x265 + RenderFlexibleBox {DIV} at (0,0) size 400x265 layer at (9,355) size 10x10 transparent RenderBlock {DIV} at (1,305) size 10x10 [bgcolor=#008000] layer at (9,291) size 400x60 diff --git a/third_party/WebKit/LayoutTests/platform/mac/compositing/layers-inside-overflow-scroll-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/compositing/layers-inside-overflow-scroll-expected.txt new file mode 100644 index 0000000..5f19f23 --- /dev/null +++ b/third_party/WebKit/LayoutTests/platform/mac/compositing/layers-inside-overflow-scroll-expected.txt @@ -0,0 +1,20 @@ +layer at (0,0) size 800x600 + RenderView at (0,0) size 800x600 +layer at (0,0) size 800x428 + RenderBlock {HTML} at (0,0) size 800x428 + RenderBody {BODY} at (8,16) size 784x402 + RenderBlock {P} at (0,0) size 784x18 + RenderText {#text} at (0,0) size 437x18 + text run at (0,0) width 437: "The red box in the overflow:scroll div should be scrolled out of view." + RenderBlock {DIV} at (10,34) size 302x206 [border: (1px solid #000000)] + RenderText {#text} at (0,0) size 0x0 +layer at (19,51) size 300x200 + RenderVideo {VIDEO} at (1,1) size 300x200 +layer at (18,266) size 302x152 clip at (19,267) size 285x150 scrollY 100 scrollHeight 500 + RenderBlock {DIV} at (10,250) size 302x152 [border: (1px solid #000000)] + RenderBlock {DIV} at (1,1) size 285x500 +layer at (19,51) size 300x200 + RenderFlexibleBox {DIV} at (0,0) size 300x200 + RenderBlock {DIV} at (0,165) size 300x35 +layer at (19,51) size 300x165 + RenderFlexibleBox {DIV} at (0,0) size 300x165 diff --git a/third_party/WebKit/LayoutTests/platform/mac/compositing/overflow/overflow-compositing-descendant-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/compositing/overflow/overflow-compositing-descendant-expected.txt new file mode 100644 index 0000000..af2cceb --- /dev/null +++ b/third_party/WebKit/LayoutTests/platform/mac/compositing/overflow/overflow-compositing-descendant-expected.txt @@ -0,0 +1,22 @@ +layer at (0,0) size 800x600 + RenderView at (0,0) size 800x600 +layer at (0,0) size 800x50 + RenderBlock {HTML} at (0,0) size 800x50 + RenderBody {BODY} at (8,16) size 784x18 + RenderBlock {P} at (0,0) size 784x18 + RenderText {#text} at (0,0) size 467x18 + text run at (0,0) width 467: "You should see a green box under the video. If you see red, the test failed." +layer at (8,50) size 132x222 clip at (9,51) size 130x220 scrollHeight 224 + RenderBlock (positioned) {DIV} at (8,50) size 132x222 [bgcolor=#FFFFFF] [border: (1px solid #000000)] + RenderBlock (anonymous) at (11,11) size 110x104 + RenderText {#text} at (0,0) size 0x0 + RenderBlock {DIV} at (11,115) size 100x100 [bgcolor=#FF0000] +layer at (19,61) size 100x100 + RenderVideo {VIDEO} at (0,0) size 100x100 [bgcolor=#000000] +layer at (19,61) size 100x100 + RenderFlexibleBox {DIV} at (0,0) size 100x100 + RenderBlock {DIV} at (0,65) size 100x35 +layer at (19,61) size 100x65 + RenderFlexibleBox {DIV} at (0,0) size 100x65 +layer at (19,165) size 100x100 + RenderBlock (relative positioned) {DIV} at (11,115) size 100x100 [bgcolor=#008000] diff --git a/third_party/WebKit/LayoutTests/platform/mac/compositing/overflow/scroll-ancestor-update-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/compositing/overflow/scroll-ancestor-update-expected.txt new file mode 100644 index 0000000..c3561f4 --- /dev/null +++ b/third_party/WebKit/LayoutTests/platform/mac/compositing/overflow/scroll-ancestor-update-expected.txt @@ -0,0 +1,27 @@ +layer at (0,0) size 800x600 + RenderView at (0,0) size 800x600 +layer at (0,0) size 800x104 + RenderBlock {HTML} at (0,0) size 800x104 + RenderBody {BODY} at (0,0) size 800x104 + RenderText {#text} at (0,0) size 0x0 +layer at (0,0) size 100x100 + RenderVideo {VIDEO} at (0,0) size 100x100 +layer at (50,50) size 100x100 + RenderBlock (positioned) {DIV} at (50,50) size 100x100 [bgcolor=#FF0000] +layer at (50,50) size 200x200 + RenderBlock (positioned) {DIV} at (50,50) size 200x200 + RenderBlock {P} at (0,218) size 200x54 + RenderText {#text} at (0,0) size 191x54 + text run at (0,0) width 191: "The green box should obscure" + text run at (0,18) width 180: "the red box, and move when" + text run at (0,36) width 141: "you drag the scrollbar." +layer at (50,50) size 202x202 clip at (51,51) size 185x200 scrollY 50 scrollHeight 550 + RenderBlock {DIV} at (0,0) size 202x202 [border: (1px solid #000000)] + RenderBlock {DIV} at (1,51) size 185x500 +layer at (51,51) size 100x100 + RenderBlock (relative positioned) {DIV} at (0,0) size 100x100 [bgcolor=#008000] +layer at (0,0) size 100x100 + RenderFlexibleBox {DIV} at (0,0) size 100x100 + RenderBlock {DIV} at (0,65) size 100x35 +layer at (0,0) size 100x65 + RenderFlexibleBox {DIV} at (0,0) size 100x65 diff --git a/third_party/WebKit/LayoutTests/platform/mac/compositing/reflections/load-video-in-reflection-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/compositing/reflections/load-video-in-reflection-expected.txt new file mode 100644 index 0000000..cdc657f --- /dev/null +++ b/third_party/WebKit/LayoutTests/platform/mac/compositing/reflections/load-video-in-reflection-expected.txt @@ -0,0 +1,18 @@ +layer at (0,0) size 800x600 + RenderView at (0,0) size 800x600 +layer at (0,0) size 800x350 + RenderBlock {HTML} at (0,0) size 800x350 + RenderBody {BODY} at (8,16) size 784x326 + RenderBlock {P} at (0,0) size 784x18 + RenderText {#text} at (0,0) size 493x18 + text run at (0,0) width 493: "You should see a reflected video below, rather than the red video background." +layer at (8,50) size 300x292 + RenderBlock {DIV} at (0,34) size 300x292 + RenderText {#text} at (0,0) size 0x0 +layer at (8,50) size 352x288 + RenderVideo {VIDEO} at (0,0) size 352x288 [bgcolor=#FF0000] +layer at (8,50) size 352x288 + RenderFlexibleBox {DIV} at (0,0) size 352x288 + RenderBlock {DIV} at (0,253) size 352x35 +layer at (8,50) size 352x253 + RenderFlexibleBox {DIV} at (0,0) size 352x253 diff --git a/third_party/WebKit/LayoutTests/platform/mac/compositing/self-painting-layers-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/compositing/self-painting-layers-expected.txt new file mode 100644 index 0000000..b80fa47 --- /dev/null +++ b/third_party/WebKit/LayoutTests/platform/mac/compositing/self-painting-layers-expected.txt @@ -0,0 +1,28 @@ +layer at (0,0) size 800x600 + RenderView at (0,0) size 800x600 +layer at (0,0) size 800x428 + RenderBlock {HTML} at (0,0) size 800x428 + RenderBody {BODY} at (8,16) size 784x402 + RenderBlock {P} at (0,0) size 784x18 + RenderText {#text} at (0,0) size 326x18 + text run at (0,0) width 326: "You should not see double text when the div scrolls" + RenderBlock {DIV} at (10,34) size 302x206 [border: (1px solid #000000)] + RenderText {#text} at (0,0) size 0x0 +layer at (19,51) size 300x200 + RenderVideo {VIDEO} at (1,1) size 300x200 +layer at (18,266) size 302x152 clip at (19,267) size 285x150 scrollY 24 scrollHeight 500 + RenderBlock {DIV} at (10,250) size 302x152 [border: (1px solid #000000)] + RenderBlock {DIV} at (1,1) size 285x500 + RenderText {#text} at (0,5) size 107x37 + text run at (0,5) width 107: "Scrolled" + RenderBR {BR} at (107,5) size 0x37 + RenderText {#text} at (0,53) size 48x37 + text run at (0,53) width 48: "text" + RenderBR {BR} at (48,53) size 0x37 + RenderText {#text} at (0,101) size 63x37 + text run at (0,101) width 63: "here." +layer at (19,51) size 300x200 + RenderFlexibleBox {DIV} at (0,0) size 300x200 + RenderBlock {DIV} at (0,165) size 300x35 +layer at (19,51) size 300x165 + RenderFlexibleBox {DIV} at (0,0) size 300x165 diff --git a/third_party/WebKit/LayoutTests/platform/mac/compositing/video-frame-size-change-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/compositing/video-frame-size-change-expected.txt index 36efe66..3552c70 100644 --- a/third_party/WebKit/LayoutTests/platform/mac/compositing/video-frame-size-change-expected.txt +++ b/third_party/WebKit/LayoutTests/platform/mac/compositing/video-frame-size-change-expected.txt @@ -15,3 +15,13 @@ layer at (8,50) size 320x180 RenderVideo {VIDEO} at (0,0) size 320x180 layer at (332,50) size 320x180 RenderVideo {VIDEO} at (324,0) size 320x180 +layer at (8,50) size 320x180 + RenderFlexibleBox {DIV} at (0,0) size 320x180 + RenderBlock {DIV} at (0,145) size 320x35 +layer at (8,50) size 320x145 + RenderFlexibleBox {DIV} at (0,0) size 320x145 +layer at (332,50) size 320x180 + RenderFlexibleBox {DIV} at (0,0) size 320x180 + RenderBlock {DIV} at (0,145) size 320x35 +layer at (332,50) size 320x145 + RenderFlexibleBox {DIV} at (0,0) size 320x145 diff --git a/third_party/WebKit/LayoutTests/platform/mac/compositing/video/video-poster-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/compositing/video/video-poster-expected.txt new file mode 100644 index 0000000..bcff28b --- /dev/null +++ b/third_party/WebKit/LayoutTests/platform/mac/compositing/video/video-poster-expected.txt @@ -0,0 +1,58 @@ +A <video> should not have a layer until playback begins. +This test can not be run manually, it requires testRunner.layerTreeAsText. + +Case: No src, no poster +{ + "bounds": [800, 600], + "children": [ + { + "bounds": [800, 600], + "contentsOpaque": true, + "drawsContent": true + } + ] +} + + +Case: Displaying poster +{ + "bounds": [800, 600], + "children": [ + { + "bounds": [800, 600], + "contentsOpaque": true, + "drawsContent": true + } + ] +} + + +Case: Displaying movie +{ + "bounds": [785, 782], + "children": [ + { + "bounds": [785, 782], + "contentsOpaque": true, + "drawsContent": true, + "children": [ + { + "children": [ + { + "position": [8, 8], + "bounds": [352, 288] + }, + { + "position": [8, 8], + "bounds": [352, 288], + "drawsContent": true + } + ] + } + ] + } + ] +} + + + |