Closed Bug 1918408 Opened 3 months ago Closed 3 months ago

[css-nesting] Implement the nested declarations rule

Categories

(Core :: CSS Parsing and Computation, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
132 Branch
Tracking Status
firefox132 --- fixed

People

(Reporter: twisniewski, Assigned: emilio)

References

(Blocks 2 open bugs, )

Details

(Keywords: dev-doc-complete, Whiteboard: [wpt], [wptsync upstream])

Attachments

(1 file)

We're currently failing these four cases in css/css-nesting/serialize-group-rules-with-decls.html:

  • Mixed declarations/rules are on two lines
  • Implicit rule is serialized
  • Implicit like rule after decls
  • Implicit like rule after decls, missing closing braces
Assignee: nobody → emilio
Severity: -- → S3
Type: defect → enhancement
Flags: needinfo?(emilio)
Priority: -- → P2
Summary: Failures in WPT /css/css-nesting/serialize-group-rules-with-decls.html → [css-nesting] Implement the nested declarations rule
Duplicate of this bug: 1916210

I didn't put this behind a pref because it was a bit annoying to do with
the parser changes while keeping it fast, and because, at least nesting
wise, this is unlikely to cause compat issues.

There are some complexities for @scope, which I think I got right.

Fixed the tests not to depend on @scope necessarily per the discussion
in https://github.com/web-platform-tests/interop/issues/697.

Blocks: 1919853
Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0aa1570bfeca Implement the nested declarations rule. r=dshin,webidl,smaug
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/autoland/rev/afe296fe7fc7 Fix some DevTools tests and non-unified builds.
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/48284 for changes under testing/web-platform/tests
Whiteboard: [wpt] → [wpt], [wptsync upstream]
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
Upstream PR merged by moz-wptsync-bot
Keywords: dev-doc-needed
Duplicate of this bug: 1927174
Blocks: 1858167
Blocks: 1919582
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: