Skip to content

Commit

Permalink
[c] (0) Also ban duplicate <a name>s (not just <a name> clashing with…
Browse files Browse the repository at this point in the history
… id='').

git-svn-id: http://svn.whatwg.org/webapps@3675 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 25, 2009
1 parent 34edf28 commit fa48bb5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 13 deletions.
15 changes: 10 additions & 5 deletions index
Expand Up @@ -71541,11 +71541,16 @@ time:empty { binding: <i title="">time</i>; }</pre>

<p>Authors should not specify the <code title=attr-a-name><a href=#attr-a-name>name</a></code> attribute on <code><a href=#the-a-element>a</a></code>
elements. If the attribute is present, its value must not be the
empty string and must not be equal to the value of any of the <a href=#concept-id title=concept-id>IDs</a> in the element's <a href=#home-subtree>home
subtree</a> other than the element's own <a href=#concept-id title=concept-id>ID</a>, if any. If this attribute is present
and the element has an <a href=#concept-id title=concept-id>ID</a>, then the
attribute's value must be equal to the element's <a href=#concept-id title=concept-id>ID</a>. In earlier versions of the language,
this attribute served a similar role as the <code title=attr-id><a href=#the-id-attribute>id</a></code> attribute. The <code title=attr-id><a href=#the-id-attribute>id</a></code> attribute should be used instead.</p>
empty string and must neither be equal to the value of any of the
<a href=#concept-id title=concept-id>IDs</a> in the element's <a href=#home-subtree>home
subtree</a> other than the element's own <a href=#concept-id title=concept-id>ID</a>, if any, nor be equal to the value of
any of the other <code title=attr-a-name><a href=#attr-a-name>name</a></code> attribues on
<code><a href=#the-a-element>a</a></code> elements in the elemnet's <a href=#home-subtree>home
subtree</a>. If this attribute is present and the element has an
<a href=#concept-id title=concept-id>ID</a>, then the attribute's value must
be equal to the element's <a href=#concept-id title=concept-id>ID</a>. In
earlier versions of the language, this attribute served a similar
role as the <code title=attr-id><a href=#the-id-attribute>id</a></code> attribute. The <code title=attr-id><a href=#the-id-attribute>id</a></code> attribute should be used instead.</p>

<p class=note>The <code title=attr-table-summary><a href=#attr-table-summary>summary</a></code>
attribute, defined in the <code><a href=#the-table-element>table</a></code> section, will also
Expand Down
18 changes: 10 additions & 8 deletions source
Expand Up @@ -84952,15 +84952,17 @@ time:empty { binding: <i title="">time</i>; }</pre>
<p>Authors should not specify the <code
title="attr-a-name">name</code> attribute on <code>a</code>
elements. If the attribute is present, its value must not be the
empty string and must not be equal to the value of any of the <span
title="concept-id">IDs</span> in the element's <span>home
empty string and must neither be equal to the value of any of the
<span title="concept-id">IDs</span> in the element's <span>home
subtree</span> other than the element's own <span
title="concept-id">ID</span>, if any. If this attribute is present
and the element has an <span title="concept-id">ID</span>, then the
attribute's value must be equal to the element's <span
title="concept-id">ID</span>. In earlier versions of the language,
this attribute served a similar role as the <code
title="attr-id">id</code> attribute. The <code
title="concept-id">ID</span>, if any, nor be equal to the value of
any of the other <code title="attr-a-name">name</code> attribues on
<code>a</code> elements in the elemnet's <span>home
subtree</span>. If this attribute is present and the element has an
<span title="concept-id">ID</span>, then the attribute's value must
be equal to the element's <span title="concept-id">ID</span>. In
earlier versions of the language, this attribute served a similar
role as the <code title="attr-id">id</code> attribute. The <code
title="attr-id">id</code> attribute should be used instead.</p>

<p class="note">The <code title="attr-table-summary">summary</code>
Expand Down

0 comments on commit fa48bb5

Please sign in to comment.