W3C home > Mailing lists > Public > www-style@w3.org > June 2013

Re: [cssom-view][css-ui] elementsFromPoint() and pointer-events:paint-order

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 25 Jun 2013 10:49:48 -0700
Message-ID: <CAAWBYDD8yD2-WWfRvm3P4Ggg4yb2bfM_NHX-oWavtzc4pe219w@mail.gmail.com>
To: Simon Pieters <simonp@opera.com>
Cc: Alan Stearns <stearns@adobe.com>, W3C WWW Style <www-style@w3.org>, "glenn.adams@cox.com" <glenn.adams@cox.com>, Ian Hickson <ian@hixie.ch>, Elliott Sprehn <esprehn@gmail.com>, Simon Fraser <smfr@me.com>
On Tue, Jun 25, 2013 at 4:04 AM, Simon Pieters <simonp@opera.com> wrote:
> On Mon, 24 Jun 2013 21:10:46 +0200, Elliott Sprehn <esprehn@gmail.com>
> wrote:
>
>> Can we instead add an extra argument for this new magical behavior?
>>
>> Element elementFromPoint(x, y, includePointerEventsNoneStuff);
>> sequence<Element> elementsFromPoint(x, y, includePointerEventsNoneStuff);
>
> Use case?

Exactly what you presented in the bug
<https://www.w3.org/Bugs/Public/show_bug.cgi?id=19753#c3> - it might
be useful to actually get all the elements, if you're using it from
something other than hit-detection stuff.

~TJ
Received on Tuesday, 25 June 2013 17:50:36 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:12 UTC