Skip to content
This repository has been archived by the owner on Jul 30, 2019. It is now read-only.

Commit

Permalink
updated dfn text
Browse files Browse the repository at this point in the history
refined terminology, allowed li as an ancestor.
fixes #791
fixes #539
  • Loading branch information
stevefaulkner committed Feb 9, 2017
1 parent 3d98e9d commit 3f46b45
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions sections/semantics-textlevel.include
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -791,12 +791,12 @@ affected by the heat source (upper left) and the food source (lower right).</
<dd>Uses {{HTMLElement}}.</dd> <dd>Uses {{HTMLElement}}.</dd>
</dl> </dl>


The <{dfn}> element <a>represents</a> the defining instance of a term. The The <{dfn}> element <a>represents</a> the defining instance of a term. The <a lt="dl">term-description group</a>
<a element lt="p">paragraph</a>, <a element lt="dl">description list group</a>, or <a element lt="section">section</a> that is the nearest ancestor of , <{p}>, <{li}> or <{section}> element that is the nearest ancestor of the <{dfn}> element
the <{dfn}> element must also contain the definition(s) for the <a>term</a> given by the must also contain the definition(s) for the <a>term</a> given by the <{dfn}> element.
<{dfn}> element.


<dfn lt="defines the term|defining term|term">Defining term</dfn>: If the <{dfn}> element has a <dfn element-attr for="dfn"><code>title</code></dfn> <dfn lt="defines the term|defining term|term">Defining term</dfn>: If the <{dfn}> element has a
<dfn element-attr for="dfn"><code>title</code></dfn>
attribute, then the exact value of that attribute is the term being defined. Otherwise, if it attribute, then the exact value of that attribute is the term being defined. Otherwise, if it
contains exactly one element child node and no child {{Text}} nodes, and that child contains exactly one element child node and no child {{Text}} nodes, and that child
element is an <{abbr}> element with a <{abbr/title}> attribute, then the exact value element is an <{abbr}> element with a <{abbr/title}> attribute, then the exact value
Expand Down

0 comments on commit 3f46b45

Please sign in to comment.