[LayoutNG] Allow hit test to enter inline boxes to search for floats

Existing float hit-testing code assumes that floats are direct children
of the containing formatting context, which is violated since we have
moved floats under line boxes or inline boxes.

This patch changes hit test code to allow entering inline boxes when
searching for floating hit test targets.

Bug: 927642
Change-Id: I4329dffa0a3e0de7cff6e5f39add533e2791588f
Reviewed-on: https://chromium-review.googlesource.com/c/1450623
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#628686}
2 files changed