Skip to content
Permalink
Browse files

[giow] (1) Try to be more intuitive about what newlines do in WebVTT …

…tags (though note they are non-conforming)

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=14551

git-svn-id: http://svn.whatwg.org/webapps@6755 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed Oct 25, 2011
1 parent e75d81e commit 23bad49e90790a45e3042def20f5489474becdeb
Showing with 58 additions and 2 deletions.
  1. +19 −1 complete.html
  2. +19 −1 index
  3. +20 −0 source

<dl><dt>U+0020 SPACE character</dt>
<dt>U+0009 CHARACTER TABULATION (tab) character</dt>
<dt>U+000A LINE FEED (LF) character</dt>
<dd>
<!-- assert: >result< is the empty string -->
<p>Set <var title="">tokenizer state</var> to the <a href=#webvtt-start-tag-annotation-state>WebVTT
<i>next</i>.</p>
</dd>

<dt>U+000A LINE FEED (LF) character</dt>
<dd>
<p>Set <var title="">buffer</var> to <var title="">c</var>,
set <var title="">tokenizer state</var> to the <a href=#webvtt-start-tag-annotation-state>WebVTT
start tag annotation state</a>, and jump to the step
labeled <i>next</i>.</p>
</dd>

<dt>U+002E FULL STOP character (.)</dt>
<dd>
<p>Set <var title="">tokenizer state</var> to the <a href=#webvtt-start-tag-class-state>WebVTT
jump to the step labeled <i>next</i>.</p>
</dd>

<dt>U+000A LINE FEED (LF) character</dt>
<dd>
<p>Append to <var title="">classes</var> an entry whose value
is <var title="">buffer</var>, set <var title="">buffer</var>
to <var title="">c</var>, set <var title="">tokenizer
state</var> to the <a href=#webvtt-start-tag-annotation-state>WebVTT start tag annotation
state</a>, and jump to the step labeled <i>next</i>.</p>
</dd>

<dt>U+002E FULL STOP character (.)</dt>
<dd>
<p>Append to <var title="">classes</var> an entry whose value

<p>Jump to the entry that matches the value of <var title="">c</var>:</p>

<dl><dt>U+003E GREATER-THAN SIGN character (&gt;)</dt>
<dl><!-- should we ignore anything after spaces, tabs, and line feeds? --><dt>U+003E GREATER-THAN SIGN character (&gt;)</dt>
<dd>
<p>Advance <var title="">position</var> to the next character
in <var title="">input</var>, then jump to the next "end-of-file
20 index

<dl><dt>U+0020 SPACE character</dt>
<dt>U+0009 CHARACTER TABULATION (tab) character</dt>
<dt>U+000A LINE FEED (LF) character</dt>
<dd>
<!-- assert: >result< is the empty string -->
<p>Set <var title="">tokenizer state</var> to the <a href=#webvtt-start-tag-annotation-state>WebVTT
<i>next</i>.</p>
</dd>

<dt>U+000A LINE FEED (LF) character</dt>
<dd>
<p>Set <var title="">buffer</var> to <var title="">c</var>,
set <var title="">tokenizer state</var> to the <a href=#webvtt-start-tag-annotation-state>WebVTT
start tag annotation state</a>, and jump to the step
labeled <i>next</i>.</p>
</dd>

<dt>U+002E FULL STOP character (.)</dt>
<dd>
<p>Set <var title="">tokenizer state</var> to the <a href=#webvtt-start-tag-class-state>WebVTT
jump to the step labeled <i>next</i>.</p>
</dd>

<dt>U+000A LINE FEED (LF) character</dt>
<dd>
<p>Append to <var title="">classes</var> an entry whose value
is <var title="">buffer</var>, set <var title="">buffer</var>
to <var title="">c</var>, set <var title="">tokenizer
state</var> to the <a href=#webvtt-start-tag-annotation-state>WebVTT start tag annotation
state</a>, and jump to the step labeled <i>next</i>.</p>
</dd>

<dt>U+002E FULL STOP character (.)</dt>
<dd>
<p>Append to <var title="">classes</var> an entry whose value

<p>Jump to the entry that matches the value of <var title="">c</var>:</p>

<dl><dt>U+003E GREATER-THAN SIGN character (&gt;)</dt>
<dl><!-- should we ignore anything after spaces, tabs, and line feeds? --><dt>U+003E GREATER-THAN SIGN character (&gt;)</dt>
<dd>
<p>Advance <var title="">position</var> to the next character
in <var title="">input</var>, then jump to the next "end-of-file
20 source

<dt>U+0020 SPACE character</dt>
<dt>U+0009 CHARACTER TABULATION (tab) character</dt>
<dt>U+000A LINE FEED (LF) character</dt>
<dd>
<!-- assert: >result< is the empty string -->
<p>Set <var title="">tokenizer state</var> to the <span>WebVTT
<i>next</i>.</p>
</dd>

<dt>U+000A LINE FEED (LF) character</dt>
<dd>
<p>Set <var title="">buffer</var> to <var title="">c</var>,
set <var title="">tokenizer state</var> to the <span>WebVTT
start tag annotation state</span>, and jump to the step
labeled <i>next</i>.</p>
</dd>

<dt>U+002E FULL STOP character (.)</dt>
<dd>
<p>Set <var title="">tokenizer state</var> to the <span>WebVTT
jump to the step labeled <i>next</i>.</p>
</dd>

<dt>U+000A LINE FEED (LF) character</dt>
<dd>
<p>Append to <var title="">classes</var> an entry whose value
is <var title="">buffer</var>, set <var title="">buffer</var>
to <var title="">c</var>, set <var title="">tokenizer
state</var> to the <span>WebVTT start tag annotation
state</span>, and jump to the step labeled <i>next</i>.</p>
</dd>

<dt>U+002E FULL STOP character (.)</dt>
<dd>
<p>Append to <var title="">classes</var> an entry whose value

<dl>

<!-- should we ignore anything after spaces, tabs, and line feeds? -->

<dt>U+003E GREATER-THAN SIGN character (>)</dt>
<dd>
<p>Advance <var title="">position</var> to the next character

0 comments on commit 23bad49

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