commit | 262eca3186442d4bcb2d46c4f60914eda5e55663 | [log] [tgz] |
---|---|---|
author | Koji Ishii <kojii@chromium.org> | Tue Aug 10 15:43:07 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Aug 10 15:43:07 2021 |
tree | 58b40935cb540cabfb4933f831d6916b3e2984fa | |
parent | b1af35c7c39b20d8dce821e85a600e30ff4b76a6 [diff] |
Change |NGFragmentItem::IsLastForNode| for ellipses This patch makes sure |IsLastForNode| always matches to their |NGPhysicalBoxFragment::BreakToken| for boxes (except inline boxes who don't have break tokens.) This is usually true, except when atomic inline is ellipsized. It's so edge case that it's easy to forget to handle it correctly. In our current code, two users of |IsLastForNode|, one in paint and one in pre-paint, both assume |IsLastForNode| is true for the last box fragment. Work arounds are already put in, so there should be no visible behavior changes, but this patch can make sure |IsLastForNode| returns what developers expect. I'll try to clean up existing work arounds in following patches. Bug: 1238173 Change-Id: I26a16662b9c65297b66bafd0770477e64a1af99b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3084246 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#910321}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.