spec/Overview.html 1.1813 2643 Oops, missed a case -- <object> containi

Oops, missed a case -- <object> containing stuff musn't count for
document.foo access. (credit: sp) (whatwg r2643)

fallback-free
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1813.html#fallback-free
3.3 Elements
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1813.html#elements
the HTMLDocument object is indexed for property retrieval
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1813.html#dom-document-nameditem
Named elements
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1813.html#dom-document-nameditem-filter

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1812&r2=1.1813&f=h
http://html5.org/tools/web-apps-tracker?from=2642&to=2643

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1812
retrieving revision 1.1813
diff -u -d -r1.1812 -r1.1813
--- Overview.html 13 Jan 2009 00:21:04 -0000 1.1812
+++ Overview.html 13 Jan 2009 00:27:41 -0000 1.1813
@@ -5234,12 +5234,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>When <dfn id=dom-document-nameditem title=dom-document-namedItem>the
+  <code title=attr-id><a href=#the-id-attribute>id</a></code> content attributes.<p>When <dfn id=dom-document-nameditem title=dom-document-namedItem>the
   <code>HTMLDocument</code> object is indexed for property
   retrieval</dfn> using a name <var title="">name</var>, then: if the
   list of <a href=#dom-document-nameditem-filter title=dom-document-namedItem-filter>named
@@ -5254,15 +5254,18 @@
   returned, because of the rule under collections --><p><dfn id=dom-document-nameditem-filter title=dom-document-nameditem-filter>Named elements</dfn>
   with the name <var title="">name</var> are those that are
   either:<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 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.<h3 id=elements><span class=secno>3.3 </span>Elements</h3><h4 id=semantics-0><span class=secno>3.3.1 </span>Semantics</h4><p>Elements, attributes, and attribute values in HTML are defined

Received on Tuesday, 13 January 2009 00:31:00 UTC