- From: <bugzilla@jessica.w3.org>
- Date: Mon, 10 Dec 2012 21:38:12 +0000
- To: public-css-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20328 Bug ID: 20328 Summary: new method, like document.elementFromPoint(), but in the document's coordinate space Classification: Unclassified Product: CSS Version: unspecified Hardware: PC OS: All Status: NEW Severity: enhancement Priority: P2 Component: CSSOM View Assignee: dave.null@w3.org Reporter: eoconnor@apple.com QA Contact: public-css-bugzilla@w3.org Both document.elementFromPoint() and document.caretPositionFromPoint() take viewpoint coordinates, and return null if the coordinates given identify a point outside of the visible viewport. This prevents using these methods for hit testing elements elsewhere in the document. We've had a few feature requests for equivalent methods which operate within the document's coordinate space, and personally I think it's a good idea. Implementing such methods in WebKit would be pretty straightforward. I'll refrain from suggesting names; feel free to bikeshed! :) Filed as requested in http://lists.w3.org/Archives/Public/www-style/2012Oct/0690.html -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Monday, 10 December 2012 21:44:34 UTC