[LayoutNG] Stop PositionForPointInInlineFormattingContext() from entering non-line-box children
The above mentioned function is supposed to enter a line box child to find positions in inline descendants. In some situations, the inline formatting context have have direct non-inline child (e.g., abs-pos float), which should be ignored. This patch removes the existing redundant branch that enters non-line- box children, to fix failure in fast/shapes/shape-outside-floats/shape-outside-clip-path-selection.html. Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng;luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel Change-Id: I834544692d6cc8d9fc4340fb55ffb1bbe53f1276 Reviewed-on: https://chromium-review.googlesource.com/1151947 Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Commit-Queue: Emil A Eklund <eae@chromium.org> Reviewed-by:Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#578471}
Showing
Please register or sign in to comment