webkit-help is the list you want, not webkit-dev.

But to answer your question, see Document::elementAtPoint(x, y).

-eric

On Wed, Aug 12, 2009 at 12:32 AM, Chris Mumford <[email protected]>wrote:

> 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.
>
> _______________________________________________
> webkit-dev mailing list
> [email protected]
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
>
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to