Closed Bug 1977702 Opened 6 months ago Closed 6 months ago

Allow direct property declarations in @scope

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Points:
1

Tracking

()

RESOLVED FIXED
143 Branch
Tracking Status
firefox143 --- fixed

People

(Reporter: dshin, Assigned: dshin)

References

(Blocks 1 open bug)

Details

(Whiteboard: [at-scope-m2])

Attachments

(1 file)

Part of the InterOp 2025 test suite.
Only one that is failing that seems little to do with invalidation.

Whiteboard: [at-scope-triage]

e.g. @scope (.a) { color: green; } == @scope (.a) { :where(:scope) { color: green; } } - As per spec here.

Insert a CSSNestedDeclarations rule directly in top-level @scope failure in WPT css/css-cascade/scope-nesting.html won't yet pass due to invalidation, but scope-declarations.html tests start passing.

The rest should be handled by invalidation, repurposing this ticket to make direct property declarations legal.

Summary: Investigate `Insert a CSSNestedDeclarations rule directly in top-level @scope` failure in WPT `css/css-cascade/scope-nesting.html` → Allow direct property declarations in @scope
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 143 Branch
Points: --- → 1
Whiteboard: [at-scope-triage] → [at-scope-m2]
QA Whiteboard: [qa-triage-done-c144/b143]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: