[whatwg] [WA1] Web Apps 1.0: dfn and homonyms

Ian Hickson wrote:
> On Mon, 4 Jul 2005, fantasai wrote:
> 
>>Now my question is, what if you need to define the same term twice?
>>E.g.
>>  In CSS, a <dfn>property</dfn> is ...
>>  However, in XXX, a <dfn>property</dfn> is ...
> 
> Give the two different title attributes.

You mean, like
   <dfn title="CSS property">
?

Wouldn't that cause trouble for an automatic indexer? The term should
be filed under 'property', not 'CSS'.

> This is done all over the place in the HTML5 spec, fwiw.

# <dfn id="updateeverything"
#   title="dom-datagrid-updateEverything"><code>updateEverything()</code></dfn>

That 'title' is not a human-targetted string, Ian.

~fantasai

Received on Monday, 4 July 2005 23:13:17 UTC