Skip to content

Commit

Permalink
[ac] (1) Make id='' required on <map>. Let me know if that's a problem.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@987 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 8, 2007
1 parent df9d93e commit 4bc2902
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion index
Original file line number Diff line number Diff line change
Expand Up @@ -16520,7 +16520,8 @@ notes on what would need to be defined for dashed lines:

<dt>Element-specific attributes:

<dd>None.
<dd>None, but the <code title=attr-id><a href="#id">id</a></code>
attribute is required.

<dt>DOM interface:

Expand All @@ -16536,6 +16537,9 @@ notes on what would need to be defined for dashed lines:
<code><a href="#area">area</a></code> element descendants, defines an <a
href="#image">image map</a>.

<p>There must always be an <code title=attr-id><a href="#id">id</a></code>
attribute present on <code><a href="#map">map</a></code> elements.

<p>The <dfn id=areas title=dom-map-areas><code>areas</code></dfn> attribute
must return an <code><a href="#htmlcollection0">HTMLCollection</a></code>
rooted at the <code><a href="#map">map</a></code> element, whose filter
Expand Down
5 changes: 4 additions & 1 deletion source
Original file line number Diff line number Diff line change
Expand Up @@ -14210,7 +14210,7 @@ notes on what would need to be defined for dashed lines:
<dt>Content model:</dt>
<dd>Zero or more <span>block-level elements</span>.</dd>
<dt>Element-specific attributes:</dt>
<dd>None.</dd>
<dd>None, but the <code title="attr-id">id</code> attribute is required.</dd>
<dt>DOM interface:</dt>
<dd>
<pre class="idl">interface <dfn>HTMLMapElement</dfn> : <span>HTMLElement</span> {
Expand All @@ -14224,6 +14224,9 @@ notes on what would need to be defined for dashed lines:
<code>area</code> element descendants, defines an <span>image
map</span>.</p>

<p>There must always be an <code title="attr-id">id</code> attribute
present on <code>map</code> elements.</p>

<p>The <dfn title="dom-map-areas"><code>areas</code></dfn> attribute
must return an <code>HTMLCollection</code> rooted at the
<code>map</code> element, whose filter matches only
Expand Down

0 comments on commit 4bc2902

Please sign in to comment.