Skip to content

Commit

Permalink
[agiow] (2) <map> elements now have a .images attribute that returns …
Browse files Browse the repository at this point in the history
…the associated images.

git-svn-id: http://svn.whatwg.org/webapps@986 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 8, 2007
1 parent 5b41f3b commit df9d93e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
10 changes: 10 additions & 0 deletions index
Expand Up @@ -16528,6 +16528,7 @@ notes on what would need to be defined for dashed lines:
<pre
class=idl>interface <dfn id=htmlmapelement>HTMLMapElement</dfn> : <a href="#htmlelement">HTMLElement</a> {
readonly attribute <a href="#htmlcollection0">HTMLCollection</a> <a href="#areas" title=dom-map-areas>areas</a>;
readonly attribute <a href="#htmlcollection0">HTMLCollection</a> <a href="#images1" title=dom-map-images>images</a>;
};</pre>
</dl>

Expand All @@ -16540,6 +16541,15 @@ notes on what would need to be defined for dashed lines:
rooted at the <code><a href="#map">map</a></code> element, whose filter
matches only <code><a href="#area">area</a></code> elements.

<p>The <dfn id=images1 title=dom-map-images><code>images</code></dfn>
attribute must return an <code><a
href="#htmlcollection0">HTMLCollection</a></code> rooted at the
<code>Document</code> node, whose filter matches only <code><a
href="#img">img</a></code>, <code>input</code> and <code><a
href="#object">object</a></code> elements that are associated with this
<code><a href="#map">map</a></code> element according to the <a
href="#image">image map</a> processing model.

<h4 id=the-area><span class=secno>3.14.13. </span>The <dfn
id=area><code>area</code></dfn> element</h4>

Expand Down
8 changes: 8 additions & 0 deletions source
Expand Up @@ -14215,6 +14215,7 @@ notes on what would need to be defined for dashed lines:
<dd>
<pre class="idl">interface <dfn>HTMLMapElement</dfn> : <span>HTMLElement</span> {
readonly attribute <span>HTMLCollection</span> <span title="dom-map-areas">areas</span>;
readonly attribute <span>HTMLCollection</span> <span title="dom-map-images">images</span>;
};</pre>
</dd>
</dl>
Expand All @@ -14227,6 +14228,13 @@ notes on what would need to be defined for dashed lines:
must return an <code>HTMLCollection</code> rooted at the
<code>map</code> element, whose filter matches only
<code>area</code> elements.</p>

<p>The <dfn title="dom-map-images"><code>images</code></dfn>
attribute must return an <code>HTMLCollection</code> rooted at the
<code>Document</code> node, whose filter matches only
<code>img</code>, <code>input</code> and <code>object</code>
elements that are associated with this <code>map</code> element
according to the <span>image map</span> processing model.</p>



Expand Down

0 comments on commit df9d93e

Please sign in to comment.