Closed Bug 2055962 Opened 5 days ago Closed 1 day ago

[wpt-sync] Sync PR 61377 - [css-mixins] Allow @mixin definitions without a parameter list

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
155 Branch
Tracking Status
firefox155 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 61377 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/61377
Details from upstream follow.

Stephanie Zhang <stephanie.zhang@microsoft.com> wrote:

[css-mixins] Allow @mixin definitions without a parameter list

Accept a bare \<dashed-ident> prelude, so @mixin --foo {} is valid and
equivalent to @mixin --foo() {}. Previously, a \<function-token> was
required, even though @apply already allowed omitting the parentheses.

Spec change: https://github.com/w3c/csswg-drafts/pull/14151
Issue: https://github.com/w3c/csswg-drafts/issues/13015

Change-Id: Ib2ccf89e5f374facd6d45d0d9bd994d9d0ef9c3c
Fixed: 496172417
Reviewed-on: https://chromium-review.googlesource.com/8111117
WPT-Export-Revision: ed4b634bbdc073c1c5e6921fec73495feb6febe1

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 22 tests and 4 subtests

Status Summary

Firefox

OK : 2[GitHub] 22[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 1[GitHub] 13[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 7[GitHub] 78[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

OK : 2
PASS: 6
FAIL: 2

Safari

OK : 2
PASS: 1
FAIL: 7

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

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