<rdar://problem/5682340> REGRESSION (r28188): Context menu appears at wrong...
authoradachan@apple.com <adachan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 19 Jan 2008 00:24:41 +0000 (00:24 +0000)
committeradachan@apple.com <adachan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 19 Jan 2008 00:24:41 +0000 (00:24 +0000)
commit1b6b588dcd63861da62adeec50170fe69a2a4625
tree9dd1b0283e718075982e469a8763df984d8e0f93
parent3ef1c376bc34fccf137fc47dbb647d82658ab4e2
    <rdar://problem/5682340> REGRESSION (r28188): Context menu appears at wrong place when clicking in iframe whose parent is scrolled (16827)
        Calling absolutePosition() in EventHandler::hitTestResultAtPoint() is extremely inefficient and passing in
        true as fixed before was wrong.  Use HitTestResult::localPoint() instead, and take into account border and padding widths.

        Reviewed by Hyatt and Darin.

        * page/EventHandler.cpp:
        (WebCore::EventHandler::hitTestResultAtPoint):
        * rendering/HitTestResult.cpp:
        (WebCore::HitTestResult::operator=):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@29657 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/page/EventHandler.cpp
WebCore/rendering/HitTestResult.cpp