[wpt-sync] Sync PR 52778 - shape(): support arc radius direction-agnostic size
Categories
(Core :: Web Painting, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox141 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(3 files)
Sync web-platform-tests PR 52778 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/52778
Details from upstream follow.
Noam Rosenthal <nrosenthal@chromium.org> wrote:
shape(): support arc radius direction-agnostic size
Spec: https://drafts.csswg.org/css-shapes-2/#direction-agnostic-size
When an arc() value receives only one argument for a radius, compute
percentages for this radius as "direction-agnostic size", i.e. a
percentage from the diagonal length, creating a circular arc.Implemented behind a flag as it is a change to a shipped feature.
At this point this would interpolate incorrectly, will fix interpolation
in a followup CL, so the interpolation tests that test this are
converted to use both radii for now. (this bug exists for WebKit as
well, so removing these tests will not regress anything there).Bug: 417852973
Change-Id: I0baafefb5b33ede1a5a949b6f9be92e6480f456b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6573335
Commit-Queue: Noam Rosenthal \<nrosenthal@google.com>
Reviewed-by: Fredrik Söderquist \<fs@opera.com>
Cr-Commit-Position: refs/heads/main@{#1465464}
Assignee | ||
Updated•2 months ago
|
Assignee | ||
Comment 1•2 months ago
|
||
Assignee | ||
Comment 2•2 months ago
|
||
Assignee | ||
Comment 3•2 months ago
|
||
Automatic update from web-platform-tests
shape(): support arc radius direction-agnostic size
Spec: https://drafts.csswg.org/css-shapes-2/#direction-agnostic-size
When an arc() value receives only one argument for a radius, compute
percentages for this radius as "direction-agnostic size", i.e. a
percentage from the diagonal length, creating a circular arc.
Implemented behind a flag as it is a change to a shipped feature.
At this point this would interpolate incorrectly, will fix interpolation
in a followup CL, so the interpolation tests that test this are
converted to use both radii for now. (this bug exists for WebKit as
well, so removing these tests will not regress anything there).
Bug: 417852973
Change-Id: I0baafefb5b33ede1a5a949b6f9be92e6480f456b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6573335
Commit-Queue: Noam Rosenthal <nrosenthal@google.com>
Reviewed-by: Fredrik Söderquist <fs@opera.com>
Cr-Commit-Position: refs/heads/main@{#1465464}
--
wpt-commits: 995a8e17bb74e2c1e46f3698fb9ee94a69a5f3ef
wpt-pr: 52778
Assignee | ||
Comment 4•2 months ago
|
||
wpt-pr: 52778
wpt-type: metadata
Comment 6•2 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2483426e775d
https://hg.mozilla.org/mozilla-central/rev/8cf2c27d73bc
Description
•