Re: [cssom-view] Clarifying elementsFromPoint and pointer-events: none

On Thu, Feb 26, 2015 at 1:42 PM, Philip Rogers <pdr@google.com> wrote:
> Tab,
>
> Yeah, I think it makes sense to return all elements as if pointer-events is
> auto. I'm not sure the flag is worth the complexity since it's pretty
> trivial to implement pointer-events special handling if the user wants to.
> For the SVG cases of pointer-events: visibleFill, etc, SVG has isPointInFill
> and isPointInStroke.

Ah, I wasn't aware of those methods in SVG.  In that case I'm fine
with this; I just thought it would be difficult to actually
reimplement pointer-events filtering on your own.

> A case where you would not filter out pointer-events: none is when you are
> building a WYSIWYG editor that supports pointer-events: none elements.

Makes sense.

~TJ

Received on Thursday, 26 February 2015 21:51:11 UTC