Skip to content

Commit

Permalink
[giow] (3) Fix broken logic around IDL attributes for form submission.
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=17185
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@7648 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 24, 2013
1 parent 11e7419 commit 588f6cf
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 19 deletions.
12 changes: 6 additions & 6 deletions complete.html
Expand Up @@ -54653,9 +54653,8 @@ <h5 id=form-submission-0><span class=secno>4.10.19.5 </span>Form submission</h5>
<code><a href=#the-dialog-element>dialog</a></code> box in which the form finds itself, if any, and
otherwise not submit.</li>

</ul><p>The <i>invalid value default</i> for these attributes is the
<a href=#attr-fs-method-get title=attr-fs-method-GET>GET</a> state. (There is no
<i>missing value default</i>.)</p>
</ul><p>The <i>invalid value default</i> for these attributes is the <a href=#attr-fs-method-get title=attr-fs-method-GET>GET</a> state. The <i>missing value default</i> for the <code title=attr-fs-method><a href=#attr-fs-method>method</a></code> attribute is also the <a href=#attr-fs-method-get title=attr-fs-method-GET>GET</a> state. (There is no <i>missing value default</i> for the
<code title=attr-fs-formmethod><a href=#attr-fs-formmethod>formmethod</a></code> attribute.)</p>

<p>The <dfn id=concept-fs-method title=concept-fs-method>method</dfn> of an element is
one of those states. If the element is a <a href=#concept-submit-button title=concept-submit-button>submit button</a> and has a <code title=attr-fs-formmethod><a href=#attr-fs-formmethod>formmethod</a></code> attribute, then the
Expand All @@ -54671,9 +54670,10 @@ <h5 id=form-submission-0><span class=secno>4.10.19.5 </span>Form submission</h5>
<ul><li>The "<dfn id=attr-fs-enctype-urlencoded title=attr-fs-enctype-urlencoded><code>application/x-www-form-urlencoded</code></dfn>" keyword and corresponding state.</li>
<li>The "<dfn id=attr-fs-enctype-formdata title=attr-fs-enctype-formdata><code>multipart/form-data</code></dfn>" keyword and corresponding state.</li>
<li>The "<dfn id=attr-fs-enctype-text title=attr-fs-enctype-text><code>text/plain</code></dfn>" keyword and corresponding state.</li>
</ul><p>The <i>invalid value default</i> for these attributes is the
<code title=attr-fs-enctype-urlencoded><a href=#attr-fs-enctype-urlencoded>application/x-www-form-urlencoded</a></code>
state. (There is no <i>missing value default</i>.)</p>
</ul><p>The <i>invalid value default</i> for these attributes is the <code title=attr-fs-enctype-urlencoded><a href=#attr-fs-enctype-urlencoded>application/x-www-form-urlencoded</a></code> state. The <i>missing
value default</i> for the <code title=attr-fs-enctype><a href=#attr-fs-enctype>enctype</a></code> attribute is also the <code title=attr-fs-enctype-urlencoded><a href=#attr-fs-enctype-urlencoded>application/x-www-form-urlencoded</a></code> state. (There is no
<i>missing value default</i> for the <code title=attr-fs-formenctype><a href=#attr-fs-formenctype>formenctype</a></code>
attribute.)</p>

<p>The <dfn id=concept-fs-enctype title=concept-fs-enctype>enctype</dfn> of an element
is one of those three states. If the element is a <a href=#concept-submit-button title=concept-submit-button>submit button</a> and has a <code title=attr-fs-formenctype><a href=#attr-fs-formenctype>formenctype</a></code> attribute, then the
Expand Down
12 changes: 6 additions & 6 deletions index
Expand Up @@ -54653,9 +54653,8 @@ out of 233&thinsp;257&thinsp;824 bytes available&lt;/meter&gt;&lt;/p&gt;</pre>
<code><a href=#the-dialog-element>dialog</a></code> box in which the form finds itself, if any, and
otherwise not submit.</li>

</ul><p>The <i>invalid value default</i> for these attributes is the
<a href=#attr-fs-method-get title=attr-fs-method-GET>GET</a> state. (There is no
<i>missing value default</i>.)</p>
</ul><p>The <i>invalid value default</i> for these attributes is the <a href=#attr-fs-method-get title=attr-fs-method-GET>GET</a> state. The <i>missing value default</i> for the <code title=attr-fs-method><a href=#attr-fs-method>method</a></code> attribute is also the <a href=#attr-fs-method-get title=attr-fs-method-GET>GET</a> state. (There is no <i>missing value default</i> for the
<code title=attr-fs-formmethod><a href=#attr-fs-formmethod>formmethod</a></code> attribute.)</p>

