Closed Bug 1859333 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 42560 - [CSS Nesting] Always serialize relative selector with &

Categories

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

task

Tracking

()

RESOLVED FIXED
122 Branch
Tracking Status
firefox122 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Matthieu Dubet <mdubet@apple.com> wrote:

[CSS Nesting] Always serialize relative selector with &

The current spec mandates to always serialize the implicit &, even when it's not necessary (such as .foo)

https://github.com/web-platform-tests/wpt/pull/41213#discussion_r1301267518

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 1 tests and 31 subtests

Status Summary

Firefox

OK : 1
PASS: 27
FAIL: 4

Chrome

OK : 1
PASS: 24
FAIL: 7

Safari

OK : 1
PASS: 31

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /css/css-nesting/parsing.html [wpt.fyi]
    • .foo { + .bar, .foo, > .baz { color: green; }}: FAIL (Chrome: FAIL, Safari: PASS)
    • .foo { .foo { color: green; }}: FAIL (Chrome: FAIL, Safari: PASS)
    • .foo { .foo, .foo & { color: green; }}: FAIL (Chrome: FAIL, Safari: PASS)
    • .foo { :is(.bar, .baz) { color: green; }}: FAIL (Chrome: FAIL, Safari: PASS)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6fb08480dc58 [wpt PR 42560] - [CSS Nesting] Always serialize relative selector with &, a=testonly https://hg.mozilla.org/integration/autoland/rev/84cd17b22a2c [wpt PR 42560] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b8d53d7480b9 [wpt PR 42560] - [CSS Nesting] Always serialize relative selector with &, a=testonly https://hg.mozilla.org/integration/autoland/rev/857a166bfd4b [wpt PR 42560] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
You need to log in before you can comment on or make changes to this bug.