Skip to content

Commit

Permalink
[c] (0) Allow duplicate definitions; require that the definition be w…
Browse files Browse the repository at this point in the history
…ith the <dfn>.

git-svn-id: http://svn.whatwg.org/webapps@1467 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 20, 2008
1 parent 50d0397 commit 417b4cd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 18 deletions.
16 changes: 7 additions & 9 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -11125,11 +11125,13 @@ wormhole connection.&lt;/mark>&lt;/p></pre>
</dl>

<p>The <code><a href="#dfn">dfn</a></code> element represents the defining
instance of a term. The <span title=paragraphs>paragraphs</span>, <a
href="#dl" title=dl>description list groups</a>, or <a href="#sectioning0"
title="sectioning content">sections</a> that contain the <code><a
href="#dfn">dfn</a></code> element contain the definition(s) for the term
given by the contents of the <code><a href="#dfn">dfn</a></code> element.
instance of a term. The <a href="#paragraph"
title=paragraph>paragraph</a>, <a href="#dl" title=dl>description list
group</a>, or <a href="#sectioning0" title="sectioning
content">section</a> that is the nearest ancestor of the <code><a
href="#dfn">dfn</a></code> element must also contain the definition(s) for
the term given by the contents of the <code><a href="#dfn">dfn</a></code>
element.

<p><dfn id=defining>Defining term</dfn>: If the <code><a
href="#dfn">dfn</a></code> element has a <dfn id=title4
Expand All @@ -11148,10 +11150,6 @@ wormhole connection.&lt;/mark>&lt;/p></pre>
attribute of the <code><a href="#dfn">dfn</a></code> element is present,
then it must only contain the term being defined.

<p>There must only be one <code><a href="#dfn">dfn</a></code> element per
document for each term defined (i.e. there must not be any duplicate <a
href="#defining" title="defining term">terms</a>).

<p class=note>The <code title=attr-title><a href="#title">title</a></code>
attribute of ancestor elements does not affect <code><a
href="#dfn">dfn</a></code> elements.
Expand Down
14 changes: 5 additions & 9 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -9259,11 +9259,11 @@ wormhole connection.&lt;/mark>&lt;/p></pre>
</dl>

<p>The <code>dfn</code> element represents the defining instance of
a term. The <span title="paragraphs">paragraphs</span>, <span title="dl">description
list groups</span>, or <span title="sectioning
content">sections</span> that contain the <code>dfn</code> element
contain the definition(s) for the term given by the contents of the
<code>dfn</code> element.</p>
a term. The <span title="paragraph">paragraph</span>, <span
title="dl">description list group</span>, or <span title="sectioning
content">section</span> that is the nearest ancestor of the
<code>dfn</code> element must also contain the definition(s) for the
term given by the contents of the <code>dfn</code> element.</p>

<p><dfn>Defining term</dfn>: If the <code>dfn</code> element has a
<dfn title="attr-dfn-title"><code>title</code></dfn> attribute, then
Expand All @@ -9282,10 +9282,6 @@ wormhole connection.&lt;/mark>&lt;/p></pre>
<code>dfn</code> element is present, then it must only contain the
term being defined.</p>

<p>There must only be one <code>dfn</code> element per document for
each term defined (i.e. there must not be any duplicate <span
title="defining term">terms</span>).</p>

<p class="note">The <code title="attr-title">title</code> attribute
of ancestor elements does not affect <code>dfn</code> elements.</p>

Expand Down

0 comments on commit 417b4cd

Please sign in to comment.