blob: 1cb2a54c6afbde6a918e85bbe627300d045c9882 [file] [log] [blame]
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
}
]
}
]
}
]
}