- From: Simon Fraser <smfr@me.com>
- Date: Tue, 08 Feb 2011 15:31:08 -0800
- To: Ian Hickson <ian@hixie.ch>
- Cc: Anne van Kesteren <annevk@opera.com>, www-style@w3.org, esprehn@gmail.com
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. Simon
Received on Tuesday, 8 February 2011 23:31:53 UTC