Automatic update from web-platform-tests
[LayoutNG] Fix hit-testing on floats in line box
This patch fixes hit-testing floats when they are included in
a line box, and extend the height of the line box.
LayoutNG places floats within a line box, and make its bounds
to include floats. Hit-testing code checks floating objects
only if foreground hit-testing did not succeeded.
This patch changes foreground hit-testing on line box to fail
if there's a float at the location. It should be ok because
line box does not have foreground objects, but this is not
the most efficient way to fix this problem. We might want to
revisit either where to put such floats, or how to hit-test
floats.
Bug: 977856
Change-Id: I687dd44ddfbf7ebcb25b38a9d90470ea939cb053
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1680074
Commit-Queue: Emil A Eklund <[email protected]>
Reviewed-by: Emil A Eklund <[email protected]>
Cr-Commit-Position: refs/heads/master@{#672911}
--
wpt-commits: 7baea31d05c76d6d37975bb08304088f7f50d480
wpt-pr: 17544