Re: SVG Feature Request: Toggle text selection sensitivity

Rick:
> So, this is an answer, and it invalidates the problem presented by my
> use case.  I'm straining my brain to think of a case where it wouldn't
> suffice.  No luck.

I think there are certainly situations where you want to have some text
that responds to pointer events but not by performing selection.  The
usual way people solve this is to set pointer-events="none" on the text
element and place an invisible rectangle above/below it to capture the
mouse events.  This isn’t ideal because you do not always know how big
the text will be, depending on font fallback and so on.

-- 
Cameron McCormack ≝ http://mcc.id.au/

Received on Wednesday, 6 April 2011 17:23:40 UTC