Title: [150467] trunk/LayoutTests
- Revision
- 150467
- Author
- [email protected]
- Date
- 2013-05-21 12:28:49 -0700 (Tue, 21 May 2013)
Log Message
media/track/track-cue-rendering-snap-to-lines-not-set.html is failing
https://bugs.webkit.org/show_bug.cgi?id=116567
Add a failing test expectation to the test added in r150452.
* platform/mac/TestExpectations:
* platform/mac/media/track/track-cue-rendering-snap-to-lines-not-set-expected.txt: Added.
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (150466 => 150467)
--- trunk/LayoutTests/ChangeLog 2013-05-21 19:26:37 UTC (rev 150466)
+++ trunk/LayoutTests/ChangeLog 2013-05-21 19:28:49 UTC (rev 150467)
@@ -1,3 +1,13 @@
+2013-05-21 Ryosuke Niwa <[email protected]>
+
+ media/track/track-cue-rendering-snap-to-lines-not-set.html is failing
+ https://bugs.webkit.org/show_bug.cgi?id=116567
+
+ Add a failing test expectation to the test added in r150452.
+
+ * platform/mac/TestExpectations:
+ * platform/mac/media/track/track-cue-rendering-snap-to-lines-not-set-expected.txt: Added.
+
2013-05-21 Brent Fulgham <[email protected]>
[Windows] Workers are crashing tests.
Modified: trunk/LayoutTests/platform/mac/TestExpectations (150466 => 150467)
--- trunk/LayoutTests/platform/mac/TestExpectations 2013-05-21 19:26:37 UTC (rev 150466)
+++ trunk/LayoutTests/platform/mac/TestExpectations 2013-05-21 19:28:49 UTC (rev 150467)
@@ -1515,3 +1515,5 @@
webkit.org/b/116477 [ MountainLion ] svg/batik/text/textEffect.svg [ Pass Failure ]
webkit.org/b/116519 [ MountainLion ] svg/batik/paints/patternRegions-positioned-objects.svg [ Pass Failure ]
+
+webkit.org/b/116567 media/track/track-cue-rendering-snap-to-lines-not-set.html [ Failure ]
Added: trunk/LayoutTests/platform/mac/media/track/track-cue-rendering-snap-to-lines-not-set-expected.txt (0 => 150467)
--- trunk/LayoutTests/platform/mac/media/track/track-cue-rendering-snap-to-lines-not-set-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/mac/media/track/track-cue-rendering-snap-to-lines-not-set-expected.txt 2013-05-21 19:28:49 UTC (rev 150467)
@@ -0,0 +1,110 @@
+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): 87
+
+** 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.') OK
+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.') OK
+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.') OK
+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.') OK
+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.') OK
+Cue left position (percentage): 0
+Cue top position (percentage): 0
+
+* Cue 2 *
+EXPECTED (cueDisplayElement.innerText == 'Top-right cue.') OK
+Cue left position (percentage): 100
+Cue top position (percentage): 7
+
+* 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.') OK
+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): 43
+END OF TEST
+
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes