Re: [css4-ui] ::tooltip

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 UTC