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

On Tue, 5 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'.

So make the title "property, CSS".

Or have the indexer do the usual thing, and reverse the word order.


> > 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.

Indeed.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Wednesday, 6 July 2005 04:22:46 UTC