commit | 00f271c0f21dae086f84b60afa63e325fb06b730 | [log] [tgz] |
---|---|---|
author | Koji Ishii <kojii@chromium.org> | Thu Dec 13 01:51:51 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Dec 13 01:51:51 2018 |
tree | ca620b16fab9aa650202a5139b36498c2c9f1244 | |
parent | b73ed33719c13f49750ff3bf795139a3b306468c [diff] |
[LayoutNG] Exclude trailing preserved spaces when avoiding floats This patch fixes an interoperability issue where trailing preserved spaces should be excluded when avoiding floats. All 4 implementations are interoperable on this regard. This patch adds NGLineInfo::HasOverflow(), because knowing whether the line has overflow or not is easy and fast, while knowing the exact inline size excluding trailing preserved spaces may involve reshaping. Other cases also have interoperability problems, such as `text-align` or `min-content`. I'll investigate them in following patches. Bug: 913995 Change-Id: Ibf13f1fcc28bbd99d44b56611141efa49d6d1c89 Reviewed-on: https://chromium-review.googlesource.com/c/1374329 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by: Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#616155}
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 .