[webkit-dev] hit testing?

Mark Wyszomierski markww at gmail.com
Thu Nov 27 07:57:55 PST 2008

I'm wondering if webkit exposes any method to do a virtual hit testing via
javascript. I'm looking to use some method like:

    function hittest(int x, int y)
        for (all nodes in DOM) {
            return top-most node that gets intersected;

        return null;

Not sure if this is the right place to asking, I cannot find information
elsewhere. I'm targeting only safari which I believe uses webkit, so, I just
wanted to know if any such functionality in the base might exist so a
javascript function might exist,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20081127/fc0a6cb9/attachment.html>

More information about the webkit-dev mailing list