| 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 |
| { |
| "layers": [ |
| { |
| "name": "Scrolling Contents Layer", |
| "bounds": [1200, 900], |
| "contentsOpaque": true, |
| "backgroundColor": "#FFFFFF" |
| } |
| ] |
| } |
| |
| |
| Case: Displaying poster |
| { |
| "layers": [ |
| { |
| "name": "Scrolling Contents Layer", |
| "bounds": [1200, 900], |
| "contentsOpaque": true, |
| "backgroundColor": "#FFFFFF" |
| } |
| ] |
| } |
| |
| |
| Case: Displaying movie |
| { |
| "layers": [ |
| { |
| "name": "Scrolling Contents Layer", |
| "bounds": [1178, 1160], |
| "contentsOpaque": true, |
| "backgroundColor": "#FFFFFF" |
| }, |
| { |
| "name": "LayoutVideo VIDEO", |
| "bounds": [528, 432], |
| "drawsContent": false, |
| "transform": 1 |
| }, |
| { |
| "name": "ContentsLayer for LayoutVideo VIDEO", |
| "bounds": [528, 432], |
| "transform": 1 |
| }, |
| { |
| "name": "LayoutNGFlexibleBox (relative positioned) DIV class='sizing-small phase-ready state-scrubbing'", |
| "bounds": [528, 432], |
| "transform": 1 |
| }, |
| { |
| "name": "Squashing Layer (first squashed layer: LayoutNGBlockFlow (positioned) DIV)", |
| "bounds": [528, 432], |
| "transform": 1 |
| }, |
| { |
| "name": "ContentsLayer for Vertical Scrollbar Layer", |
| "position": [1178, 0], |
| "bounds": [22, 900], |
| "contentsOpaque": true |
| } |
| ], |
| "transforms": [ |
| { |
| "id": 1, |
| "transform": [ |
| [1, 0, 0, 0], |
| [0, 1, 0, 0], |
| [0, 0, 1, 0], |
| [12, 12, 0, 1] |
| ] |
| } |
| ] |
| } |
| |
| |
| |