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

Side by Side Diff: third_party/WebKit/LayoutTests/media/track/track-cue-rendering-with-padding.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 <head> 3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5 5
6 <style type="text/css"> 6 <style type="text/css">
7 video::-webkit-media-text-track-display { 7 video::-webkit-media-text-track-display {
8 padding: 15px; 8 padding: 15px;
9 } 9 }
10 </style> 10 </style>
11 11
12 <script src=../media-file.js></script> 12 <script src=../media-file.js></script>
13 <script src=../media-controls.js></script> 13 <script src=../media-controls.js></script>
14 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956
15 (Please avoid writing new tests using video-test.js) -->
14 <script src=../video-test.js></script> 16 <script src=../video-test.js></script>
15 17
16 <script> 18 <script>
17 var cueContainerBottomPoint; 19 var cueContainerBottomPoint;
18 var cueDisplayBottomPoint; 20 var cueDisplayBottomPoint;
19 21
20 function startTest() 22 function startTest()
21 { 23 {
22 if (!window.internals) { 24 if (!window.internals) {
23 consoleWrite("<br><b>** This test only works in DRT! **<" + "/b> "); 25 consoleWrite("<br><b>** This test only works in DRT! **<" + "/b> ");
(...skipping 26 matching lines...) Expand all
50 } 52 }
51 53
52 </script> 54 </script>
53 </head> 55 </head>
54 <body onload="loaded()"> 56 <body onload="loaded()">
55 <video controls> 57 <video controls>
56 <track src="captions-webvtt/captions-fast.vtt" kind="captions" defau lt> 58 <track src="captions-webvtt/captions-fast.vtt" kind="captions" defau lt>
57 </video> 59 </video>
58 </body> 60 </body>
59 </html> 61 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698