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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/video/video-reflection.html

Issue 1715303002: Add TODOs to convert from video-test.js to testharness.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add bug ref Created 4 years, 10 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/events/media-focus-in-standalone-media-document.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../media/media-file.js"></script> 4 <script src="../../media/media-file.js"></script>
5 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956
6 (Please avoid writing new tests using video-test.js) -->
5 <script src="../../media/video-test.js"></script> 7 <script src="../../media/video-test.js"></script>
6 <script type="text/javascript"> 8 <script type="text/javascript">
7 if (window.testRunner) { 9 if (window.testRunner) {
8 window.testRunner.dumpAsTextWithPixelResults(); 10 window.testRunner.dumpAsTextWithPixelResults();
9 window.testRunner.waitUntilDone(); 11 window.testRunner.waitUntilDone();
10 } 12 }
11 function runTest() { 13 function runTest() {
12 video = document.getElementById('video'); 14 video = document.getElementById('video');
13 video.addEventListener('canplaythrough', canplaythrough, true); 15 video.addEventListener('canplaythrough', canplaythrough, true);
14 video.src = findMediaFile('video', '../../media/content/test'); 16 video.src = findMediaFile('video', '../../media/content/test');
(...skipping 14 matching lines...) Expand all
29 video { 31 video {
30 -webkit-box-reflect: below 0px; 32 -webkit-box-reflect: below 0px;
31 border: 3px solid red; 33 border: 3px solid red;
32 } 34 }
33 </style> 35 </style>
34 </head> 36 </head>
35 <body onload="runTest()"> 37 <body onload="runTest()">
36 <video id="video"></video> 38 <video id="video"></video>
37 </body> 39 </body>
38 </html> 40 </html>
39
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/events/media-focus-in-standalone-media-document.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698