Closed Bug 1839141 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 40616 - [css-nesting] Support nested @layer rules

Categories

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

task

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Anders Hartvoll Ruud <andruud@chromium.org> wrote:

[css-nesting] Support nested @layer rules

This CL adds support for nested @layer rules, using the same boilerplate
we use for other rules (@media, etc).

This was not part of the initial release of css-nesting, because it was
added to the specification too late in the process. However, the intent
of the spec is to allow nesting of all at-rules that contain style rules
in their body [1].

Renamed AllowedRulesType::kConditionalGroupRules to kNestedGroupRules,
since it's not just conditional rules that are allowed to nest anymore.

[1] https://drafts.csswg.org/css-nesting/#nested-group-rules

Fixed: 1455887
Bug: 1451088
Change-Id: I76a9463442bec3e7e6425ddc851ddbf14690604b
Reviewed-on: https://chromium-review.googlesource.com/4624568
WPT-Export-Revision: 7aedbbd952deda9d4008112b5a1b61da828b824b

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 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
FAIL: 1

Chrome

OK : 1
FAIL: 1

Safari

OK : 1
PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5c64c9dbf0a1 [wpt PR 40616] - [css-nesting] Support nested @layer rules, a=testonly https://hg.mozilla.org/integration/autoland/rev/4c9c7e6bb6fd [wpt PR 40616] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
You need to log in before you can comment on or make changes to this bug.