W3C home > Mailing lists > Public > public-css-bugzilla@w3.org > December 2012

[Bug 20328] New: new method, like document.elementFromPoint(), but in the document's coordinate space

From: <bugzilla@jessica.w3.org>
Date: Mon, 10 Dec 2012 21:38:12 +0000
To: public-css-bugzilla@w3.org
Message-ID: <bug-20328-5148@http.www.w3.org/Bugs/Public/>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 10 December 2012 21:44:35 GMT