Bug 1415821 - Modify .vtt REGION syntax. r=alwu
MozReview-Commit-ID: 4GydOirj87V
--- a/dom/media/test/basic.vtt
+++ b/dom/media/test/basic.vtt
@@ -1,11 +1,13 @@
WEBVTT
-Region: id=testOne lines=2 width=30%
-Region: id=testTwo lines=4 width=20%
+REGION
+id=testOne lines=2 width=30%
+REGION
+id=testTwo lines=4 width=20%
1
00:00.500 --> 00:00.700 region:testOne
This
2
00:01.200 --> 00:02.400 region:testTwo
Is
--- a/dom/media/test/region.vtt
+++ b/dom/media/test/region.vtt
@@ -1,5 +1,6 @@
WEBVTT
-Region: id=fred width=62% lines=5 regionanchor=4%,78% viewportanchor=10%,90% scroll=up
+REGION
+id=fred width=62% lines=5 regionanchor=4%,78% viewportanchor=10%,90% scroll=up
00:01.000 --> 00:02.000 region:fred
Test here.