Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[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 23bad49
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 2 deletions.
20 changes: 19 additions & 1 deletion complete.html
Expand Up @@ -34087,6 +34087,7 @@ <h6 id=parsing-0><span class=secno>4.8.10.13.3 </span>Parsing</h6>

<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
Expand Down Expand Up @@ -34154,6 +34155,14 @@ <h6 id=parsing-0><span class=secno>4.8.10.13.3 </span>Parsing</h6>
<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
Expand Down Expand Up @@ -34198,6 +34207,15 @@ <h6 id=parsing-0><span class=secno>4.8.10.13.3 </span>Parsing</h6>
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
Expand Down Expand Up @@ -34268,7 +34286,7 @@ <h6 id=parsing-0><span class=secno>4.8.10.13.3 </span>Parsing</h6>

<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
Expand Down
20 changes: 19 additions & 1 deletion index
Expand Up @@ -34087,6 +34087,7 @@ The General Relativistic Field Equations</pre>

<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
Expand Down Expand Up @@ -34154,6 +34155,14 @@ The General Relativistic Field Equations</pre>
<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
Expand Down Expand Up @@ -34198,6 +34207,15 @@ The General Relativistic Field Equations</pre>
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
Expand Down Expand Up @@ -34268,7 +34286,7 @@ The General Relativistic Field Equations</pre>

<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
Expand Down
20 changes: 20 additions & 0 deletions source
Expand Up @@ -37412,6 +37412,7 @@ The General Relativistic Field Equations</pre>

<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
Expand Down Expand Up @@ -37484,6 +37485,14 @@ The General Relativistic Field Equations</pre>
<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
Expand Down Expand Up @@ -37534,6 +37543,15 @@ The General Relativistic Field Equations</pre>
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
Expand Down Expand Up @@ -37616,6 +37634,8 @@ The General Relativistic Field Equations</pre>

<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
Expand Down

0 comments on commit 23bad49

Please sign in to comment.