- From: Simon Pieters <simonp@opera.com>
- Date: Tue, 16 Apr 2013 10:50:08 +0200
- To: "Ian Hickson" <ian@hixie.ch>, "Simon Fraser" <smfr@me.com>
- Cc: "Anne van Kesteren" <annevk@opera.com>, www-style@w3.org, esprehn@gmail.com
On Wed, 09 Feb 2011 00:31:08 +0100, Simon Fraser <smfr@me.com> wrote: > On Feb 8, 2011, at 3:22 PM, Ian Hickson wrote: > >> elementFromPoint() is defined to return a single Element, but apparently >> it is quite common for users of this API to find that the element at the >> given point isn't the element they want, because multiple elements are >> overlaid on the same spot on the canvas. >> >> It would be useful for such users if a variant of this API could be made >> that returns a (static) NodeList giving all the elements under that >> point. > > I'm glad you said static! > > Why would you want to return a node that can never be hit by the user? > > If the author wants to make a node invisible to user events, they can use > the pointer-events property. The pointer-events property seems to address the stated need AFAICT, so I haven't added anything to cssom-view. -- Simon Pieters Opera Software
Received on Tuesday, 16 April 2013 08:50:44 UTC