W3C home > Mailing lists > Public > www-style@w3.org > April 2012

Re: [css4-ui] ::tooltip

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Wed, 11 Apr 2012 20:00:23 -0700
Message-ID: <CALRQH7-BaAhS153txbfPR1uhnKcNBq9zey1XQ4VCYsD+r22W1g@mail.gmail.com>
To: www-style@w3.org
On Wed, Apr 11, 2012 at 5:31 PM, Lea Verou <leaverou@gmail.com> wrote:
>
> On 11/4/12 17:05, Belov, Charles wrote:
>>
>> No, it would be very useful for accessibility, e.g., in a personal style
>> sheet:
>>
>> *:tooltip { font-size: large; }
>>
>> Hope this helps,
>> Charles Belov
>> SFMTA Webmaster
>
> I'm afraid you might be under the same misunderstanding as Andrew. What your
> rule would do, is to make the font-size larger *only when the tooltip is
> shown*, NOT to enlarge the text *in* the tooltip. That would be terrible for
> UX, as everything would jump around as tooltips show and hide.
>

No, :tooltip (in my case :popup) matches element in :popup state -
the popup element itself. The element for which tooltip is shown
gets :owns-popup state flag.

-- 
Andrew Fedoniouk.

http://terrainformatica.com
Received on Thursday, 12 April 2012 03:00:51 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:52 GMT