[webkit-dev] Help finding element at point
cmumford at cmumford.com
Wed Aug 12 00:32:57 PDT 2009
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev