[FragmentItem] Fix text snap-to-pixel behavior for culled inline box This patch modifies the snap-to-pixel behavior implemented in r736251 <crrev.com/c/2024133>. The CL changed to snap the top of the padding box of the parent box to match legacy and |NGPaintFragment| behavior. It did so even for culled inline boxes too, but this part was not compatible. This patch changes the logic to ignore culled inline boxes for the snap-to-pixel behavior, matching legacy and |NGPaintFragment|. Bug: 982194 Change-Id: I667f35d4b55909505502633b2d7e70b058191c8b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2106044 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/master@{#751062}
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 .
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.