Re: @viewport at-rule and 'title' (was Re: [css3] :viewport pseudo-class)

  Ernest Cline wrote:

>Actually, if CSS ever does so, ::tooltip or ::title would be more
>appropriate.  After all each element can have its own tooltip,
>so a pseudo-element would seem to be appropriate.
>
>[alt]::tooltip {content:attr(alt)}
>[title]::tooltip {content:attr(title)}
>

The [alt] is a joke, right?

I'm not sure if you want that people can create different tooltips in 
the same document, but that should probably be the author's choice.


-- 
 Anne van Kesteren
 <http://annevankesteren.nl/>

Received on Tuesday, 9 March 2004 16:18:00 UTC