[FragmentItem] Fix reusing lines of `::first-line`
When `::first-line` state was changed, some lines may be still reusable, but reusing may put the fragment tree in a strange state where the block container doesn't think different text/styles are needed for `::first-line`, but |NGFragmentItem| may require the style/text for `::first-line`. This patch disallows reusing lines from `::first-line` if new block container does not have different `::first-line` text/style. Bug: 1104533 Change-Id: Ieb8745726ea8664480c248bca2ec991813027f11 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2291181 Commit-Queue: Yoshifumi Inoue <yosin@chromium.org> Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#787610}
Showing
Please register or sign in to comment