[html5] r2645 - [giow] (2) <img name id> should be accessible via document.id. (credit: ms)
whatwg at whatwg.org
whatwg at whatwg.org
Mon Jan 12 16:47:39 PST 2009
Author: ianh
Date: 2009-01-12 16:47:38 -0800 (Mon, 12 Jan 2009)
New Revision: 2645
Modified:
index
source
Log:
[giow] (2) <img name id> should be accessible via document.id. (credit: ms)
Modified: index
===================================================================
--- index 2009-01-13 00:32:41 UTC (rev 2644)
+++ index 2009-01-13 00:47:38 UTC (rev 2645)
@@ -6329,7 +6329,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>
+ <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>
<p>When <dfn id=dom-document-nameditem title=dom-document-namedItem>the
<code>HTMLDocument</code> object is indexed for property
@@ -6356,8 +6359,10 @@
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
<a href=#text-node>text node</a> descendants that are not <a href=#inter-element-whitespace>inter-element
Modified: source
===================================================================
--- source 2009-01-13 00:32:41 UTC (rev 2644)
+++ source 2009-01-13 00:47:38 UTC (rev 2645)
@@ -6380,7 +6380,11 @@
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-id">id</code> content attributes.</p>
+ <code title="attr-id">id</code> content attributes, and the values
+ of the <code title="attr-id">id</code> content attributes of all the
+ <code>img</code> elements in the <code>Document</code> that have
+ both <code title="attr-name">name</code> content attributes and <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
@@ -6410,10 +6414,15 @@
is <var title="">name</var>, or</li>
<li><code>applet</code> or <span>fallback-free</span>
- <code>object</code> elements that have a <code
+ <code>object</code> elements that have an <code
title="attr-id">id</code> content attribute whose value is <var
title="">name</var>.</li>
+ <li><code>img</code> elements that have an <code
+ title="attr-id">id</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>object</code> element is said to be
More information about the Commit-Watchers
mailing list