commit | b7a8aa08181918071a490745bf98868426ea8394 | [log] [tgz] |
---|---|---|
author | Noam Rosenthal <nrosenthal@chromium.org> | Wed Feb 19 10:22:48 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Feb 19 10:22:48 2025 |
tree | bff59848d596a19c9437ee536a16573f5711f01b | |
parent | 57cf5bc29d957039f5de9d41d5330573f9edc447 [diff] |
Simplify corner-shape inset formula Undo the slope calculation which was done for uneven radius (e.g. due to percentage), as this would be incompatible with existing border-radius rendering. Instead, compute a simple offset based on the curvature and border width only. This would mean that elliptical corners would still look "scaled", but square corners would have the correct width. Bug: 394059604 Change-Id: If95876d166fdf7c2a83c3b1853e5be6cbb4bf657 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6280666 Reviewed-by: Fredrik Söderquist <fs@opera.com> Commit-Queue: Noam Rosenthal <nrosenthal@chromium.org> Cr-Commit-Position: refs/heads/main@{#1421844}
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.