Re: [css4-ui] ::tooltip

On Wed, 2012-04-11 at 11:05 -0700, Tab Atkins Jr. wrote:
> On Tue, Apr 10, 2012 at 9:51 PM, Liam R E Quin <liam@w3.org> wrote:
> [...]

>  E.g. how would you use ::tooltip
> > to include a fragment of MathML markup inside a tooltip?
> 
> Right now, tooltips can't contain MathML *anyway*, since they always
> come from the @title attribute, which is string-valued.

Right - I'm trying to make sure that something better isn't precluded.

> If we have a tooltip pseudo, we can use Regions to move element content into it.
> 
> Anyway, I think this is a pretty reasonable idea, particularly if we
> currently stick with the restriction that it only contains text.

People do seem to want formatting within the tooltips, and to be able to
use an element's content, so removing this restriction is a good idea,
even though many GUI toolkits make it complicated to implement.

Best,

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/

Received on Wednesday, 11 April 2012 22:13:25 UTC