- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 20 Nov 2008 02:52:52 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv20271 Modified Files: Overview.html Log Message: Define how <object> fits into form submission. (whatwg r2423) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1594 retrieving revision 1.1595 diff -u -d -r1.1594 -r1.1595 --- Overview.html 20 Nov 2008 02:03:33 -0000 1.1594 +++ Overview.html 20 Nov 2008 02:52:49 -0000 1.1595 @@ -12989,7 +12989,7 @@ <a href=#reflect>reflect</a> the respective content attributes of the same name.<h4 id=the-object-element><span class=secno>4.8.5 </span>The <dfn><code>object</code></dfn> element</h4><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> @@ -13293,7 +13293,9 @@ map</a>. The attribute must be ignored if the <code><a href=#the-object-element>object</a></code> element doesn't represent an image.<p>The <code title=attr-fae-form><a href=#attr-fae-form>form</a></code> attribute is used to explicitly associate the <code><a href=#the-object-element>object</a></code> element with its - <a href=#form-owner>form owner</a>.<p>The <code><a href=#the-object-element>object</a></code> element supports <a href=#dimension-attributes>dimension + <a href=#form-owner>form owner</a>.<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>The <code><a href=#the-object-element>object</a></code> element supports <a href=#dimension-attributes>dimension attributes</a>.<p>The DOM attributes <dfn id=dom-object-data title=dom-object-data><code>data</code></dfn>, <dfn id=dom-object-type title=dom-object-type><code>type</code></dfn>, <dfn id=dom-object-name title=dom-object-name><code>name</code></dfn>, and <dfn id=dom-object-usemap title=dom-object-useMap><code>useMap</code></dfn> each must <a href=#reflect>reflect</a> the respective content attributes of the same name.<div class=example> @@ -18680,7 +18682,7 @@ elements</a> fall into several subcategories:<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> @@ -22841,11 +22843,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> @@ -22933,6 +22940,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>
Received on Thursday, 20 November 2008 02:53:01 UTC