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

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