commit | 2c24a75324a2bcde982d9c4fcad5afb68563e2de | [log] [tgz] |
---|---|---|
author | Noam Rosenthal <nrosenthal@chromium.org> | Tue Apr 01 12:32:30 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Apr 01 12:32:30 2025 |
tree | 6b43f9180e639ef0def7ccda3b7911f9d57f8f4d | |
parent | 89e03191575d757c4505d61c584a118926420653 [diff] |
corner-shape: use proportional radii for shadows Instead of using offsets and curvature adjustments like in borders, we treat the shadow spread as if it was a scale, and maintain the original rect->radii proportions. This ensures that the shadow shape looks like a scaled version of the original rect, and its edges (e.g. scoop) are crisp. Bug: 397459628 Change-Id: Ie155c131be3478cb6d838970cef0afb73d6ed32a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6420932 Commit-Queue: Noam Rosenthal <nrosenthal@chromium.org> Reviewed-by: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/main@{#1440842}
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.