commit | 58172f8399c53d28c242b756d69edf9cc4063bcb | [log] [tgz] |
---|---|---|
author | Koji Ishii <kojii@chromium.org> | Thu Jul 14 01:15:01 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jul 14 01:15:01 2022 |
tree | 067335b5249d247b9a28b6f5c311b001df8d60b5 | |
parent | 7e873a13cb0875473a626dd4e8422612f4fc1e76 [diff] |
[anchor-position] Add replaced sizing tests As a follow up to the initial implementation of the `anchor-size()` function in r1023963 crrev.com/c/3759793, this patch adds tests for absolutely positioned replaced elements. |NGOutOfFlowLayoutPart::CalculateOffset| calls |ComputeReplacedSize| if the out-of-flow object is a replaced element. Tests in this patch should cover "if" branches in the |ComputeReplacedSize| function. This patch has no behavior changes, only new tests. Bug: 1309178 Change-Id: I06d521436ff0e4c818f050b1c02cb9e04bc526f9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3759356 Reviewed-by: Xiaocheng Hu <xiaochengh@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/main@{#1024040}
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.