Skip to content

Commit

Permalink
[cgiowt] (0) Nulls in <table> shouldn't cause white space to move bef…
Browse files Browse the repository at this point in the history
…ore the table.

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

git-svn-id: http://svn.whatwg.org/webapps@5755 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 10, 2011
1 parent 4cbbefd commit 7f3ccb7
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 15 deletions.
18 changes: 13 additions & 5 deletions complete.html
Expand Up @@ -82302,7 +82302,15 @@ <h5 id=parsing-main-intabletext><span class=secno>12.2.5.13 </span>The "<dfn tit
mode: in table text">in table text</a>", tokens must be handled
as follows:</p>

<dl class=switch><dt>A character token</dt>
<dl class=switch><dt>A character token that is U+0000 NULL</dt>
<dd>

<p><a href=#parse-error>Parse error</a>. Ignore the token.</p>

</dd>


<dt>Any other character token</dt>
<dd>

<p>Append the character token to the <var><a href=#pending-table-character-tokens>pending table character
Expand All @@ -82317,10 +82325,10 @@ <h5 id=parsing-main-intabletext><span class=secno>12.2.5.13 </span>The "<dfn tit
<p>If any of the tokens in the <var><a href=#pending-table-character-tokens>pending table character
tokens</a></var> list are character tokens that are not one of U+0009
CHARACTER TABULATION, U+000A LINE FEED (LF), U+000C FORM FEED
(FF), U+000D CARRIAGE RETURN (CR), or U+0020 SPACE, then
reprocess those character tokens using the rules given in the
"anything else" entry in the <a href=#parsing-main-intable title="insertion mode: in
table">in table</a>" insertion mode.</p>
(FF), U+000D CARRIAGE RETURN (CR), or U+0020 SPACE, then reprocess
those character tokens using the rules given in the "anything
else" entry in the <a href=#parsing-main-intable title="insertion mode: in table">in
table</a>" insertion mode.</p>

<p>Otherwise, <a href=#insert-a-character title="insert a character">insert the
characters</a> given by the <var><a href=#pending-table-character-tokens>pending table character
Expand Down
18 changes: 13 additions & 5 deletions index
Expand Up @@ -78276,7 +78276,15 @@ document.body.appendChild(text);
mode: in table text">in table text</a>", tokens must be handled
as follows:</p>

<dl class=switch><dt>A character token</dt>
<dl class=switch><dt>A character token that is U+0000 NULL</dt>
<dd>

<p><a href=#parse-error>Parse error</a>. Ignore the token.</p>

</dd>


<dt>Any other character token</dt>
<dd>

<p>Append the character token to the <var><a href=#pending-table-character-tokens>pending table character
Expand All @@ -78291,10 +78299,10 @@ document.body.appendChild(text);
<p>If any of the tokens in the <var><a href=#pending-table-character-tokens>pending table character
tokens</a></var> list are character tokens that are not one of U+0009
CHARACTER TABULATION, U+000A LINE FEED (LF), U+000C FORM FEED
(FF), U+000D CARRIAGE RETURN (CR), or U+0020 SPACE, then
reprocess those character tokens using the rules given in the
"anything else" entry in the <a href=#parsing-main-intable title="insertion mode: in
table">in table</a>" insertion mode.</p>
(FF), U+000D CARRIAGE RETURN (CR), or U+0020 SPACE, then reprocess
those character tokens using the rules given in the "anything
else" entry in the <a href=#parsing-main-intable title="insertion mode: in table">in
table</a>" insertion mode.</p>

<p>Otherwise, <a href=#insert-a-character title="insert a character">insert the
characters</a> given by the <var><a href=#pending-table-character-tokens>pending table character
Expand Down
18 changes: 13 additions & 5 deletions source
Expand Up @@ -93186,7 +93186,15 @@ document.body.appendChild(text);

<dl class="switch">

<dt>A character token</dt>
<dt>A character token that is U+0000 NULL</dt>
<dd>

<p><span>Parse error</span>. Ignore the token.</p>

</dd>


<dt>Any other character token</dt>
<dd>

<p>Append the character token to the <var>pending table character
Expand All @@ -93201,10 +93209,10 @@ document.body.appendChild(text);
<p>If any of the tokens in the <var>pending table character
tokens</var> list are character tokens that are not one of U+0009
CHARACTER TABULATION, U+000A LINE FEED (LF), U+000C FORM FEED
(FF), U+000D CARRIAGE RETURN (CR), or U+0020 SPACE, then
reprocess those character tokens using the rules given in the
"anything else" entry in the <span title="insertion mode: in
table">in table</span>" insertion mode.</p>
(FF), U+000D CARRIAGE RETURN (CR), or U+0020 SPACE, then reprocess
those character tokens using the rules given in the "anything
else" entry in the <span title="insertion mode: in table">in
table</span>" insertion mode.</p>

<p>Otherwise, <span title="insert a character">insert the
characters</span> given by the <var>pending table character
Expand Down

0 comments on commit 7f3ccb7

Please sign in to comment.