- From: Ian Hickson <ian@hixie.ch>
- Date: Tue, 8 Feb 2011 23:22:37 +0000 (UTC)
- To: Anne van Kesteren <annevk@opera.com>
- cc: www-style@w3.org, esprehn@gmail.com
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. (Note that crawling the DOM is not sufficient here, because the overlapped nodes are often from very different parts of the DOM, apparently.) I've cc'ed Elliott, who may be able to provide more information about use cases and might be able to show examples of other Wev devs asking for this kind of thing. Cheers, -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 8 February 2011 23:23:07 UTC