Bug 1560843 [wpt PR 17351] - Don't round hit test location in HitTestLocation::RectFo...
commitd3bfcb7fde5731793dde71b507f3e8bddb55d70a
authorXiaocheng Hu <xiaochengh@chromium.org>
Fri, 19 Jul 2019 12:23:08 +0000 (19 12:23 +0000)
committerJames Graham <james@hoppipolla.co.uk>
Wed, 24 Jul 2019 12:29:50 +0000 (24 13:29 +0100)
treef3d3435a6da13636f2cf2bd95630a737a06a6889
parentce28e56dac69295ac746ccdd162fc1ddcd5dd6ef
Bug 1560843 [wpt PR 17351] - Don't round hit test location in HitTestLocation::RectForPoint, a=testonly

Automatic update from web-platform-tests
Don't round hit test location in HitTestLocation::RectForPoint

HitTestLocation rounds the hit test location to the closest 1x1 rect
for no good reason, causing some confusing hit test results. Hence,
this patch removes such rounding.

Bug: 974314
Change-Id: I48266a7ec8bffbeb746085c5d8835d3f300dd4b1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1661297
Reviewed-by: Emil A Eklund <eae@chromium.org>
Reviewed-by: Philip Rogers <pdr@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#669579}

--

wpt-commits: 5689f6b102fa8055740ff66dfe6b8c3b9a808c08
wpt-pr: 17351
testing/web-platform/tests/css/cssom-view/elementFromPoint-subpixel.html [new file with mode: 0644]