W3C home > Mailing lists > Public > www-svg@w3.org > April 2011

Re: SVG Feature Request: Toggle text selection sensitivity

From: Rick <graham.rick@gmail.com>
Date: Wed, 6 Apr 2011 13:20:53 -0400
Message-ID: <BANLkTinXfCyoLXXqQK=GbNuXeJRZRNwZ=g@mail.gmail.com>
To: Rick <graham.rick@gmail.com>, www-svg <www-svg@w3.org>
Cc: Cameron McCormack <cam@mcc.id.au>
Thanks for that Cameron.

Killing all the pointer events on the text, as I said in the other
email, solves my specific problem.

I'm not sure that it isn't still an issue, pointer-events='none' kills
all events on the text, So you pretty much get text selection, or
nothing depending closely upon how it is implemented.

On Wed, Apr 6, 2011 at 1:15 PM, Cameron McCormack <cam@mcc.id.au> wrote:
> Hi Rick.
>
> Rick Graham:
>> A proposed solution:
>>
>> Create a property 'text-select' for container, <text>, and <tspan>
>> elements, with the values ['inherit'|'on'|'none'].
>
> I haven’t yet looked at your proposal in detail, but I just wanted to
> point out that Gecko has a prefixed property that allows you to control
> selectability of text:
>
>  https://developer.mozilla.org/en/CSS/-moz-user-select
>
> There’s -webkit-user-select too.  The user-select property was in an old
> draft of the CSS UI specification.  I think it would be a good idea to
> raise this in the CSS WG so that it can be standardized.
>
> --
> Cameron McCormack ≝ http://mcc.id.au/
>



-- 
Cheers!
Rick

Is God willing to prevent evil, but not able?
    Then he is not omnipotent.
Is he able, but not willing?
    Then he is malevolent.
Is he both able and willing?
    Then whence cometh evil?
Is he neither able nor willing?
    Then why call him God?

 - Epicurus
Received on Wednesday, 6 April 2011 17:21:52 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:47 GMT