Changes

Jump to: navigation, search

Cue Text, including replacements

1 byte added, 16:35, 27 September 2012
Tests that should FAIL
We <i><b>are</i> in </b> New York City
</pre>
 
===Disallow Annotation Text===
 
*There are cue components that do not allow annotations in them
 
<pre>
WEBVTT
 
00:11.000 --> 00:15.000
We <i Annotation Here>are in New York City</i>
</pre>
 
<pre>
WEBVTT
 
00:11.000 --> 00:15.000
We <u Annotation Here>are in New York City</u>
</pre>
 
<pre>
WEBVTT
 
00:11.000 --> 00:15.000
We <b Annotation Here>are in New York City</b>
</pre>
 
<pre>
WEBVTT
 
00:11.000 --> 00:15.000
We <c Annotation Here>are in New York City</c>
</pre>
 
<pre>
WEBVTT
 
00:11.000 --> 00:15.000
We <ruby Annotation Here>are in New York City</ruby>
</pre>
 
<pre>
00:11.000 --> 00:15.000
We <00:13.000 Annotation Here>are in New York City
</pre>
 
 
===Cue Text Class Format===
 
<pre>
WEBVTT
 
00:11.000 --> 00:13.000
We <i.&amp;amp;>are</i> in New York City
</pre>
 
<pre>
WEBVTT
 
00:11.000 --> 00:13.000
We <i. >are</i> in New York City
</pre>
 
<pre>
WEBVTT
 
00:11.000 --> 00:13.000
We <badclass>are<badclass> in New York City
</pre>
 
<pre>
WEBVTT
 
00:11.000 --> 00:13.000
We <i.class.&amp;amp;>are</i> in New York City
</pre>
 
===Cue Text Special Character Escape Format===
* checking if the parser correctly invalidates special characters without escapes
===Cue Text Class Format===
 
<pre>
WEBVTT
 
00:11.000 --> 00:13.000
We <i.&amp;amp;>are</i> in New York City
</pre>
 
<pre>
WEBVTT
 
00:11.000 --> 00:13.000
We <i. >are</i> in New York City
</pre>
 
<pre>
WEBVTT
 
00:11.000 --> 00:13.000
We <badclass>are<badclass> in New York City
</pre>
 
<pre>
WEBVTT
 
00:11.000 --> 00:13.000
We <i.class.&amp;amp;>are</i> in New York City
</pre>
===Cue Text Time Stamp===
00:11.000 --> 00:15.000
We <00:12.000 are in New York City
</pre>
 
===Disallow Annotation Text===
 
*There are cue components that do not allow annotations in them
 
<pre>
WEBVTT
 
00:11.000 --> 00:15.000
We <i Annotation Here>are in New York City</i>
</pre>
 
<pre>
WEBVTT
 
00:11.000 --> 00:15.000
We <u Annotation Here>are in New York City</u>
</pre>
 
<pre>
WEBVTT
 
00:11.000 --> 00:15.000
We <b Annotation Here>are in New York City</b>
</pre>
 
<pre>
WEBVTT
 
00:11.000 --> 00:15.000
We <c Annotation Here>are in New York City</c>
</pre>
 
<pre>
WEBVTT
 
00:11.000 --> 00:15.000
We <ruby Annotation Here>are in New York City</ruby>
</pre>
 
<pre>
00:11.000 --> 00:15.000
We <00:13.000 Annotation Here>are in New York City
</pre>
1
edit

Navigation menu