Bug 1415821 - Modify .vtt REGION syntax. r=alwu
authorbechen@mozilla.com <bechen@mozilla.com>
Wed, 15 Nov 2017 10:24:59 +0800
changeset 392197 0f276f1cc275f89a759e956c8b2ccc5388387f07
parent 392196 1dd02399f8727a33ee698a9e20f6800880247b9d
child 392198 1786297a20dfb8cdd1082edc746b9479e78435a1
push id55478
push userrgurzau@mozilla.com
push dateThu, 16 Nov 2017 10:24:20 +0000
treeherderautoland@5a9fbe6806cf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersalwu
bugs1415821
milestone59.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1415821 - Modify .vtt REGION syntax. r=alwu MozReview-Commit-ID: 4GydOirj87V
dom/media/test/basic.vtt
dom/media/test/region.vtt
--- 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.