Closed Bug 1968504 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 52778 - shape(): support arc radius direction-agnostic size

Categories

(Core :: Web Painting, task, P4)

task

Tracking

()

RESOLVED FIXED
141 Branch
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).

R=fs@opera.com

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}

Component: web-platform-tests → Web Painting
Product: Testing → Core
Attached file Notable wpt changes
# CI Results Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI Total 6 tests and 35 subtests ## Status Summary ### Firefox `OK` : 5 `PASS`: 1027 `FAIL`: 345 ### Chrome `OK` : 5 `PASS`: 1366 `FAIL`: 6 ### Safari `OK` : 5 `PASS`: 1366 `FAIL`: 6 ## Links [GitHub PR Head](https://wpt.fyi/results/?sha=5fcef72829700d8b96871eaae464d6e083f28b64&label=pr_head) [GitHub PR Base](https://wpt.fyi/results/?sha=5fcef72829700d8b96871eaae464d6e083f28b64&label=pr_base) ## Details (See attachment for full changes)

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).

R=fs@opera.com

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

Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 141 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: