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

Unified Diff: LayoutTests/media/track/regions-webvtt/text-track-cue-region-attribute-expected.txt

Issue 25798003: Enable WebVTT regions for runtime testing, updated tests and minor fixes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased 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/media/track/regions-webvtt/text-track-cue-region-attribute-expected.txt
diff --git a/LayoutTests/media/track/regions-webvtt/text-track-cue-region-attribute-expected.txt b/LayoutTests/media/track/regions-webvtt/text-track-cue-region-attribute-expected.txt
index 76e3784687194c9c26c42e3bc9f40cf312e22903..5ce0efe38e801074d0351c349743fda30c16bfe7 100644
--- a/LayoutTests/media/track/regions-webvtt/text-track-cue-region-attribute-expected.txt
+++ b/LayoutTests/media/track/regions-webvtt/text-track-cue-region-attribute-expected.txt
@@ -1,5 +1,17 @@
Tests the regionId attribute of a cue.
-undefined FAIL
+
+** Test the setter and getter through the JS API **
+EXPECTED (cue.regionId == '') OK
+EXPECTED (cue.regionId == 'someId') OK
+
+** Test parsing a region attribute of a cue **
+EXPECTED (cue.regionId == 'someregionattributeid') OK
+
+** Test that region attribute is ignored if either line position or cue size are specified or writing direction is not horizontal **
+EXPECTED (cue.regionId == '') OK
+EXPECTED (cue.regionId == '') OK
+EXPECTED (cue.regionId == '') OK
+
END OF TEST

Powered by Google App Engine
This is Rietveld 408576698