Re: text selection test

On Thu, 20 Jan 2011 04:51:26 +0100, Cameron McCormack <>  

> text-tselect-01-b asserts that text selection shouldn’t span multiple
> <text> elements:
> Safari allows text selection across <text> elements.  This doesn’t seem
> like such a bad thing.  Are we sure we want this not to be allowed?

I raised that as an issue in the old tracker some years ago:

> Relatedly, I see this in text.html#TextSelection:
>   A text selection operation starts when all of the following occur:
>     …
>     * no links or events have been assigned to the ‘text’, ‘tspan’ or
>       ‘textPath’ element(s) (or their ancestors) associated with the
>       given glyph.
> Shouldn’t this be if the events handlers don’t call preventDefault()?

IMO selecting text that is a link should always be allowed, without any  
changes to content and without requiring a script to run.

Erik Dahlstrom, Core Technology Developer, Opera Software
Co-Chair, W3C SVG Working Group
Personal blog:

Received on Thursday, 20 January 2011 12:58:53 UTC