Skip to content

Commit

Permalink
[giow] (0) Drop WebVTT class names that are the empty string.
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=14537

git-svn-id: http://svn.whatwg.org/webapps@6795 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Nov 1, 2011
1 parent 8fb3c02 commit bb10623
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 22 deletions.
26 changes: 19 additions & 7 deletions complete.html
Expand Up @@ -33760,7 +33760,8 @@ <h6 id=parsing-0><span class=secno>4.8.10.13.3 </span>Parsing</h6>
<dd>
<p><a href=#attach-a-webvtt-internal-node-object title="attach a WebVTT Internal Node
Object">Attach</a> a <a href=#webvtt-voice-object>WebVTT Voice Object</a>, and
set its value to the token's annotation string.</p>
set its value to the token's annotation string, or the empty
string if there is no annotation string.</p>
</dd>

<dt>Otherwise</dt>
Expand All @@ -33769,13 +33770,24 @@ <h6 id=parsing-0><span class=secno>4.8.10.13.3 </span>Parsing</h6>
</dd>

</dl><p>When the steps above say to <dfn id=attach-a-webvtt-internal-node-object>attach a WebVTT Internal
Node Object</dfn> of a particular class, the user agent must
first create an object of the specified class, then set its list
of <a href="#webvtt-node-object's-applicable-classes" title="WebVTT Node Object's applicable
classes">applicable classes</a> to the list of classes in the
token, append the newly created node object to <var title="">current</var>, and finally let <var title="">current</var> be the newly created node object.</p>
Node Object</dfn> of a particular concrete class, the user agent
must run the following steps:</p>

</dd>
<ol><li><p>Create n new <span title="WebVTT Internal Node
Objects">WebVTT Internal Node Object</span> of the specified
concrete class.</li>

<li><p>Set the new object's list of <a href="#webvtt-node-object's-applicable-classes" title="WebVTT Node
Object's applicable classes">applicable classes</a> to the
list of classes in the token, excluding any classes that are
the empty string.</p>

<li><p>Append the newly created node object to <var title="">current</var>.</li>

<li><p>Let <var title="">current</var> be the newly created
node object.</li>

</ol></dd>

<dt>If <var title="">token</var> is an end tag</dt>
<dd>
Expand Down
26 changes: 19 additions & 7 deletions index
Expand Up @@ -33760,7 +33760,8 @@ The General Relativistic Field Equations</pre>
<dd>
<p><a href=#attach-a-webvtt-internal-node-object title="attach a WebVTT Internal Node
Object">Attach</a> a <a href=#webvtt-voice-object>WebVTT Voice Object</a>, and
set its value to the token's annotation string.</p>
set its value to the token's annotation string, or the empty
string if there is no annotation string.</p>
</dd>

<dt>Otherwise</dt>
Expand All @@ -33769,13 +33770,24 @@ The General Relativistic Field Equations</pre>
</dd>

</dl><p>When the steps above say to <dfn id=attach-a-webvtt-internal-node-object>attach a WebVTT Internal
Node Object</dfn> of a particular class, the user agent must
first create an object of the specified class, then set its list
of <a href="#webvtt-node-object's-applicable-classes" title="WebVTT Node Object's applicable
classes">applicable classes</a> to the list of classes in the
token, append the newly created node object to <var title="">current</var>, and finally let <var title="">current</var> be the newly created node object.</p>
Node Object</dfn> of a particular concrete class, the user agent
must run the following steps:</p>

</dd>
<ol><li><p>Create n new <span title="WebVTT Internal Node
Objects">WebVTT Internal Node Object</span> of the specified
concrete class.</li>

<li><p>Set the new object's list of <a href="#webvtt-node-object's-applicable-classes" title="WebVTT Node
Object's applicable classes">applicable classes</a> to the
list of classes in the token, excluding any classes that are
the empty string.</p>

<li><p>Append the newly created node object to <var title="">current</var>.</li>

<li><p>Let <var title="">current</var> be the newly created
node object.</li>

</ol></dd>

<dt>If <var title="">token</var> is an end tag</dt>
<dd>
Expand Down
31 changes: 23 additions & 8 deletions source
Expand Up @@ -37009,7 +37009,8 @@ The General Relativistic Field Equations</pre>
<dd>
<p><span title="attach a WebVTT Internal Node
Object">Attach</span> a <span>WebVTT Voice Object</span>, and
set its value to the token's annotation string.</p>
set its value to the token's annotation string, or the empty
string if there is no annotation string.</p>
</dd>

<dt>Otherwise</dt>
Expand All @@ -37020,13 +37021,27 @@ The General Relativistic Field Equations</pre>
</dl>

<p>When the steps above say to <dfn>attach a WebVTT Internal
Node Object</dfn> of a particular class, the user agent must
first create an object of the specified class, then set its list
of <span title="WebVTT Node Object's applicable
classes">applicable classes</span> to the list of classes in the
token, append the newly created node object to <var
title="">current</var>, and finally let <var
title="">current</var> be the newly created node object.</p>
Node Object</dfn> of a particular concrete class, the user agent
must run the following steps:</p>

<ol>

<li><p>Create n new <span title="WebVTT Internal Node
Objects">WebVTT Internal Node Object</span> of the specified
concrete class.</p></li>

<li><p>Set the new object's list of <span title="WebVTT Node
Object's applicable classes">applicable classes</span> to the
list of classes in the token, excluding any classes that are
the empty string.</p>

<li><p>Append the newly created node object to <var
title="">current</var>.</p></li>

<li><p>Let <var title="">current</var> be the newly created
node object.</p></li>

</ol>

</dd>

Expand Down

0 comments on commit bb10623

Please sign in to comment.