W3C home > Mailing lists > Public > public-html-commits@w3.org > January 2009

html5/spec Overview.html,1.1814,1.1815

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 13 Jan 2009 00:47:45 +0000
To: public-html-commits@w3.org
Message-Id: <E1LMXRZ-00073n-P8@lionel-hutz.w3.org>

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv27119

Modified Files:
	Overview.html 
Log Message:
<img name id> should be accessible via document.id. (credit: ms) (whatwg r2645)

Index: Overview.html
===================================================================
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:48:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 13 January 2009 00:48:01 GMT