[html5] r1342 - /
whatwg at whatwg.org
whatwg at whatwg.org
Tue Mar 4 15:40:12 PST 2008
Author: ianh
Date: 2008-03-04 15:40:10 -0800 (Tue, 04 Mar 2008)
New Revision: 1342
Modified:
index
source
Log:
[act] (2) Support <select> inside <table>.
Modified: index
===================================================================
--- index 2008-03-04 21:11:41 UTC (rev 1341)
+++ index 2008-03-04 23:40:10 UTC (rev 1342)
@@ -1663,20 +1663,23 @@
<li><a href="#parsing-main-inselect"><span class=secno>8.2.4.20.
</span>The "in select" insertion mode</a>
- <li><a href="#parsing-main-afterbody"><span class=secno>8.2.4.21.
+ <li><a href="#parsing-main-inselect"><span class=secno>8.2.4.21.
+ </span>The "in select in table" insertion mode</a>
+
+ <li><a href="#parsing-main-afterbody"><span class=secno>8.2.4.22.
</span>The "after body" insertion mode</a>
- <li><a href="#parsing-main-inframeset"><span class=secno>8.2.4.22.
+ <li><a href="#parsing-main-inframeset"><span class=secno>8.2.4.23.
</span>The "in frameset" insertion mode</a>
<li><a href="#parsing-main-afterframeset"><span
- class=secno>8.2.4.23. </span>The "after frameset" insertion
+ class=secno>8.2.4.24. </span>The "after frameset" insertion
mode</a>
- <li><a href="#the-after0"><span class=secno>8.2.4.24. </span>The
+ <li><a href="#the-after0"><span class=secno>8.2.4.25. </span>The
"after after body" insertion mode</a>
- <li><a href="#the-after1"><span class=secno>8.2.4.25. </span>The
+ <li><a href="#the-after1"><span class=secno>8.2.4.26. </span>The
"after after frameset" insertion mode</a>
</ul>
@@ -40500,8 +40503,9 @@
mode: in table body">in table body</a>", "<a href="#in-row"
title="insertion mode: in row">in row</a>", "<a href="#in-cell"
title="insertion mode: in cell">in cell</a>", "<a href="#in-select"
- title="insertion mode: in select">in select</a>", "<a href="#after5"
- title="insertion mode: after body">after body</a>", "<a
+ title="insertion mode: in select">in select</a>", "<a href="#in-select0"
+ title="insertion mode: in select in table">in select in table</a>", "<a
+ href="#after5" title="insertion mode: after body">after body</a>", "<a
href="#in-frameset" title="insertion mode: in frameset">in frameset</a>",
"<a href="#after6" title="insertion mode: after frameset">after
frameset</a>", "<a href="#after7" title="insertion mode: after after
@@ -42801,8 +42805,18 @@
pointed to by the <a href="#form-element"><code title="">form</code>
element pointer</a>.</p>
- <p>Change the <a href="#insertion0">insertion mode</a> to "<a
- href="#in-select" title="insertion mode: in select">in select</a>".</p>
+ <p>If the <a href="#insertion0">insertion mode</a> is one of <a
+ href="#in-table" title="insertion mode: in table">in table</a>", "<a
+ href="#in-caption" title="insertion mode: in caption">in caption</a>",
+ "<a href="#in-column" title="insertion mode: in column group">in column
+ group</a>", "<a href="#in-table0" title="insertion mode: in table
+ body">in table body</a>", "<a href="#in-row" title="insertion mode: in
+ row">in row</a>", or "<a href="#in-cell" title="insertion mode: in
+ cell">in cell</a>", then change the <a href="#insertion0">insertion
+ mode</a> to "<a href="#in-select0" title="insertion mode: in select in
+ table">in select in table</a>". Otherwise, change the <a
+ href="#insertion0">insertion mode</a> to "<a href="#in-select"
+ title="insertion mode: in select">in select</a>".</p>
<dt>An end tag whose tag name is "br"
@@ -43628,6 +43642,34 @@
<p><a href="#parse0">Parse error</a>. Act as if the token had been an end
tag with the tag name "select" instead.</p>
+ <dt>A start tag whose tag name is "input"
+
+ <dd>
+ <p><a href="#parse0">Parse error</a>. Act as if an end tag with the tag
+ name "select" had been seen, and reprocess the token.</p>
+
+ <dt>Anything else
+
+ <dd>
+ <p><a href="#parse0">Parse error</a>. Ignore the token.</p>
+ </dl>
+
+ <h5 id=parsing-main-inselect><span class=secno>8.2.4.21. </span>The "<dfn
+ id=in-select0 title="insertion mode: in select in table">in select in
+ table</dfn>" insertion mode</h5>
+
+ <p>When the <a href="#insertion0">insertion mode</a> is "<a
+ href="#in-select0" title="insertion mode: in select in table">in select in
+ table</a>", tokens must be handled as follows:
+
+ <dl class=switch>
+ <dt>A start tag whose tag name is one of: "caption", "table", "tbody",
+ "tfoot", "thead", "tr", "td", "th"
+
+ <dd>
+ <p><a href="#parse0">Parse error</a>. Act as if an end tag with the tag
+ name "select" had been seen, and reprocess the token.</p>
+
<dt>An end tag whose tag name is one of: "caption", "table", "tbody",
"tfoot", "thead", "tr", "td", "th"
@@ -43643,10 +43685,12 @@
<dt>Anything else
<dd>
- <p><a href="#parse0">Parse error</a>. Ignore the token.</p>
+ <p>Process the token as if the <a href="#insertion0">insertion mode</a>
+ had been "<a href="#in-select" title="insertion mode: in select">in
+ select</a>".</p>
</dl>
- <h5 id=parsing-main-afterbody><span class=secno>8.2.4.21. </span>The "<dfn
+ <h5 id=parsing-main-afterbody><span class=secno>8.2.4.22. </span>The "<dfn
id=after5 title="insertion mode: after body">after body</dfn>" insertion
mode</h5>
@@ -43710,7 +43754,7 @@
title="insertion mode: in body">in body</a>" and reprocess the token.</p>
</dl>
- <h5 id=parsing-main-inframeset><span class=secno>8.2.4.22. </span>The "<dfn
+ <h5 id=parsing-main-inframeset><span class=secno>8.2.4.23. </span>The "<dfn
id=in-frameset title="insertion mode: in frameset">in frameset</dfn>"
insertion mode</h5>
@@ -43794,7 +43838,7 @@
<p><a href="#parse0">Parse error</a>. Ignore the token.</p>
</dl>
- <h5 id=parsing-main-afterframeset><span class=secno>8.2.4.23. </span>The
+ <h5 id=parsing-main-afterframeset><span class=secno>8.2.4.24. </span>The
"<dfn id=after6 title="insertion mode: after frameset">after
frameset</dfn>" insertion mode</h5>
@@ -43855,7 +43899,7 @@
that do support frames but want to show the NOFRAMES content. Supporting
the former is easy; supporting the latter is harder.
- <h5 id=the-after0><span class=secno>8.2.4.24. </span>The "<dfn id=after7
+ <h5 id=the-after0><span class=secno>8.2.4.25. </span>The "<dfn id=after7
title="insertion mode: after after body">after after body</dfn>" insertion
mode</h5>
@@ -43897,7 +43941,7 @@
title="insertion mode: in body">in body</a>" and reprocess the token.</p>
</dl>
- <h5 id=the-after1><span class=secno>8.2.4.25. </span>The "<dfn id=after8
+ <h5 id=the-after1><span class=secno>8.2.4.26. </span>The "<dfn id=after8
title="insertion mode: after after frameset">after after frameset</dfn>"
insertion mode</h5>
Modified: source
===================================================================
--- source 2008-03-04 21:11:41 UTC (rev 1341)
+++ source 2008-03-04 23:40:10 UTC (rev 1342)
@@ -37790,14 +37790,15 @@
"<span title="insertion mode: in row">in row</span>", "<span
title="insertion mode: in cell">in cell</span>", "<span
title="insertion mode: in select">in select</span>", "<span
- title="insertion mode: after body">after body</span>", "<span
- title="insertion mode: in frameset">in frameset</span>", "<span
- title="insertion mode: after frameset">after frameset</span>",
- "<span title="insertion mode: after after body">after after
- body</span>", and "<span title="insertion mode: after after
- frameset">after after frameset</span>" during the course of the
- parsing, as described below. It affects how certain tokens are
- processed.</p>
+ title="insertion mode: in select in table">in select in
+ table</span>", "<span title="insertion mode: after body">after
+ body</span>", "<span title="insertion mode: in frameset">in
+ frameset</span>", "<span title="insertion mode: after
+ frameset">after frameset</span>", "<span title="insertion mode:
+ after after body">after after body</span>", and "<span
+ title="insertion mode: after after frameset">after after
+ frameset</span>" during the course of the parsing, as described
+ below. It affects how certain tokens are processed.</p>
<p>In addition to the <span>insertion mode</span>, the tree
construction stage has several pieces of state: a <span>stack of
@@ -40003,8 +40004,17 @@
pointed to by the <span><code title="">form</code> element
pointer</span>.</p>
- <p>Change the <span>insertion mode</span> to "<span
- title="insertion mode: in select">in select</span>".</p>
+ <p>If the <span>insertion mode</span> is one of <span
+ title="insertion mode: in table">in table</span>", "<span
+ title="insertion mode: in caption">in caption</span>", "<span
+ title="insertion mode: in column group">in column group</span>",
+ "<span title="insertion mode: in table body">in table
+ body</span>", "<span title="insertion mode: in row">in
+ row</span>", or "<span title="insertion mode: in cell">in
+ cell</span>", then change the <span>insertion mode</span> to
+ "<span title="insertion mode: in select in table">in select in
+ table</span>". Otherwise, change the <span>insertion mode</span>
+ to "<span title="insertion mode: in select">in select</span>".</p>
</dd>
@@ -40893,6 +40903,34 @@
</dd>
+ <dt>A start tag whose tag name is "input"</dt>
+ <dd>
+ <p><span>Parse error</span>. Act as if an end tag with the tag
+ name "select" had been seen, and reprocess the token.</p>
+ </dd>
+
+ <dt>Anything else</dt>
+ <dd>
+ <p><span>Parse error</span>. Ignore the token.</p>
+ </dd>
+
+ </dl>
+
+
+ <h5 id="parsing-main-inselect">The "<dfn title="insertion mode: in select in table">in select in table</dfn>" insertion mode</h5>
+
+ <p>When the <span>insertion mode</span> is "<span title="insertion
+ mode: in select in table">in select in table</span>", tokens must be handled as follows:</p>
+
+ <dl class="switch">
+
+ <dt>A start tag whose tag name is one of: "caption", "table",
+ "tbody", "tfoot", "thead", "tr", "td", "th"</dt>
+ <dd>
+ <p><span>Parse error</span>. Act as if an end tag with the tag
+ name "select" had been seen, and reprocess the token.</p>
+ </dd>
+
<dt>An end tag whose tag name is one of: "caption", "table",
"tbody", "tfoot", "thead", "tr", "td", "th"</dt>
<dd>
@@ -40909,7 +40947,9 @@
<dt>Anything else</dt>
<dd>
- <p><span>Parse error</span>. Ignore the token.</p>
+ <p>Process the token as if the <span>insertion mode</span> had
+ been "<span title="insertion mode: in select">in
+ select</span>".</p>
</dd>
</dl>
More information about the Commit-Watchers
mailing list