commit | a5816e3ceede12dc19be67a905eafc317cb31672 | [log] [tgz] |
---|---|---|
author | Koji Ishii <kojii@chromium.org> | Tue Aug 16 04:28:52 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Aug 16 04:28:52 2022 |
tree | 31c7bf0f09e66ab67408fe1470e532ec3cc2bd75 | |
parent | 3249308a3392fb15f633e7dd10a0b7de9407a118 [diff] |
[anchor-position] Fix when the containing block has borders In CSS, "the containing block is formed by the padding edge"[1], while our geometry is based on the border box. This patch fixes |NGAnchorEvaluatorImpl| to return the padding box instead of the border box. [1] https://www.w3.org/TR/CSS21/visudet.html#containing-block-details Bug: 1309178 Change-Id: I046feaf0977863549cf51bfe97263323ffc04217 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3817423 Auto-Submit: Koji Ishii <kojii@chromium.org> Reviewed-by: Kent Tamura <tkent@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/main@{#1035360}
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.