[LayoutNG] Inline margin/border/padding, inter-item breaking, and tests
This patch implements inline margin/border/padding. NGTextFragment is placed according to these properties. The border is not reflected to fragment tree yet, adding NGBoxFragments will be in following patches. This patch also supports when inter-item is not breakable. Inline margin/border/padding belong to different NGInlineItem than its text, but between them are not breakable. Includes a fix for LazyLineBreakIterator where offset 0 should not be breakable. This patch also adds tests when inter-items are not breakable. BUG=636993 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_layout_ng Review-Url: https://codereview.chromium.org/2865903002 Cr-Commit-Position: refs/heads/master@{#475799}
Showing
This diff is collapsed.
Please register or sign in to comment