| Index: third_party/WebKit/LayoutTests/media/track/track-cue-rendering-horizontal-expected.html
|
| diff --git a/third_party/WebKit/LayoutTests/media/track/track-cue-rendering-horizontal-expected.html b/third_party/WebKit/LayoutTests/media/track/track-cue-rendering-horizontal-expected.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..46d69816091cc03b2d567f66cc4bdda2a6c0de75
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/media/track/track-cue-rendering-horizontal-expected.html
|
| @@ -0,0 +1,36 @@
|
| +<!DOCTYPE html>
|
| +<title>Test rendering horizontal line-positioned cues (reference).</title>
|
| +<script src="../media-file.js"></script>
|
| +<video></video>
|
| +<script>
|
| +var video = document.querySelector("video");
|
| +video.src = findMediaFile("video", "../content/test");
|
| +video.currentTime = 0.25;
|
| +var track = video.addTextTrack("captions");
|
| +
|
| +var cue = new VTTCue(0, 1, "Cue 1: should be positioned at the top of the video.");
|
| +cue.line = 0;
|
| +track.addCue(cue);
|
| +
|
| +cue = new VTTCue(0, 1, "Cue 2: should be the second cue and not overlap cue 1.");
|
| +cue.line = 1;
|
| +track.addCue(cue);
|
| +
|
| +cue = new VTTCue(0, 1, "Cue 3: should become the third line from top to bottom.");
|
| +cue.line = 2;
|
| +track.addCue(cue);
|
| +
|
| +cue = new VTTCue(0, 1, "Cue 4: should be fixed positioned around the middle.");
|
| +cue.line = 5;
|
| +track.addCue(cue);
|
| +
|
| +cue = new VTTCue(0, 1, "Cue 5: should be displayed at the bottom of the video.");
|
| +cue.line = -1;
|
| +track.addCue(cue);
|
| +
|
| +cue = new VTTCue(0, 1, "Cue 6: should be on top of bottom positioned cue 5.");
|
| +cue.line = -2;
|
| +track.addCue(cue);
|
| +
|
| +track.mode = "showing";
|
| +</script>
|
|
|