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

Side by Side Diff: third_party/WebKit/LayoutTests/media/track/track-css-user-settings-override-author-settings.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 <script src=../media-file.js></script> 2 <script src=../media-file.js></script>
3 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956
4 (Please avoid writing new tests using video-test.js) -->
3 <script src=../video-test.js></script> 5 <script src=../video-test.js></script>
4 <script src=../media-controls.js></script> 6 <script src=../media-controls.js></script>
5 <style> 7 <style>
6 /* Author settings for the cues */ 8 /* Author settings for the cues */
7 video::cue(c) { 9 video::cue(c) {
8 color: red; 10 color: red;
9 background-color: green; 11 background-color: green;
10 text-shadow: 3px 3px #00ff00; 12 text-shadow: 3px 3px #00ff00;
11 font-size: 20px; 13 font-size: 20px;
12 font-family: arial; 14 font-family: arial;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 findMediaElement(); 64 findMediaElement();
63 video.src = findMediaFile('video', '../content/test'); 65 video.src = findMediaFile('video', '../content/test');
64 video.currentTime = 0.1; 66 video.currentTime = 0.1;
65 waitForEvent('canplaythrough', verifyAuthorSettings); 67 waitForEvent('canplaythrough', verifyAuthorSettings);
66 } 68 }
67 69
68 </script> 70 </script>
69 <video> 71 <video>
70 <track src="captions-webvtt/styling.vtt" kind="captions" default> 72 <track src="captions-webvtt/styling.vtt" kind="captions" default>
71 </video> 73 </video>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698