regions-old.test (490B)
1 regions, old 2 <link rel="help" href="https://w3c.github.io/webvtt/#collect-webvtt-region-settings"> 3 4 assert_equals(cues.length, 2); 5 6 assert_equals(cues[0].region, null); 7 assert_equals(cues[1].region, null); 8 9 === 10 WEBVTT 11 Region: id=foo width=40% lines=3 regionanchor=0%,100% viewportanchor=10%,90% scroll=up 12 Region: id=bar width=40% lines=3 regionanchor=100%,100% viewportanchor=90%,90% scroll=up 13 14 00:00:00.000 --> 00:00:01.000 region:foo 15 text0 16 17 00:00:00.000 --> 00:00:01.000 region:bar 18 text1