[html5] r2423 - [giow] (2) Define how <object> fits into form submission.
whatwg at whatwg.org
whatwg at whatwg.org
Wed Nov 19 18:52:46 PST 2008
Author: ianh
Date: 2008-11-19 18:52:45 -0800 (Wed, 19 Nov 2008)
New Revision: 2423
Modified:
index
source
Log:
[giow] (2) Define how <object> fits into form submission.
Modified: index
===================================================================
--- index 2008-11-20 02:03:28 UTC (rev 2422)
+++ index 2008-11-20 02:52:45 UTC (rev 2423)
@@ -15911,7 +15911,7 @@
<dl class=element><dt>Categories</dt>
<dd><a href=#embedded-content-1>Embedded content</a>.</dd>
- <dd><a href=#form-associated-element>Form-associated element</a>.</dd>
+ <dd><a href=#category-listed title=category-listed>Listed</a>, <a href=#category-submit title=category-submit>submittable</a>, <a href=#form-associated-element>form-associated element</a>.</dd>
<dt>Contexts in which this element may be used:</dt>
<dd>Where <a href=#embedded-content-1>embedded content</a> is expected.</dd>
<dt>Content model:</dt>
@@ -16241,6 +16241,10 @@
explicitly associate the <code><a href=#the-object-element>object</a></code> element with its
<a href=#form-owner>form owner</a>.</p>
+ <p><strong>Constraint validation:</strong> <code><a href=#the-object-element>object</a></code>
+ elements are always <a href=#barred-from-constraint-validation>barred from constraint
+ validation</a>.</p>
+
<p>The <code><a href=#the-object-element>object</a></code> element supports <a href=#dimension-attributes>dimension
attributes</a>.</p>
@@ -22936,7 +22940,7 @@
<dl><dt><dfn id=category-submit title=category-submit>Submittable elements</dfn></dt>
<dd>Denotes elements that can be used for <a href=#constructing-form-data-set>constructing the form data
- set</a> when a <code><a href=#the-form-element>form</a></code> element is <a href=#concept-form-submit title=concept-form-submit>submit</a>.</dd>
+ set</a> when a <code><a href=#the-form-element>form</a></code> element is <a href=#concept-form-submit title=concept-form-submit>submitted</a>.</dd>
<dt><dfn id=category-reset title=category-reset>Resettable elements</dfn></dt>
@@ -28280,11 +28284,16 @@
<code><a href=#the-input-element>input</a></code> element whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#file-upload-state title=attr-input-type-file>File Upload</a> state but
the control does not have any files selected.</li>
+ <li>The <var title="">field</var> element is an
+ <code><a href=#the-object-element>object</a></code> element that is not using a
+ <a href=#plugin>plugin</a>.</li>
+
</ul><p>Otherwise, process <var title="">field</var> as follows:</p>
</li>
- <li><p>Let <var title="">type</var> be the value of the <code title="">type</code> DOM attribute of <var title="">field</var>.</li>
+ <li><p>Let <var title="">type</var> be the value of the <code title="">type</code> DOM attribute of <var title="">field</var>.</li> <!-- if the field is an <object>
+ element, this will get ignored. -->
<li>
@@ -28372,6 +28381,14 @@
body) as the value, and <var title="">type</var> as the
type.</li>
+ <li><p>Otherwise, if the <var title="">field</var> element is an
+ <code><a href=#the-object-element>object</a></code> element: try to obtain a form submission
+ value from the <a href=#plugin>plugin</a><!-- using NPAPI's
+ NPP_GetValue() entry point with the NPPVformValue variable -->,
+ and if that is successful, append an entry in the <var title="">form data set</var> with <var title="">name</var> as the
+ name, the returned form submission value as the value, and the
+ string "<code title="">object</code>" as the type.</li>
+
<li><p>Otherwise, append an entry in the <var title="">form data
set</var> with <var title="">name</var> as the name, the <a href=#concept-fe-value title=concept-fe-value>value</a> of the <var title="">field</var> element as the value, and <var title="">type</var> as the type.</li>
Modified: source
===================================================================
--- source 2008-11-20 02:03:28 UTC (rev 2422)
+++ source 2008-11-20 02:52:45 UTC (rev 2423)
@@ -17015,7 +17015,7 @@
<dl class="element">
<dt>Categories</dt>
<dd><span>Embedded content</span>.</dd>
- <dd><span>Form-associated element</span>.</dd>
+ <dd><span title="category-listed">Listed</span>, <span title="category-submit">submittable</span>, <span>form-associated element</span>.</dd>
<dt>Contexts in which this element may be used:</dt>
<dd>Where <span>embedded content</span> is expected.</dd>
<dt>Content model:</dt>
@@ -17381,6 +17381,10 @@
explicitly associate the <code>object</code> element with its
<span>form owner</span>.</p>
+ <p><strong>Constraint validation:</strong> <code>object</code>
+ elements are always <span>barred from constraint
+ validation</span>.</p>
+
<p>The <code>object</code> element supports <span>dimension
attributes</span>.</p>
@@ -25531,7 +25535,7 @@
<dd>Denotes elements that can be used for <a
href="#constructing-form-data-set">constructing the form data
set</a> when a <code>form</code> element is <span
- title="concept-form-submit">submit</span>.</dd>
+ title="concept-form-submit">submitted</span>.</dd>
<dt><dfn title="category-reset">Resettable elements</dfn></dt>
@@ -31885,6 +31889,10 @@
title="attr-input-type-file">File Upload</span> state but
the control does not have any files selected.</li>
+ <li>The <var title="">field</var> element is an
+ <code>object</code> element that is not using a
+ <span>plugin</span>.</li>
+
</ul>
<p>Otherwise, process <var title="">field</var> as follows:</p>
@@ -31893,7 +31901,8 @@
<li><p>Let <var title="">type</var> be the value of the <code
title="">type</code> DOM attribute of <var
- title="">field</var>.</p></li>
+ title="">field</var>.</p></li> <!-- if the field is an <object>
+ element, this will get ignored. -->
<li>
@@ -32014,6 +32023,15 @@
body) as the value, and <var title="">type</var> as the
type.</p></li>
+ <li><p>Otherwise, if the <var title="">field</var> element is an
+ <code>object</code> element: try to obtain a form submission
+ value from the <span>plugin</span><!-- using NPAPI's
+ NPP_GetValue() entry point with the NPPVformValue variable -->,
+ and if that is successful, append an entry in the <var
+ title="">form data set</var> with <var title="">name</var> as the
+ name, the returned form submission value as the value, and the
+ string "<code title="">object</code>" as the type.</p></li>
+
<li><p>Otherwise, append an entry in the <var title="">form data
set</var> with <var title="">name</var> as the name, the <span
title="concept-fe-value">value</span> of the <var
More information about the Commit-Watchers
mailing list