commit | c113ca57feaea96c38f1b8ec21eb5541466bda84 | [log] [tgz] |
---|---|---|
author | Koji Ishii <kojii@chromium.org> | Tue Feb 12 05:46:41 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Feb 12 05:46:41 2019 |
tree | 05523a9d4a3e8631aa09bd10fa5f41ffb6baa5e4 | |
parent | 6a0cce90fde297df713cd3db7ecd11d42aaa713c [diff] |
[LayoutNG] Add |changes_may_affect_earlier_lines_| flag This patch adds a flag that indicates, within the NGInlineNode, changes to LayoutObject/NGInlineItem may affect earlier lines than the object was laid out. When reusing cached lines, changed objects dirties line boxes their previous object belongs to, and NG reuses lines up to the first dirty line. However, when `unicode-bidi: plaintext` is applied, changing text may change the whole block when the first strong character was changed. inline-plaintext-relayout-with-leading-neutrals.html sometimes crashes due to this problem. Bug: 636993 Change-Id: Id9843a45d1af69ca4ffa3484183a6f3229a34049 Reviewed-on: https://chromium-review.googlesource.com/c/1454068 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by: Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#631125}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .