Re: [css3-ui] text-overflow: ellipsis and :hover

On Sun, Jun 26, 2011 at 3:45 PM, Robert O'Callahan <robert@ocallahan.org> wrote:
> On Sun, Jun 26, 2011 at 3:29 PM, Philippe Wittenbergh
> <ph.wittenbergh@l-c-n.com> wrote:
>> What should happen when the user hovers over the ellipsis when the clipped
>> string is part of a link ? IOW, does the ellipsis become part of the link or
>> does the 'box' generated by the ellipsis cover the link (and blocks hit
>> testing on said link) ?
>>
>> Implementations disagree with WebKit and IE (tested IE 8) on one side,
>> Opera and Firefox nightly on the other.
>
> More accurately, Firefox simply ignores the ellipsis for the purpose of
> dispatching mouse events.

This is the best behavior imo, as the ellipsis is "generated content",
and generated content generally doesn't participate in mouse events
beyond the interaction pseudoclasses that CSS defines.

~TJ

Received on Tuesday, 28 June 2011 18:30:07 UTC