Internals::touchPositionAdjustedToBestClickableNode adjust twice for scroll-offset
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 May 2012 14:04:45 +0000 (14:04 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 May 2012 14:04:45 +0000 (14:04 +0000)
commit49a9b4c463013b7c3b117a12d66a2d455c827f68
tree9f5b8efb762a1b5cbfe6ab86b169d96d09c5a381
parent8523186e37d0632fe49233aaf69ea41b08b0afc9
Internals::touchPositionAdjustedToBestClickableNode adjust twice for scroll-offset
https://bugs.webkit.org/show_bug.cgi?id=86205

Patch by Allan Sandfeld Jensen <allan.jensen@nokia.com> on 2012-05-11
Reviewed by Simon Hausmann.

Source/WebCore:

Remove the redundant conversion from document to window coords.

Test: touchadjustment/scroll-offset.html

* testing/Internals.cpp:
(WebCore::Internals::touchPositionAdjustedToBestClickableNode):
(WebCore::Internals::bestZoomableAreaForTouchPoint):

LayoutTests:

Add test of touchPositionAdjustedToBestClickableNode with scroll-offset.

* touchadjustment/scroll-offset-expected.txt: Added.
* touchadjustment/scroll-offset.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@116766 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/touchadjustment/scroll-offset-expected.txt [new file with mode: 0644]
LayoutTests/touchadjustment/scroll-offset.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/testing/Internals.cpp