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

Side by Side Diff: LayoutTests/media/track/track-webvtt-tc029-timings-whitespace.html

Issue 59153008: Minor adjustment to WebVTT tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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 <script src=../media-file.js></script> 6 <script src=../media-file.js></script>
7 <script src=../video-test.js></script> 7 <script src=../video-test.js></script>
8 <script> 8 <script>
9 9
10 numberOfTrackTests = 1; 10 numberOfTrackTests = 1;
(...skipping 23 matching lines...) Expand all
34 values: [ "0.1","0.1","0.1","0.1","0.1","0.1","0.1", "0.1","0.1","0.1","0.1","0.1"], 34 values: [ "0.1","0.1","0.1","0.1","0.1","0.1","0.1", "0.1","0.1","0.1","0.1","0.1"],
35 }, 35 },
36 { 36 {
37 property: "endTime", 37 property: "endTime",
38 values: [ "1.5","1.5","1.5","1.5","1.5","1.5","1.5", "1.5","1.5","1.5","1.5","1.5"], 38 values: [ "1.5","1.5","1.5","1.5","1.5","1.5","1.5", "1.5","1.5","1.5","1.5","1.5"],
39 }, 39 },
40 { 40 {
41 property: "text", 41 property: "text",
42 values: 42 values:
43 [ 43 [
44 'Single U+0020 SPACE left of cue-timings separator "-->"', 44 'Single U+0020 SPACE left of cue-timings separator ',
45 'Single U+0020 SPACE right of cue-timings separato r "-->"', 45 'Single U+0020 SPACE right of cue-timings separato r',
46 'Single U+0009 TAB left of cue-timings separator " -->"', 46 'Single U+0009 TAB left of cue-timings separator',
47 'Single U+0009 TAB right of cue-timings separator "-->"', 47 'Single U+0009 TAB right of cue-timings separator' ,
48 'Single U+000C FORM FEED left of cue-timings separ ator "-->"', 48 'Single U+000C FORM FEED left of cue-timings separ ator',
49 'Single U+000C FORM FEED right of cue-timings sepa rator "-->"', 49 'Single U+000C FORM FEED right of cue-timings sepa rator',
50 'Several U+0020 SPACE left of cue-timings separato r "-->"', 50 'Several U+0020 SPACE left of cue-timings separato r',
51 'Several U+0020 SPACE right of cue-timings separat or "-->"', 51 'Several U+0020 SPACE right of cue-timings separat or',
52 'Several U+0009 TAB left of cue-timings separator "-->"', 52 'Several U+0009 TAB left of cue-timings separator' ,
53 'Several U+0009 TAB right of cue-timings separator "-->"', 53 'Several U+0009 TAB right of cue-timings separator ',
54 'Several U+000C FORM FEED left of cue-timings sepa rator "-->"', 54 'Several U+000C FORM FEED left of cue-timings sepa rator',
55 'Several U+000C FORM FEED right of cue-timings sep arator "-->"', 55 'Several U+000C FORM FEED right of cue-timings sep arator',
56 ], 56 ],
57 }, 57 },
58 ], 58 ],
59 }; 59 };
60 testCues(0, expected); 60 testCues(0, expected);
61 61
62 allTestsEnded(); 62 allTestsEnded();
63 } 63 }
64 </script> 64 </script>
65 </head> 65 </head>
66 <body onload="enableAllTextTracks()"> 66 <body onload="enableAllTextTracks()">
67 <p>Tests that "Skip whitespace" step around cue-timings separator is worki ng correctly.</p> 67 <p>Tests that "Skip whitespace" step around cue-timings separator is worki ng correctly.</p>
68 <video> 68 <video>
69 <track src="captions-webvtt/tc029-timings-whitespace.vtt" onload="tr ackLoaded()"> 69 <track src="captions-webvtt/tc029-timings-whitespace.vtt" onload="tr ackLoaded()">
70 </video> 70 </video>
71 </body> 71 </body>
72 </html> 72 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698