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

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

From: Simon Pieters <simonp@opera.com>
Date: Thu, 26 Feb 2015 11:09:57 +0100
To: www-style <www-style@w3.org>, "Philip Rogers" <pdr@google.com>
Cc: "Jacob Rossi" <Jacob.Rossi@microsoft.com>, "David Bokan" <bokan@google.com>
Message-ID: <op.xuns6vc1idj3kv@simons-mbp>
On Wed, 25 Feb 2015 22:40:50 +0100, Philip Rogers <pdr@google.com> wrote:

> www-style,
>
> The elementsFromPoint (plural) spec [1] is ambiguous about whether  
> elements
> with pointer-events: none should be returned. Can we update the spec to
> explicitly allow pointer-events: none elements?
>
> I think it makes sense to return all elements and have this be a
> general-purpose API. I spoke with a front-end developer on the polymer  
> team
> and they agreed because typical usecases already need to filter out
> unwanted elements. The IE team may have come to the same conclusion as
> msElementsFromPoint also includes pointer-events: none elements.
>
> [1] http://www.w3.org/TR/cssom-view/#extensions-to-the-document-interface

For which use cases would you not filter them out?

-- 
Simon Pieters
Opera Software
Received on Thursday, 26 February 2015 10:10:19 UTC

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