This repository was archived by the owner on Jul 9, 2025. It is now read-only.
Commit fe3ef95
Bug 1949142 [wpt PR 50795] - Simplify corner-shape inset formula, a=testonly
Automatic update from web-platform-tests
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 <[email protected]>
Commit-Queue: Noam Rosenthal <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1421844}
--
wpt-commits: 50268f9ef1ba7739f1d4b082b3b766b9a200144b
wpt-pr: 507951 parent 78e172a commit fe3ef95
File tree
1 file changed
+9
-13
lines changed- testing/web-platform/tests/css/css-borders/tentative/corner-shape
1 file changed
+9
-13
lines changedLines changed: 9 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
| 57 | + | |
57 | 58 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | 59 | | |
62 | 60 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
71 | 67 | | |
72 | 68 | | |
73 | 69 | | |
| |||
0 commit comments