W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2005

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

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 6 Jul 2005 11:22:46 +0000 (UTC)
Message-ID: <Pine.LNX.4.61.0507061121450.21582@dhalsim.dreamhost.com>
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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:41 UTC