Hi Sam ,
This is regarding
https://bugs.webkit.org/attachment.cgi?id=39511&action=edit
I am facing similar problem .
For me,AT TIMES elementFromPoint doesn't return the exact node .
Any clue ?
Thanks,
Ritesh
===================================================================
2009-09-12 Sam Weinig <[email protected]>
2
3 Reviewed by NOBODY (OOPS!).
4
5 Fix for https://bugs.webkit.org/show_bug.cgi?id=29219
6 Document.elementFromPoint() should take page scroll into consideration
7
8 Test: fast/dom/elementFromPoint-relative-to-viewport.html
9
10 * dom/Document.cpp:
11 (WebCore::Document::elementFromPoint):
12 (WebCore::Document::caretRangeFromPoint):
13
114 2009-09-12 Sam Weinig <[email protected]>
215
316 Reviewed by Maciej Stachowiak.
WebCore/dom/Document.cpp
@@ KURL Document::baseURI() const
927927
928928 Element* Document::elementFromPoint(int x, int y) const
929929 {
930 // FIXME: Share code between this and caretRangeFromPoint.
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev