spec/Overview.html 1.1593 2421 Make <object> a form-associated element.

Make <object> a form-associated element. (whatwg r2421)

If the sandboxed plugins browsing context flag is set on the browsing context for which the object element's document is the active document, then the steps above must always act as if they had failed to find a plugin, even if one would otherwise have been used.
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1593.html#sandboxPluginObject
buttons
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1593.html#concept-button
submit buttons
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1593.html#concept-submit-button
4.8.5 The object element
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1593.html#the-object-element
src
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1593.html#dom-embed-src
data
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1593.html#dom-object-data
Labelable
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1593.html#category-label
HTMLObjectElement
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1593.html#htmlobjectelement
8.2.5.10 The "in body" insertion mode
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1593.html#parsing-main-inbody
An end tag whose tag name is one of: "a", "b", "big", "em", "font", "i", "nobr", "s", "small", "strike", "strong", "tt", "u"
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1593.html#adoptionAgency
4.10.1 The form element
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1593.html#the-form-element

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1592&r2=1.1593&f=h
http://html5.org/tools/web-apps-tracker?from=2420&to=2421

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1592
retrieving revision 1.1593
diff -u -d -r1.1592 -r1.1593
--- Overview.html 20 Nov 2008 00:38:06 -0000 1.1592
+++ Overview.html 20 Nov 2008 01:51:28 -0000 1.1593
@@ -12989,6 +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>
    <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>
@@ -12998,6 +12999,7 @@
    <dd><code title=attr-object-type><a href=#attr-object-type>type</a></code></dd>
    <dd><code title=attr-object-name><a href=#attr-object-name>name</a></code></dd>
    <dd><code title=attr-hyperlink-usemap><a href=#attr-hyperlink-usemap>usemap</a></code></dd>
+   <dd><code title=attr-fae-form><a href=#attr-fae-form>form</a></code></dd>
    <dd><code title=attr-dim-width><a href=#attr-dim-width>width</a></code></dd>
    <dd><code title=attr-dim-height><a href=#attr-dim-height>height</a></code></dd>
    <dt>DOM interface:</dt>
@@ -13007,6 +13009,7 @@
            attribute DOMString <a href=#dom-object-type title=dom-object-type>type</a>;
            attribute DOMString <a href=#dom-object-name title=dom-object-name>name</a>;
            attribute DOMString <a href=#dom-object-usemap title=dom-object-useMap>useMap</a>;
+  readonly attribute <a href=#htmlformelement>HTMLFormElement</a> <a href=#dom-fae-form title=dom-fae-form>form</a>;
            attribute DOMString <a href=#dom-dim-width title=dom-dim-width>width</a>;
            attribute DOMString <a href=#dom-dim-height title=dom-dim-height>height</a>;<!--
   readonly attribute Document <span title="dom-object-contentDocument">contentDocument</span>;
@@ -13288,7 +13291,9 @@
   if present while the <code><a href=#the-object-element>object</a></code> element represents an
   image, can indicate that the object has an associated <a href=#image-map>image
   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><a href=#the-object-element>object</a></code> element supports <a href=#dimension-attributes>dimension
+  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
   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>
@@ -18694,7 +18699,9 @@
 
   </dl><p>In addition, some <a href=#category-submit title=category-submit>submittable
   elements</a> can be, depending on their attributes, <dfn id=concept-button title=concept-button>buttons</dfn>. The prose below defines when
-  an element is a button. Some buttons are specifically <dfn id=concept-submit-button title=concept-submit-button>submit buttons</dfn>.<h4 id=the-form-element><span class=secno>4.10.1 </span>The <dfn><code>form</code></dfn> element</h4><dl class=element><dt>Categories</dt>
+  an element is a button. Some buttons are specifically <dfn id=concept-submit-button title=concept-submit-button>submit buttons</dfn>.<p class=note>For historical reasons, the <code><a href=#the-object-element>object</a></code>
+  element, which is not otherwise considered to be related to forms,
+  is also a <a href=#form-associated-element>form-associated element</a>.<h4 id=the-form-element><span class=secno>4.10.1 </span>The <dfn><code>form</code></dfn> element</h4><dl class=element><dt>Categories</dt>
    <dd><a href=#flow-content-0>Flow content</a>.</dd>
    <dt>Contexts in which this element may be used:</dt>
    <dd>Where <a href=#flow-content-0>flow content</a> is expected.</dd>
@@ -38626,8 +38633,8 @@
     "p" had been seen.</p>
 
     <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token, and set the
-    <code title=form><a href=#the-form-element>form</a></code> element pointer to point to the
-    element created.</p>
+    <a href=#form-element-pointer><code title=form>form</code> element pointer</a> to
+    point to the element created.</p>
 
    </dd>
 
@@ -39149,7 +39156,7 @@
    </dd>
 
    <dt>A start tag token whose tag name is one of: "applet",
-   "marquee", "object"</dt>
+   "marquee"</dt>
    <dd>
 
     <p><a href=#reconstruct-the-active-formatting-elements>Reconstruct the active formatting elements</a>, if
@@ -39162,6 +39169,26 @@
 
    </dd>
 
+   <!-- as for applet and marquee, but interacts with the form element pointer -->
+   <dt>A start tag token whose tag name is "object"</dt>
+   <dd>
+
+    <p><a href=#reconstruct-the-active-formatting-elements>Reconstruct the active formatting elements</a>, if
+    any.</p>
+
+    <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token.</p>
+
+    <p>If the <a href=#form-element-pointer><code title="">form</code> element pointer</a>
+    is not null and the newly created element doesn't have a <code title=attr-fae-form><a href=#attr-fae-form>form</a></code> attribute, then <a href=#concept-form-association title=concept-form-association>associate</a> the newly
+    created <code><a href=#the-object-element>object</a></code> element with the <code><a href=#the-form-element>form</a></code>
+    element pointed to by the <a href=#form-element-pointer><code title="">form</code> element
+    pointer</a>.</p>
+
+    <p>Insert a marker at the end of the <a href=#list-of-active-formatting-elements>list of active
+    formatting elements</a>.</p>
+
+   </dd>
+
    <dt>An end tag token whose tag name is one of: "applet", "button",
    "marquee", "object"</dt>
    <dd>

Received on Thursday, 20 November 2008 01:55:22 UTC