<p>The <dfn id=concept-fs-method title=concept-fs-method>method</dfn> of an element is
one of those states. If the element is a <a href=#concept-submit-button title=concept-submit-button>submit button</a> and has a <code title=attr-fs-formmethod><a href=#attr-fs-formmethod>formmethod</a></code> attribute, then the
Expand All @@ -54671,9 +54670,10 @@ out of 233&thinsp;257&thinsp;824 bytes available&lt;/meter&gt;&lt;/p&gt;</pre>
<ul><li>The "<dfn id=attr-fs-enctype-urlencoded title=attr-fs-enctype-urlencoded><code>application/x-www-form-urlencoded</code></dfn>" keyword and corresponding state.</li>
<li>The "<dfn id=attr-fs-enctype-formdata title=attr-fs-enctype-formdata><code>multipart/form-data</code></dfn>" keyword and corresponding state.</li>
<li>The "<dfn id=attr-fs-enctype-text title=attr-fs-enctype-text><code>text/plain</code></dfn>" keyword and corresponding state.</li>
</ul><p>The <i>invalid value default</i> for these attributes is the
<code title=attr-fs-enctype-urlencoded><a href=#attr-fs-enctype-urlencoded>application/x-www-form-urlencoded</a></code>
state. (There is no <i>missing value default</i>.)</p>
</ul><p>The <i>invalid value default</i> for these attributes is the <code title=attr-fs-enctype-urlencoded><a href=#attr-fs-enctype-urlencoded>application/x-www-form-urlencoded</a></code> state. The <i>missing
value default</i> for the <code title=attr-fs-enctype><a href=#attr-fs-enctype>enctype</a></code> attribute is also the <code title=attr-fs-enctype-urlencoded><a href=#attr-fs-enctype-urlencoded>application/x-www-form-urlencoded</a></code> state. (There is no
<i>missing value default</i> for the <code title=attr-fs-formenctype><a href=#attr-fs-formenctype>formenctype</a></code>
attribute.)</p>

<p>The <dfn id=concept-fs-enctype title=concept-fs-enctype>enctype</dfn> of an element
is one of those three states. If the element is a <a href=#concept-submit-button title=concept-submit-button>submit button</a> and has a <code title=attr-fs-formenctype><a href=#attr-fs-formenctype>formenctype</a></code> attribute, then the
Expand Down
18 changes: 11 additions & 7 deletions source
Expand Up @@ -63793,9 +63793,11 @@ out of 233&#x2009;257&#x2009;824 bytes available&lt;/meter>&lt;/p></pre>

</ul>

<p>The <i>invalid value default</i> for these attributes is the
<span title="attr-fs-method-GET">GET</span> state. (There is no
<i>missing value default</i>.)</p>
<p>The <i>invalid value default</i> for these attributes is the <span
title="attr-fs-method-GET">GET</span> state. The <i>missing value default</i> for the <code
title="attr-fs-method">method</code> attribute is also the <span
title="attr-fs-method-GET">GET</span> state. (There is no <i>missing value default</i> for the
<code title="attr-fs-formmethod">formmethod</code> attribute.)</p>

<p>The <dfn title="concept-fs-method">method</dfn> of an element is
one of those states. If the element is a <span
Expand All @@ -63818,10 +63820,12 @@ out of 233&#x2009;257&#x2009;824 bytes available&lt;/meter>&lt;/p></pre>
<li>The "<dfn title="attr-fs-enctype-text"><code>text/plain</code></dfn>" keyword and corresponding state.</li>
</ul>

<p>The <i>invalid value default</i> for these attributes is the
<code
title="attr-fs-enctype-urlencoded">application/x-www-form-urlencoded</code>
state. (There is no <i>missing value default</i>.)</p>
<p>The <i>invalid value default</i> for these attributes is the <code
title="attr-fs-enctype-urlencoded">application/x-www-form-urlencoded</code> state. The <i>missing
value default</i> for the <code title="attr-fs-enctype">enctype</code> attribute is also the <code
title="attr-fs-enctype-urlencoded">application/x-www-form-urlencoded</code> state. (There is no
<i>missing value default</i> for the <code title="attr-fs-formenctype">formenctype</code>
attribute.)</p>

<p>The <dfn title="concept-fs-enctype">enctype</dfn> of an element
is one of those three states. If the element is a <span
Expand Down

0 comments on commit 588f6cf

Please sign in to comment.