| 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": [785, 605], |
| "children": [ |
| { |
| "bounds": [785, 605], |
| "contentsOpaque": true, |
| "drawsContent": true |
| } |
| ] |
| } |
| |
| |
| Case: Displaying movie |
| { |
| "bounds": [785, 813], |
| "children": [ |
| { |
| "bounds": [785, 813], |
| "contentsOpaque": true, |
| "drawsContent": true, |
| "children": [ |
| { |
| "position": [8, 8], |
| "bounds": [352, 288] |
| }, |
| { |
| "shouldFlattenTransform": false, |
| "children": [ |
| { |
| "position": [8, 8], |
| "bounds": [352, 288], |
| "drawsContent": true |
| }, |
| { |
| "position": [8, 8], |
| "bounds": [352, 253], |
| "drawsContent": true |
| } |
| ] |
| } |
| ] |
| } |
| ] |
| } |
| |
| |
| |