Document-relative page overlays drop some mouse events with non-zero top content...
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Aug 2014 03:02:35 +0000 (03:02 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Aug 2014 03:02:35 +0000 (03:02 +0000)
commit95393eb6ca5d0cf200b33fa8bb18ce5805235e9f
tree7f774b5b6d2d92d8ebcb4d461bc3be7d4086c888
parentf456b9a309a4d915ccfb0d1133adc6d9457cd28e
Document-relative page overlays drop some mouse events with non-zero top content inset
https://bugs.webkit.org/show_bug.cgi?id=135871
<rdar://problem/17982275>

Reviewed by Beth Dakin.

* WebProcess/WebPage/PageOverlay.cpp:
(WebKit::PageOverlay::mouseEvent):
Convert the mouse position into document-relative coordinates; the bounds()
already are! This way, we can actually compare them without being wrong sometimes.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@172512 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/WebProcess/WebPage/PageOverlay.cpp