W3C home > Mailing lists > Public > www-style@w3.org > February 2015

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 26 Feb 2015 13:50:21 -0800
Message-ID: <CAAWBYDCRvA8WAxgo-qYn7uYKvejdPX2DXCBgrOHqu2QQGc4x6Q@mail.gmail.com>
To: Philip Rogers <pdr@google.com>
Cc: Simon Pieters <simonp@opera.com>, www-style <www-style@w3.org>, Jacob Rossi <Jacob.Rossi@microsoft.com>, David Bokan <bokan@google.com>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:52:01 UTC