spec/Overview.html 1.1815 2645 <img name id> should be accessible via d

<img name id> should be accessible via document.id. (credit: ms) (whatwg
r2645)

fallback-free
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1815.html#fallback-free
the HTMLDocument object is indexed for property retrieval
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1815.html#dom-document-nameditem
Named elements
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1815.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.1814&r2=1.1815&f=h
http://html5.org/tools/web-apps-tracker?from=2644&to=2645

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1814
retrieving revision 1.1815
diff -u -d -r1.1814 -r1.1815
--- Overview.html 13 Jan 2009 00:32:47 -0000 1.1814
+++ Overview.html 13 Jan 2009 00:47:43 -0000 1.1815
@@ -5241,7 +5241,10 @@
   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-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, 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-img-element>img</a></code> elements in the <code>Document</code> that have
+  both <code title=attr-name>name</code> content attributes and <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
@@ -5262,7 +5265,9 @@
    is <var title="">name</var>, or</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>
+   <code><a href=#the-object-element>object</a></code> elements that have an <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-img-element>img</a></code> elements that have an <code title=attr-id><a href=#the-id-attribute>id</a></code> content attribute whose value is <var title="">name</var>, and that have a <code title=attr-name>name</code> content attribute present also.</li>
 
   </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

Received on Tuesday, 13 January 2009 00:51:03 UTC