Skip to content

Commit

Permalink
[giow] (2) <img name id> should be accessible via document.id. (credi…
Browse files Browse the repository at this point in the history
…t: ms)

git-svn-id: http://svn.whatwg.org/webapps@2645 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 13, 2009
1 parent 7b75fd3 commit 4693afb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
9 changes: 7 additions & 2 deletions index
Expand Up @@ -6329,7 +6329,10 @@ interface <dfn id=htmldocument>HTMLDocument</dfn> {
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
Expand All @@ -6356,7 +6359,9 @@ interface <dfn id=htmldocument>HTMLDocument</dfn> {
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
Expand Down
13 changes: 11 additions & 2 deletions source
Expand Up @@ -6380,7 +6380,11 @@ interface <dfn>HTMLDocument</dfn> {
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
Expand Down Expand Up @@ -6410,10 +6414,15 @@ interface <dfn>HTMLDocument</dfn> {
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
Expand Down

0 comments on commit 4693afb

Please sign in to comment.