- From: Ernest Cline <ernestcline@mindspring.com>
- Date: Tue, 9 Mar 2004 15:09:41 -0500
- To: "Anne van Kesteren (fora)" <fora@annevankesteren.nl>, "Tantek ?elik" <tantek@cs.stanford.edu>, www-style@w3.org
> [Original Message]
> From: Anne van Kesteren (fora) <fora@annevankesteren.nl>
>
> Tantek Çelik wrote:
>
> >And just as @page has the special 'size' property, we could add a special
> >'title' property to @viewport so that arbitrary XML documents could be
> >styled to present what they consider their title in the title of the
window,
> >e.g.:
> >
> >@viewport {
> > title: "Welcome to this XML document";
> >}
>
> While the idea is nice, I think that 'title' is better preserved as an
> alternative to the TITLE _attribute_ in HTML, not the TITLE element.
> (Maybe we could even style these tooltips using @title.)
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)}
would emulate the behavior of many browsers,
Thus there is no reason to preserve the property name 'title' for
handling tooltip content.
Received on Tuesday, 9 March 2004 15:09:51 UTC