OLD | NEW |
1 A <video> should not have a layer until playback begins. | 1 A <video> should not have a layer until playback begins. |
2 This test can not be run manually, it requires testRunner.layerTreeAsText. | 2 This test can not be run manually, it requires testRunner.layerTreeAsText. |
3 | 3 |
4 Case: No src, no poster | 4 Case: No src, no poster |
5 { | 5 { |
| 6 "name": "Content Root Layer", |
6 "bounds": [800, 600], | 7 "bounds": [800, 600], |
7 "children": [ | 8 "children": [ |
8 { | 9 { |
| 10 "name": "LayoutView #document", |
9 "bounds": [800, 600], | 11 "bounds": [800, 600], |
10 "contentsOpaque": true, | 12 "contentsOpaque": true, |
11 "drawsContent": true | 13 "drawsContent": true |
12 } | 14 } |
13 ] | 15 ] |
14 } | 16 } |
15 | 17 |
16 | 18 |
17 Case: Displaying poster | 19 Case: Displaying poster |
18 { | 20 { |
19 "bounds": [785, 601], | 21 "name": "Content Root Layer", |
| 22 "bounds": [785, 633], |
20 "children": [ | 23 "children": [ |
21 { | 24 { |
22 "bounds": [785, 601], | 25 "name": "LayoutView #document", |
| 26 "bounds": [785, 633], |
23 "contentsOpaque": true, | 27 "contentsOpaque": true, |
24 "drawsContent": true | 28 "drawsContent": true |
25 } | 29 } |
26 ] | 30 ] |
27 } | 31 } |
28 | 32 |
29 | 33 |
30 Case: Displaying movie | 34 Case: Displaying movie |
31 { | 35 { |
32 "bounds": [785, 809], | 36 "name": "Content Root Layer", |
| 37 "bounds": [785, 873], |
33 "children": [ | 38 "children": [ |
34 { | 39 { |
35 "bounds": [785, 809], | 40 "name": "LayoutView #document", |
| 41 "bounds": [785, 873], |
36 "contentsOpaque": true, | 42 "contentsOpaque": true, |
37 "drawsContent": true, | 43 "drawsContent": true, |
38 "children": [ | 44 "children": [ |
39 { | 45 { |
| 46 "name": "LayoutVideo VIDEO", |
40 "position": [8, 8], | 47 "position": [8, 8], |
41 "bounds": [352, 288] | 48 "bounds": [352, 288] |
42 }, | 49 }, |
43 { | 50 { |
| 51 "name": "Squashing Containment Layer", |
44 "shouldFlattenTransform": false, | 52 "shouldFlattenTransform": false, |
45 "children": [ | 53 "children": [ |
46 { | 54 { |
| 55 "name": "LayoutFlexibleBox (relative positioned) DIV", |
47 "position": [8, 8], | 56 "position": [8, 8], |
48 "bounds": [352, 288], | 57 "bounds": [352, 288], |
49 "drawsContent": true | 58 "drawsContent": true |
50 }, | 59 }, |
51 { | 60 { |
| 61 "name": "Squashing Layer (first squashed layer: LayoutFlexibleBox
(relative positioned) DIV)", |
52 "position": [8, 8], | 62 "position": [8, 8], |
53 "bounds": [352, 246], | 63 "bounds": [352, 246], |
54 "drawsContent": true | 64 "drawsContent": true |
55 } | 65 } |
56 ] | 66 ] |
57 } | 67 } |
58 ] | 68 ] |
59 } | 69 } |
60 ] | 70 ] |
61 } | 71 } |
62 | 72 |
63 | 73 |
64 | 74 |
OLD | NEW |