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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/webvtt/api/VTTCue/vertical.html

Issue 2711183003: Import wpt@a7e9c2abcf65b78fcf1c246fec6681c74e1bc352 (Closed)
Patch Set: Update test expectations and baselines. Created 3 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 <title>VTTCue.vertical</title> 2 <title>VTTCue.vertical</title>
3 <link rel="help" href="https://w3c.github.io/webvtt/#dom-vttcue-vertical">
3 <script src=/resources/testharness.js></script> 4 <script src=/resources/testharness.js></script>
4 <script src=/resources/testharnessreport.js></script> 5 <script src=/resources/testharnessreport.js></script>
5 <div id=log></div> 6 <div id=log></div>
6 <script> 7 <script>
7 setup(function(){ 8 setup(function(){
8 window.video = document.createElement('video'); 9 window.video = document.createElement('video');
9 window.t1 = video.addTextTrack('subtitles'); 10 window.t1 = video.addTextTrack('subtitles');
10 document.body.appendChild(video); 11 document.body.appendChild(video);
11 }); 12 });
12 test(function(){ 13 test(function(){
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 t.onerror = this.step_func(function() { 46 t.onerror = this.step_func(function() {
46 assert_unreached('got error event'); 47 assert_unreached('got error event');
47 }); 48 });
48 t.src = 'data:text/vtt,'+encodeURIComponent('WEBVTT\n\n00:00:00.000 --> 00:0 0:00.001\ntest\n\n'+ 49 t.src = 'data:text/vtt,'+encodeURIComponent('WEBVTT\n\n00:00:00.000 --> 00:0 0:00.001\ntest\n\n'+
49 '00:00:00.000 --> 00:00:00.001 v ertical:rl\ntest\n\n'+ 50 '00:00:00.000 --> 00:00:00.001 v ertical:rl\ntest\n\n'+
50 '00:00:00.000 --> 00:00:00.001 v ertical:lr\ntest'); 51 '00:00:00.000 --> 00:00:00.001 v ertical:lr\ntest');
51 t.track.mode = 'showing'; 52 t.track.mode = 'showing';
52 video.appendChild(t); 53 video.appendChild(t);
53 }); 54 });
54 </script> 55 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698