Skip to content
Permalink
Browse files

[giow] (0) Drop WebVTT class names that are the empty string.

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 bb106230da699f4a1740ce1e0e4058658ffb770d
Showing with 61 additions and 22 deletions.
  1. +19 −7 complete.html
  2. +19 −7 index
  3. +23 −8 source
<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>
</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>
26 index
<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>
</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>
31 source
<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>
</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>

0 comments on commit bb10623

Please sign in to comment.
You can’t perform that action at this time.