Add base of VTTCue DOM interface

This commit is contained in:
Iulian Gabriel Radu 2020-03-08 00:15:20 +02:00
parent 30b148c90f
commit 911b1306ca
12 changed files with 360 additions and 8 deletions

View file

@ -0,0 +1,5 @@
[align.html]
expected: TIMEOUT
[VTTCue.align, parsed cue]
expected: TIMEOUT

View file

@ -0,0 +1,14 @@
[constructor.html]
expected: CRASH
[VTTCue(), initial values]
expected: FAIL
[VTTCue(), bad end time]
expected: FAIL
[VTTCue(), bad start time]
expected: FAIL
[VTTCue(), text formatting]
expected: FAIL

View file

@ -0,0 +1,38 @@
[getCueAsHTML.html]
expected: CRASH
[VTTCue.getCueAsHTML(), <c>]
expected: FAIL
[VTTCue.getCueAsHTML(), creating the cue]
expected: FAIL
[VTTCue.getCueAsHTML(), <b>]
expected: FAIL
[VTTCue.getCueAsHTML(), <u>]
expected: FAIL
[VTTCue.getCueAsHTML(), <rt>]
expected: FAIL
[VTTCue.getCueAsHTML(), <v>]
expected: FAIL
[VTTCue.getCueAsHTML(), <1:00:00.500>]
expected: FAIL
[VTTCue.getCueAsHTML(), <i>]
expected: FAIL
[VTTCue.getCueAsHTML(), x\\0]
expected: FAIL
[VTTCue.getCueAsHTML(), <ruby>]
expected: FAIL
[VTTCue.getCueAsHTML(), <c.a.b>]
expected: FAIL
[VTTCue.getCueAsHTML(), <v a b>]
expected: FAIL

View file

@ -0,0 +1,5 @@
[line.html]
expected: TIMEOUT
[VTTCue.line, parsed cue]
expected: TIMEOUT

View file

@ -0,0 +1,4 @@
[region.html]
[VTTCue.region, script-created cue]
expected: FAIL

View file

@ -0,0 +1,5 @@
[snapToLines.html]
expected: TIMEOUT
[VTTCue.snapToLines, parsed cue]
expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[text.html]
expected: TIMEOUT
[VTTCue.text, parsed cue]
expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[vertical.html]
expected: TIMEOUT
[VTTCue.vertical, parsed cue]
expected: TIMEOUT