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

Side by Side Diff: third_party/WebKit/LayoutTests/media/video-controls-hide-on-move-outside-controls.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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <style> 3 <style>
4 #no-video-media { 4 #no-video-media {
5 width: 320px; 5 width: 320px;
6 height: 240px; 6 height: 240px;
7 } 7 }
8 </style> 8 </style>
9 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956
10 (Please avoid writing new tests using video-test.js) -->
9 <script src=video-test.js></script> 11 <script src=video-test.js></script>
10 <script src=media-file.js></script> 12 <script src=media-file.js></script>
11 <script src=media-controls.js></script> 13 <script src=media-controls.js></script>
12 <script> 14 <script>
13 var controls; 15 var controls;
14 16
15 function runTest() 17 function runTest()
16 { 18 {
17 video = document.getElementById("no-video-media"); 19 video = document.getElementById("no-video-media");
18 20
(...skipping 26 matching lines...) Expand all
45 <body> 47 <body>
46 <p>Test video element control visibility when mouse is not over element.</p> 48 <p>Test video element control visibility when mouse is not over element.</p>
47 <p>This test only runs in DRT!</p> 49 <p>This test only runs in DRT!</p>
48 50
49 <video id="no-video-media" controls loop oncanplaythrough="runTest()"></vide o> 51 <video id="no-video-media" controls loop oncanplaythrough="runTest()"></vide o>
50 <script> 52 <script>
51 setSrcById("no-video-media", findMediaFile("video", "content/test")); 53 setSrcById("no-video-media", findMediaFile("video", "content/test"));
52 </script> 54 </script>
53 </body> 55 </body>
54 </html> 56 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698