[webkit-dev] Help finding element at point
Chris Mumford
cmumford at cmumford.com
Wed Aug 12 00:32:57 PDT 2009
Hi:
I'm trying to figure out the DOM element at a certain (x,y) point. To do
this I'm using Document::prepareMouseEvent() which seems to return what I
expect - most of the time. Specifically <input type="text"> nodes are
returned as <div>#text</div>. It appears to me as though I'm getting the
internal representation of the text input element. How can I get the "real"
element at a given location?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090812/3d9e4dc3/attachment.html>
More information about the webkit-dev
mailing list