Skip to content

Commit

Permalink
[ac] (2) Require that <map name=''> names be unique in the document.
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=7836

git-svn-id: http://svn.whatwg.org/webapps@4196 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 20, 2009
1 parent a21b214 commit 8adc0bf
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
5 changes: 4 additions & 1 deletion complete.html
Expand Up @@ -27595,7 +27595,10 @@ <h4 id=the-map-element><span class=secno>4.8.12 </span>The <dfn><code>map</code>

<p>The <dfn id=attr-map-name title=attr-map-name><code>name</code></dfn> attribute
gives the map a name so that it can be referenced. The attribute
must be present and must have a non-empty value with no <a href=#space-character title="space character">space characters</a>. If the <code title=attr-id><a href=#the-id-attribute>id</a></code> attribute is also specified, both
must be present and must have a non-empty value with no <a href=#space-character title="space character">space characters</a>. The name must be
unique amongst all the <code title=attr-map-name><a href=#attr-map-name>name</a></code>
attributes of <code><a href=#the-map-element>map</a></code> elements in the document. If the
<code title=attr-id><a href=#the-id-attribute>id</a></code> attribute is also specified, both
attributes must have the same value.</p>

<dl class=domintro><dt><var title="">map</var> . <code title=dom-map-areas><a href=#dom-map-areas>areas</a></code></dt>
Expand Down
5 changes: 4 additions & 1 deletion index
Expand Up @@ -27424,7 +27424,10 @@ function AddCloud(data, x, y) { ... }</pre>

<p>The <dfn id=attr-map-name title=attr-map-name><code>name</code></dfn> attribute
gives the map a name so that it can be referenced. The attribute
must be present and must have a non-empty value with no <a href=#space-character title="space character">space characters</a>. If the <code title=attr-id><a href=#the-id-attribute>id</a></code> attribute is also specified, both
must be present and must have a non-empty value with no <a href=#space-character title="space character">space characters</a>. The name must be
unique amongst all the <code title=attr-map-name><a href=#attr-map-name>name</a></code>
attributes of <code><a href=#the-map-element>map</a></code> elements in the document. If the
<code title=attr-id><a href=#the-id-attribute>id</a></code> attribute is also specified, both
attributes must have the same value.</p>

<dl class=domintro><dt><var title="">map</var> . <code title=dom-map-areas><a href=#dom-map-areas>areas</a></code></dt>
Expand Down
6 changes: 4 additions & 2 deletions source
Expand Up @@ -30079,8 +30079,10 @@ function AddCloud(data, x, y) { ... }</pre>
<p>The <dfn title="attr-map-name"><code>name</code></dfn> attribute
gives the map a name so that it can be referenced. The attribute
must be present and must have a non-empty value with no <span
title="space character">space characters</span>. If the <code
title="attr-id">id</code> attribute is also specified, both
title="space character">space characters</span>. The name must be
unique amongst all the <code title="attr-map-name">name</code>
attributes of <code>map</code> elements in the document. If the
<code title="attr-id">id</code> attribute is also specified, both
attributes must have the same value.</p>

<dl class="domintro">
Expand Down

0 comments on commit 8adc0bf

Please sign in to comment.