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

Unified Diff: LayoutTests/media/track/track-webvtt-two-cue-layout-after-first-end-expected.html

Issue 1013393004: Eliminate TextTrackCue::updateDisplayTree() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: coerce m_isPastNode to bool Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/media/track/track-webvtt-two-cue-layout-after-first-end-expected.html
diff --git a/LayoutTests/media/track/track-webvtt-two-cue-layout-after-first-end-expected.html b/LayoutTests/media/track/track-webvtt-two-cue-layout-after-first-end-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..2f009352d10deb666b242599a4e1c4ef7e73c02d
--- /dev/null
+++ b/LayoutTests/media/track/track-webvtt-two-cue-layout-after-first-end-expected.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<title>WebVTT two-cue layout after the first cue has ended (reference)</title>
+<video style="border:1px solid gray">
+ <source src="opera/track/webvtt/rendering/reftest/media/white.webm" type="video/webm">
+ <source src="opera/track/webvtt/rendering/reftest/media/white.mp4" type="video/mp4">
+</video>
+<script>
+// Add a single cue at line -2, where it would be if there was a first
+// cue at line -1.
+var video = document.querySelector("video");
+var track = video.addTextTrack("captions");
+var cue = new VTTCue(0, 3, "cue 2");
+cue.line = -2;
+track.addCue(cue);
+track.mode = "showing";
+</script>
« no previous file with comments | « LayoutTests/media/track/track-webvtt-two-cue-layout-after-first-end.html ('k') | Source/core/dom/StyleChangeReason.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698