| 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 "layers": [ |
| 7 "bounds": [800, 600], | |
| 8 "children": [ | |
| 9 { | 7 { |
| 10 "name": "LayoutView #document", | 8 "name": "LayoutView #document", |
| 11 "bounds": [800, 600], | 9 "bounds": [800, 600], |
| 12 "contentsOpaque": true, | 10 "contentsOpaque": true, |
| 13 "drawsContent": true | 11 "drawsContent": true |
| 14 } | 12 } |
| 15 ] | 13 ] |
| 16 } | 14 } |
| 17 | 15 |
| 18 | 16 |
| 19 Case: Displaying poster | 17 Case: Displaying poster |
| 20 { | 18 { |
| 21 "name": "Content Root Layer", | 19 "layers": [ |
| 22 "bounds": [785, 633], | |
| 23 "children": [ | |
| 24 { | 20 { |
| 25 "name": "LayoutView #document", | 21 "name": "LayoutView #document", |
| 26 "bounds": [785, 633], | 22 "bounds": [785, 601], |
| 27 "contentsOpaque": true, | 23 "contentsOpaque": true, |
| 28 "drawsContent": true | 24 "drawsContent": true |
| 29 } | 25 } |
| 30 ] | 26 ] |
| 31 } | 27 } |
| 32 | 28 |
| 33 | 29 |
| 34 Case: Displaying movie | 30 Case: Displaying movie |
| 35 { | 31 { |
| 36 "name": "Content Root Layer", | 32 "layers": [ |
| 37 "bounds": [785, 873], | |
| 38 "children": [ | |
| 39 { | 33 { |
| 40 "name": "LayoutView #document", | 34 "name": "LayoutView #document", |
| 41 "bounds": [785, 873], | 35 "bounds": [785, 809], |
| 42 "contentsOpaque": true, | 36 "contentsOpaque": true, |
| 43 "drawsContent": true, | 37 "drawsContent": true |
| 44 "children": [ | 38 }, |
| 45 { | 39 { |
| 46 "name": "LayoutVideo VIDEO", | 40 "name": "LayoutVideo VIDEO", |
| 47 "position": [8, 8], | 41 "position": [8, 8], |
| 48 "bounds": [352, 288] | 42 "bounds": [352, 288] |
| 49 }, | 43 }, |
| 50 { | 44 { |
| 51 "name": "Squashing Containment Layer", | 45 "name": "Squashing Containment Layer", |
| 52 "shouldFlattenTransform": false, | 46 "shouldFlattenTransform": false |
| 53 "children": [ | 47 }, |
| 54 { | 48 { |
| 55 "name": "LayoutFlexibleBox (relative positioned) DIV", | 49 "name": "LayoutFlexibleBox (relative positioned) DIV", |
| 56 "position": [8, 8], | 50 "position": [8, 8], |
| 57 "bounds": [352, 288], | 51 "bounds": [352, 288], |
| 58 "drawsContent": true | 52 "drawsContent": true |
| 59 }, | 53 }, |
| 60 { | 54 { |
| 61 "name": "Squashing Layer (first squashed layer: LayoutFlexibleBox
(relative positioned) DIV)", | 55 "name": "Squashing Layer (first squashed layer: LayoutFlexibleBox (relativ
e positioned) DIV)", |
| 62 "position": [8, 8], | 56 "position": [8, 8], |
| 63 "bounds": [352, 246], | 57 "bounds": [352, 246], |
| 64 "drawsContent": true | 58 "drawsContent": true |
| 65 } | |
| 66 ] | |
| 67 } | |
| 68 ] | |
| 69 } | 59 } |
| 70 ] | 60 ] |
| 71 } | 61 } |
| 72 | 62 |
| 73 | 63 |
| 74 | 64 |
| OLD | NEW |