Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(284)

Side by Side Diff: LayoutTests/compositing/video/video-controls-layer-creation.html

Issue 24438004: Rename testRunner.dumpAsText(true) to testRunner.dumpAsTextWithPixelResults() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: more tests Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 -webkit-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;
17 top: 0px; 17 top: 0px;
18 left: 0px; 18 left: 0px;
19 width: 272px; 19 width: 272px;
20 height: 153px; 20 height: 153px;
21 z-index: 3; 21 z-index: 3;
22 } 22 }
23 </style> 23 </style>
24 </head> 24 </head>
25 <script> 25 <script>
26 function runTest() { 26 function runTest() {
27 if (window.testRunner) { 27 if (window.testRunner) {
28 testRunner.dumpAsText(true); 28 testRunner.dumpAsTextWithPixelResults();
29 testRunner.waitUntilDone(true); 29 testRunner.waitUntilDone(true);
30 } 30 }
31 var video = document.querySelector('video'); 31 var video = document.querySelector('video');
32 video.onerror = endTest; 32 video.onerror = endTest;
33 video.src = "bogus.ogv"; 33 video.src = "bogus.ogv";
34 } 34 }
35 35
36 function endTest() { 36 function endTest() {
37 if (window.testRunner) 37 if (window.testRunner)
38 testRunner.notifyDone(); 38 testRunner.notifyDone();
39 } 39 }
40 </script> 40 </script>
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
OLDNEW
« no previous file with comments | « LayoutTests/compositing/video-page-visibility.html ('k') | LayoutTests/compositing/video/video-reflection.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698