[LayoutNG] Fix not to add borders/paddings to every line
The initial CL to support borders/paddings of the containing block of inlines[1] added the block start of borders/paddings to every line. This patch fixes to add it only once, to the content_size_, the same way as NGBlockLayoutAlgorithm does. [1] https://codereview.chromium.org/2886453005 BUG=636993, 725359 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_layout_ng Review-Url: https://codereview.chromium.org/2914523002 Cr-Commit-Position: refs/heads/master@{#475810}
Showing
Please register or sign in to comment