[LayoutNG] Not paint a line break at the end of inline-block
This patch stops painting a line break the end of inline-block because if an inline-block is at the middle of line, we should not paint a line break. Old layout paints line break if the inline-block is at the end of line, but since its complex to determine if the inline-block is at the end of line on NG, this patch just cancels block-end line break painting for any inline-block. This patch fixes: paint/selection/text-selection-inline-block-rtl.html paint/selection/text-selection-inline-block.html (rebase is for 1px line height). Bug: 708452 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: I270b48fd432e31b327796b098edc7c9553b356ad Reviewed-on: https://chromium-review.googlesource.com/1096922 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Reviewed-by:
Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#567670}
Showing


