HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
2423[Gecko] [Internet Explorer] [Opera] [Webkit] Define how <object> fits into form submission.2008-11-20 02:52
@@ -17008,21 +17008,21 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>
   title="dom-embed-type"><code>type</code></dfn> each must
   <span>reflect</span> the respective content attributes of the same
   name.</p>
 
 
   <h4>The <dfn><code>object</code></dfn> element</h4>
 
   <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>
    <dd>Zero or more <code>param</code> elements, then, <span>transparent</span>.</dd>
    <dt>Element-specific attributes:</dt>
    <dd><code title="attr-object-data">data</code></dd>
    <dd><code title="attr-object-type">type</code></dd>
    <dd><code title="attr-object-name">name</code></dd>
    <dd><code title="attr-hyperlink-usemap">usemap</code></dd>
    <dd><code title="attr-fae-form">form</code></dd>
@@ -17374,20 +17374,24 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>
   <p>The <code title="attr-hyperlink-usemap">usemap</code> attribute,
   if present while the <code>object</code> element represents an
   image, can indicate that the object has an associated <span>image
   map</span>. The attribute must be ignored if the <code>object</code>
   element doesn't represent an image.</p>
 
   <p>The <code title="attr-fae-form">form</code> attribute is used to
   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>
 
   <p>The DOM attributes <dfn
   title="dom-object-data"><code>data</code></dfn>, <dfn
   title="dom-object-type"><code>type</code></dfn>, <dfn
   title="dom-object-name"><code>name</code></dfn>, and <dfn
   title="dom-object-useMap"><code>useMap</code></dfn> each must
   <span>reflect</span> the respective content attributes of the same
   name.</p>
@@ -25524,21 +25528,21 @@ function AddCloud(data, x, y) { ... }</pre>
   <p>The <span title="form-associated element">form-associated
   elements</span> fall into several subcategories:</p>
 
   <dl>
 
    <dt><dfn 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>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>
 
    <dd>Denotes elements that can be affected when a <code>form</code>
    element is <span title="concept-form-reset">reset</span>.</dd>
 
    <dt><dfn title="category-listed">Listed</dfn></dt>
 
    <dd>Denotes elements that are listed in the <code
    title="dom-form-elements"><var title="">form</var>.elements</code>
@@ -31878,29 +31882,34 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
        title="attr-input-type-radio">Radio Button</span> state and
        whose <span title="concept-fe-checked">checkedness</span> is
        false.</li>
 
        <li>The <var title="">field</var> element is an
        <code>input</code> element whose <code
        title="attr-input-type">type</code> attribute is in the <span
        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>
 
      </li>
 
      <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>
 
       <p>If the <var title="">field</var> element is an
       <code>input</code> element whose <code
       title="attr-input-type">type</code> attribute is in the <span
       title="attr-input-type-image">Image Button</span> state,
       then run these further nested substeps:</p>
 
       <ol>
@@ -32007,20 +32016,29 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
      title="attr-input-type">type</code> attribute is in the <span
      title="attr-input-type-file">File Upload</span> state, then for
      each file <span
      title="concept-input-type-file-selected">selected</span> in the
      <code>input</code> element, append an entry in the <var
      title="">form data set</var> with the <var title="">name</var> as
      the name, the file (consisting of the name, the type, and the
      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
      title="">field</var> element as the value, and <var
      title="">type</var> as the type.</p></li>
 
     </ol>
 
    </li>
 

|