OLD | NEW |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 div { | 5 div { |
6 -webkit-transform:translateZ(0); | 6 transform:translateZ(0); |
7 position: absolute; | 7 position: absolute; |
8 top: 100px; | 8 top: 100px; |
9 left: 0px; | 9 left: 0px; |
10 width: 300px; | 10 width: 300px; |
11 height: 300px; | 11 height: 300px; |
12 background-color: green; | 12 background-color: green; |
13 z-index: 2; | 13 z-index: 2; |
14 } | 14 } |
15 video { | 15 video { |
16 position: absolute; | 16 position: absolute; |
(...skipping 24 matching lines...) Expand all Loading... |
41 <body onload="runTest()"> | 41 <body onload="runTest()"> |
42 <!-- video controls should appear in their own layer --> | 42 <!-- video controls should appear in their own layer --> |
43 <video controls> | 43 <video controls> |
44 </video> | 44 </video> |
45 | 45 |
46 <!-- this div is beneath the video in a stacking context and should thro
ugh the video into compositing due to overlap --> | 46 <!-- this div is beneath the video in a stacking context and should thro
ugh the video into compositing due to overlap --> |
47 <div></div> | 47 <div></div> |
48 </body> | 48 </body> |
49 </html> | 49 </html> |
50 | 50 |
OLD | NEW |