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

Re: SVG Feature Request: Toggle text selection sensitivity

From: Charles Pritchard <chuck@jumis.com>
Date: Wed, 06 Apr 2011 13:18:08 -0700
Message-ID: <4D9CCA80.9000508@jumis.com>
To: cam@mcc.id.au
CC: Rick <graham.rick@gmail.com>, "Dr. Olaf Hoffmann" <Dr.O.Hoffmann@gmx.de>, "www-svg@w3.org" <www-svg@w3.org>
On 4/6/2011 1:11 PM, Cameron McCormack wrote:
> Charles Pritchard:
>> Related to this thread, I'm exploring the possibility of enabling CSS
>> pointer-events to work with canvas.
>> The stroke(), fill() and clearRect properties are sufficient to
>> maintain a 1bit per pixel bitmap as an incremental improvement on the
>> relationship between DOM events and the 2d context.
>> It seems quite manageable within existing specs; but would lump
>> strokeText in with stroke(), or simply not composite strokeText /
>> fillText onto the 1bit per pixel backing store.
> I’m not sure why you need to maintain a separate 1bpp buffer.  We have
> discussed in the past extending pointer-events with a value that means
> “capture events on pixels that are not alpha=0”, which might be
> sufficient.
It might be sufficient. If it's not, a 1bpp buffer seems a logical step.
pointer-events="painted" seems like what you're describing.

stroke/fill may be workable with 1bpp.

They may be desirable, for the same reasons they're desirable in SVG.

Received on Wednesday, 6 April 2011 20:18:32 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:24 UTC