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 |