W3C home > Mailing lists > Public > public-pointer-events@w3.org > April to June 2014

Re: Impact of pointer capture on hit testing requirements / performance

From: Arthur Stolyar <nekr.fabula@gmail.com>
Date: Wed, 16 Apr 2014 01:15:36 +0400
Message-ID: <CAPAD5+ALLm8Uvw8aRK-UhEGpnjiQRpQXtfQgPK1VEmV_1MLcRg@mail.gmail.com>
To: public-pointer-events@w3.org
Forgot to add subject, prev. comment:

Also I am a bit confused with this 'avoid pointerover/out handlers on the
element and all its ancestors'--why need to check ancestors for
pointerover/out events when pointer capture is active? In case with js
polyfill. this check might be slower than just hit test.

2) Pointer Events requires a hit test on every move, although it can be
> avoided if the developer is careful. Eg. they must call setPointerCapture
> AND avoid any pointerenter/leave handlers on the element with capture, and
> also avoid pointerover/out handlers on the element and all its ancestors.
> We are concerned that in practice developers will rarely be this careful.

@nekrtemplar <https://twitter.com/nekrtemplar>
Received on Tuesday, 15 April 2014 21:16:04 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:20:26 UTC