• Koji Ishii's avatar
    [LayoutNG] Fix line initial style for non-first lines · 52a8eceb
    Koji Ishii authored
    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: default avatarEmil A Eklund <eae@chromium.org>
    Commit-Queue: Koji Ishii <kojii@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#527007}
    52a8eceb
pre-br.html 116 Bytes