14 border: 1px solid black;
23 background-color: green;
27 transform: translateZ(1px);
31 <script src="../resources/media-testing.js"></script>
32 <script src="../../media/media-file.js"></script>
33 <script type="text/javascript" charset="utf-8">
34 if (window.testRunner)
35 testRunner.dumpAsTextWithPixelResults();
38 function notifyVideoDone() {
39 counter = counter + 1;
40 if ((counter === 3) && (window.testRunner))
41 testRunner.notifyDone();
46 setupVideo(document.getElementsByTagName('video')[0], '../resources/video', notifyVideoDone);
47 setupVideo(document.getElementsByTagName('video')[1], '../resources/video', notifyVideoDone);
48 setupVideo(document.getElementsByTagName('video')[2], '../resources/video', notifyVideoDone);
53 <body onload="doTest()">
54 <!-- Tests CSS visibility flag for composited video layers. -->
55 <!-- Pixel test only. Only the top video should be visible, the other two should be hidden (borders should remain visible) -->
56 <div><video class="visible composited box"></video></div>
57 <div><video class="hidden box"></video></div>
58 <div><video class="hidden composited box"></video></div>