[wpt-sync] Sync PR 50795 - Simplify corner-shape inset formula
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox137 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 50795 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/50795
Details from upstream follow.
Noam Rosenthal <nrosenthal@chromium.org> wrote:
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}
Assignee | ||
Comment 1•1 month ago
|
||
Assignee | ||
Updated•1 month ago
|
Assignee | ||
Comment 2•1 month ago
|
||
Assignee | ||
Comment 3•1 month ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 9 tests
Status Summary
Firefox
FAIL
: 9
Chrome
FAIL
: 9
Safari
FAIL
: 9
Links
Details
New Tests That Don't Pass
- /css/css-borders/tentative/corner-shape/corner-shape-render.html?corner-bottom-left-shape=bevel [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - /css/css-borders/tentative/corner-shape/corner-shape-render.html?corner-top-right-shape=bevel&corner-bottom-right-shape=bevel&border-radius=80px [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - /css/css-borders/tentative/corner-shape/corner-shape-render.html?corner-top-right-shape=bevel&corner-bottom-right-shape=bevel&border-bottom-right-radius=80px&border-width=32px [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - /css/css-borders/tentative/corner-shape/corner-shape-render.html?corner-bottom-right-shape=bevel [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - /css/css-borders/tentative/corner-shape/corner-shape-render.html?corner-shape=bevel [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - /css/css-borders/tentative/corner-shape/corner-shape-render.html?corner-bottom-right-shape=bevel&corner-bottom-left-shape=bevel [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - /css/css-borders/tentative/corner-shape/corner-shape-render.html?corner-top-left-shape=bevel&border-radius=40px [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - /css/css-borders/tentative/corner-shape/corner-shape-render.html?corner-top-right-shape=bevel [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - /css/css-borders/tentative/corner-shape/corner-shape-render.html?corner-top-left-shape=bevel [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
Comment 5•23 days ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/dae37e8d14b7
https://hg.mozilla.org/mozilla-central/rev/50a6cac39cd8
Comment 6•23 days ago
|
||
bugherder |
Description
•