[LayoutNG] Fix line initial style for non-first lines
This patch fixes computing the initial style of a line for non-first lines. Example: <p>text <span style="word-break: break-all">abcdef... and the line wraps within "abcdef...", the initial style of the 2nd line is different from the line sytle. When NGLineBreaker initializes line-breaking-related properties, the style of the current box was not available. This patch adds the current style to NGInlineBreakToken. Bug: 636993 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: I45191cc6491c431b63a6de9e854fb8197d1b945b Reviewed-on: https://chromium-review.googlesource.com/846585Reviewed-by:Emil A Eklund <eae@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#527007}
Showing
Please register or sign in to comment