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

Unified Diff: LayoutTests/platform/win/media/track/track-cue-rendering-snap-to-lines-not-set-expected.txt

Issue 25155003: Fix cue rendering test and include support for left/right alignment. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added COMPILE_ASSERT Created 7 years, 2 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/platform/win/media/track/track-cue-rendering-snap-to-lines-not-set-expected.txt
diff --git a/LayoutTests/platform/win/media/track/track-cue-rendering-snap-to-lines-not-set-expected.txt b/LayoutTests/platform/win/media/track/track-cue-rendering-snap-to-lines-not-set-expected.txt
deleted file mode 100644
index 2c66be0a92da172eafad1e5d9b257f5ceda7d016..0000000000000000000000000000000000000000
--- a/LayoutTests/platform/win/media/track/track-cue-rendering-snap-to-lines-not-set-expected.txt
+++ /dev/null
@@ -1,110 +0,0 @@
-Test that TextTrack's cues are rendered correctly when the snap to lines flag is not set.
-EVENT(canplaythrough)
-
-The track container and the media controls should completely cover the video element
-EXPECTED (cueDisplayContainer.offsetHeight + controlsPanelElement.offsetHeight == video.videoHeight == 'true') OK
-EXPECTED (cueDisplayContainer.offsetWidth == video.videoWidth == 'true') OK
-
-** Default **
-EVENT(seeked)
-Active cues: 1
-
-* Cue 0 *
-EXPECTED (cueDisplayElement.innerText == 'This is a demo track to illustrate positioning features of cues.') OK
-Cue left position (percentage): 0
-Cue top position (percentage): 81
-
-** Center **
-EVENT(seeked)
-Active cues: 1
-
-* Cue 0 *
-EXPECTED (cueDisplayElement.innerText == 'Using HTML5 captions, you can position the cues anywhere.') OK
-Cue left position (percentage): 50
-Cue top position (percentage): 50
-
-** Top left **
-EVENT(seeked)
-Active cues: 1
-
-* Cue 0 *
-EXPECTED (cueDisplayElement.innerText == 'For example, here is a cue on the top left-corner.'), OBSERVED '' FAIL
-Cue left position (percentage): 0
-Cue top position (percentage): 0
-
-** Top right **
-EVENT(seeked)
-Active cues: 1
-
-* Cue 0 *
-EXPECTED (cueDisplayElement.innerText == 'Or on the top-right corner.'), OBSERVED '' FAIL
-Cue left position (percentage): 100
-Cue top position (percentage): 0
-
-** Bottom right **
-EVENT(seeked)
-Active cues: 1
-
-* Cue 0 *
-EXPECTED (cueDisplayElement.innerText == 'Bottom-right corner.'), OBSERVED '' FAIL
-Cue left position (percentage): 100
-Cue top position (percentage): 100
-
-** Bottom left **
-EVENT(seeked)
-Active cues: 1
-
-* Cue 0 *
-EXPECTED (cueDisplayElement.innerText == 'And, as you might expect, the bottom-left one.'), OBSERVED '' FAIL
-Cue left position (percentage): 0
-Cue top position (percentage): 100
-
-** Bottom center **
-EVENT(seeked)
-Active cues: 1
-
-* Cue 0 *
-EXPECTED (cueDisplayElement.innerText == 'Cues are implicitly displayed within the viewport area.') OK
-Cue left position (percentage): 50
-Cue top position (percentage): 50
-
-** Multiple cues **
-EVENT(seeked)
-Active cues: 7
-
-* Cue 0 *
-EXPECTED (cueDisplayElement.innerText == 'You may even have multiple cues in the same time.') OK
-Cue left position (percentage): 50
-Cue top position (percentage): 50
-
-* Cue 1 *
-EXPECTED (cueDisplayElement.innerText == 'Top-left cue.'), OBSERVED '' FAIL
-Cue left position (percentage): 0
-Cue top position (percentage): 0
-
-* Cue 2 *
-EXPECTED (cueDisplayElement.innerText == 'Top-right cue.'), OBSERVED '' FAIL
-Cue left position (percentage): 100
-Cue top position (percentage): 0
-
-* Cue 3 *
-EXPECTED (cueDisplayElement.innerText == 'Bottom cue.') OK
-Cue left position (percentage): 50
-Cue top position (percentage): 100
-
-* Cue 4 *
-EXPECTED (cueDisplayElement.innerText == 'Random cue 1.'), OBSERVED '' FAIL
-Cue left position (percentage): 100
-Cue top position (percentage): 25
-
-* Cue 5 *
-EXPECTED (cueDisplayElement.innerText == 'Random cue 2.') OK
-Cue left position (percentage): 44
-Cue top position (percentage): 33
-
-* Cue 6 *
-EXPECTED (cueDisplayElement.innerText == 'Random cue 3.') OK
-Cue left position (percentage): 23
-Cue top position (percentage): 55
-END OF TEST
-

Powered by Google App Engine
This is Rietveld 408576698