[html5] r2643 - [giow] (2) Oops, missed a case -- <object> containing stuff musn't count for doc [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Jan 12 16:27:36 PST 2009


Author: ianh
Date: 2009-01-12 16:27:35 -0800 (Mon, 12 Jan 2009)
New Revision: 2643

Modified:
   index
   source
Log:
[giow] (2) Oops, missed a case -- <object> containing stuff musn't count for document.foo access. (credit: sp)

Modified: index
===================================================================
--- index	2009-01-13 00:20:57 UTC (rev 2642)
+++ index	2009-01-13 00:27:35 UTC (rev 2643)
@@ -6324,12 +6324,12 @@
   the values of the <code title=attr-name>name</code> content
   attributes of all the <code><a href=#the-applet-element>applet</a></code>, <code><a href=#the-embed-element>embed</a></code>,
   <code><a href=#the-form-element>form</a></code>, <code><a href=#the-iframe-element>iframe</a></code>, <code><a href=#the-img-element>img</a></code>, and
+  <a href=#fallback-free>fallback-free</a> <code><a href=#the-object-element>object</a></code> elements in the
+  <code>Document</code> that have <code title=attr-name>name</code>
+  content attributes, and the values of the <code title=attr-id><a href=#the-id-attribute>id</a></code> content attributes of all the
+  <code><a href=#the-applet-element>applet</a></code> and <a href=#fallback-free>fallback-free</a>
   <code><a href=#the-object-element>object</a></code> elements in the <code>Document</code> that have
-  <code title=attr-name>name</code> content attributes, and the
-  values of the <code title=attr-id><a href=#the-id-attribute>id</a></code> content attributes of
-  all the <code><a href=#the-applet-element>applet</a></code> and <code><a href=#the-object-element>object</a></code> elements in the
-  <code>Document</code> that have <code title=attr-id><a href=#the-id-attribute>id</a></code>
-  content attributes.</p>
+  <code title=attr-id><a href=#the-id-attribute>id</a></code> content attributes.</p>
 
   <p>When <dfn id=dom-document-nameditem title=dom-document-namedItem>the
   <code>HTMLDocument</code> object is indexed for property
@@ -6350,15 +6350,21 @@
   either:</p>
 
   <ul><li><code><a href=#the-applet-element>applet</a></code>, <code><a href=#the-embed-element>embed</a></code>, <code><a href=#the-form-element>form</a></code>,
-   <code><a href=#the-iframe-element>iframe</a></code>, <code><a href=#the-img-element>img</a></code>, or <code><a href=#the-object-element>object</a></code>
-   elements that have a <code title=attr-name>name</code> content
-   attribute whose value is <var title="">name</var>, or</li>
+   <code><a href=#the-iframe-element>iframe</a></code>, <code><a href=#the-img-element>img</a></code>, or
+   <a href=#fallback-free>fallback-free</a> <code><a href=#the-object-element>object</a></code> elements that have a
+   <code title=attr-name>name</code> content attribute whose value
+   is <var title="">name</var>, or</li>
 
-   <li><code><a href=#the-applet-element>applet</a></code> or <code><a href=#the-object-element>object</a></code> elements that have a
-   <code title=attr-id><a href=#the-id-attribute>id</a></code> content attribute whose value is
-   <var title="">name</var>.</li>
+   <li><code><a href=#the-applet-element>applet</a></code> or <a href=#fallback-free>fallback-free</a>
+   <code><a href=#the-object-element>object</a></code> elements that have a <code title=attr-id><a href=#the-id-attribute>id</a></code> content attribute whose value is <var title="">name</var>.</li>
 
-  </ul><p class=note>The <code title=dom-document-dir><a href=#dom-document-dir>dir</a></code>
+  </ul><p>An <code><a href=#the-object-element>object</a></code> element is said to be
+  <dfn id=fallback-free>fallback-free</dfn> if it has no element descendants and no
+  <a href=#text-node>text node</a> descendants that are not <a href=#inter-element-whitespace>inter-element
+  whitespace</a>.</p>
+
+
+  <p class=note>The <code title=dom-document-dir><a href=#dom-document-dir>dir</a></code>
   attribute on the <code><a href=#htmldocument>HTMLDocument</a></code> interface is defined
   along with the <code title=attr-dir><a href=#the-dir-attribute>dir</a></code> content
   attribute.</p>

Modified: source
===================================================================
--- source	2009-01-13 00:20:57 UTC (rev 2642)
+++ source	2009-01-13 00:27:35 UTC (rev 2643)
@@ -6362,12 +6362,13 @@
   the values of the <code title="attr-name">name</code> content
   attributes of all the <code>applet</code>, <code>embed</code>,
   <code>form</code>, <code>iframe</code>, <code>img</code>, and
+  <span>fallback-free</span> <code>object</code> elements in the
+  <code>Document</code> that have <code title="attr-name">name</code>
+  content attributes, and the values of the <code
+  title="attr-id">id</code> content attributes of all the
+  <code>applet</code> and <span>fallback-free</span>
   <code>object</code> elements in the <code>Document</code> that have
-  <code title="attr-name">name</code> content attributes, and the
-  values of the <code title="attr-id">id</code> content attributes of
-  all the <code>applet</code> and <code>object</code> elements in the
-  <code>Document</code> that have <code title="attr-id">id</code>
-  content attributes.</p>
+  <code title="attr-id">id</code> content attributes.</p>
 
   <p>When <dfn title="dom-document-namedItem">the
   <code>HTMLDocument</code> object is indexed for property
@@ -6391,17 +6392,24 @@
   <ul>
 
    <li><code>applet</code>, <code>embed</code>, <code>form</code>,
-   <code>iframe</code>, <code>img</code>, or <code>object</code>
-   elements that have a <code title="attr-name">name</code> content
-   attribute whose value is <var title="">name</var>, or</li>
+   <code>iframe</code>, <code>img</code>, or
+   <span>fallback-free</span> <code>object</code> elements that have a
+   <code title="attr-name">name</code> content attribute whose value
+   is <var title="">name</var>, or</li>
 
-   <li><code>applet</code> or <code>object</code> elements that have a
-   <code title="attr-id">id</code> content attribute whose value is
-   <var title="">name</var>.</li>
+   <li><code>applet</code> or <span>fallback-free</span>
+   <code>object</code> elements that have a <code
+   title="attr-id">id</code> content attribute whose value is <var
+   title="">name</var>.</li>
 
   </ul>
 
+  <p>An <code>object</code> element is said to be
+  <dfn>fallback-free</dfn> if it has no element descendants and no
+  <span>text node</span> descendants that are not <span>inter-element
+  whitespace</span>.</p>
 
+
   <p class="note">The <code title="dom-document-dir">dir</code>
   attribute on the <code>HTMLDocument</code> interface is defined
   along with the <code title="attr-dir">dir</code> content




More information about the Commit-Watchers mailing list