HTML Standard Tracker

Diff (omit for latest revision)

Short URL:

File a bug

SVNBugCommentTime (UTC)
2423[Gecko] [Internet Explorer] [Opera] [Webkit] Define how <object> fits into form submission.2008-11-20 02:52
Index: source
--- source	(revision 2422)
+++ source	(revision 2423)
@@ -17015,7 +17015,7 @@
   <dl class="element">
    <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
@@ -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>
       <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. -->
@@ -32014,6 +32023,15 @@
      body) as the value, and <var title="">type</var> as the
+     <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