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

Side by Side Diff: third_party/WebKit/LayoutTests/media/track/track-cue-rendering-vertical-expected.html

Issue 2081513002: Remove video-test.js dependency from track-cue-rendering* tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add reference tests Created 4 years, 5 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
(Empty)
1 <!DOCTYPE html>
2 <html lang="ja">
3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4 <title>Test rendering vertical line-positioned cues with Japanese text (referenc e).</title>
5 <script src="../media-file.js"></script>
6 <video></video>
7 <script>
8 var video = document.querySelector("video");
9 video.src = findMediaFile("video", "../content/test");
10 video.currentTime = 0.75;
11 var track = video.addTextTrack("captions");
12
13 var cue = new VTTCue(0, 1, "Cue 1: 私は立派な人");
14 cue.vertical = "rl";
15 track.addCue(cue);
16
17 cue = new VTTCue(0, 1, "Cue 2: 私は立派な人");
18 cue.vertical = "rl";
19 track.addCue(cue);
20
21 cue = new VTTCue(0, 1, "Cue 3: 私は立派な人");
22 cue.line = 3;
23 cue.vertical = "rl";
24 track.addCue(cue);
25
26 cue = new VTTCue(0, 1, "Cue 4: 私は立派な人");
27 cue.line = 4;
28 cue.vertical = "rl";
29 track.addCue(cue);
30
31 cue = new VTTCue(0, 1, "Cue 5: 私は立派な人");
32 cue.line = 0;
33 cue.vertical = "rl";
34 track.addCue(cue);
35
36 cue = new VTTCue(0, 1, "Cue 6: 私は立派な人");
37 cue.line = 1;
38 cue.vertical = "rl";
39 track.addCue(cue);
40
41 track.mode = "showing";
42 </script>
43 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698