[html5] r1331 - /

whatwg at whatwg.org whatwg at whatwg.org
Mon Mar 3 22:59:02 PST 2008


Author: ianh
Date: 2008-03-03 22:58:58 -0800 (Mon, 03 Mar 2008)
New Revision: 1331

Modified:
   index
   source
Log:
[acgiowt] (2) Make <input type=hidden> not be taken out of <table> elements unless the <table> element has gotten tainted. (Basically, treat them the space as spaces.)

Modified: index
===================================================================
--- index	2008-03-04 02:34:04 UTC (rev 1330)
+++ index	2008-03-04 06:58:58 UTC (rev 1331)
@@ -43004,6 +43004,32 @@
    <dd>
     <p><a href="#parse0">Parse error</a>. Ignore the token.</p>
 
+   <dt>A start tag whose tag name is "input"
+
+   <dd>
+    <p>If the token does not have an attribute with the name "type", or if it
+     does, but that attribute's value is not a case-insensitive
+     <!-- XXX ASCII --> match for the string "hidden", or, if the <a
+     href="#current5">current table</a> is <a href="#tainted">tainted</a>,
+     then: act as described in the "anything else" entry below.</p>
+
+    <p>Otherwise:</p>
+
+    <p><a href="#parse0">Parse error</a>.</p>
+
+    <p><a href="#insert" title="insert an html element">Insert an
+     <code>input</code> element</a> for the token.</p>
+
+    <p>If the <a href="#form-element"><code title="">form</code> element
+     pointer</a> is not null, then <span>associate</span><!--XXX
+    xref! -->
+     the <code>input</code> element with the <code>form</code> element
+     pointed to by the <a href="#form-element"><code title="">form</code>
+     element pointer</a>.</p>
+
+    <p>Pop that <code>input</code> element off the <a href="#stack">stack of
+     open elements</a>.</p>
+
    <dt>Anything else
 
    <dd>

Modified: source
===================================================================
--- source	2008-03-04 02:34:04 UTC (rev 1330)
+++ source	2008-03-04 06:58:58 UTC (rev 1331)
@@ -40226,6 +40226,34 @@
     <p><span>Parse error</span>. Ignore the token.</p>
    </dd>
 
+   <dt>A start tag whose tag name is "input"</dt>
+
+   <dd>
+
+    <p>If the token does not have an attribute with the name "type",
+    or if it does, but that attribute's value is not a
+    case-insensitive <!-- XXX ASCII --> match for the string "hidden",
+    or, if the <span>current table</span> is <span>tainted</span>,
+    then: act as described in the "anything else" entry below.</p>
+
+    <p>Otherwise:</p>
+
+    <p><span>Parse error</span>.</p>
+
+    <p><span title="insert an html element">Insert an
+    <code>input</code> element</span> for the token.</p>
+
+    <p>If the <span><code title="">form</code> element
+    pointer</span> is not null, then <span>associate</span><!--XXX
+    xref! --> the <code>input</code> element with the
+    <code>form</code> element pointed to by the <span><code
+    title="">form</code> element pointer</span>.</p>
+
+    <p>Pop that <code>input</code> element off the <span>stack of
+    open elements</span>.</p>
+
+   </dd>
+
    <dt>Anything else</dt>
    <dd>
 




More information about the Commit-Watchers mailing list