Closed Bug 1710166 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 28908 - Add CSS @nest tests

Categories

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

task

Tracking

()

RESOLVED FIXED
93 Branch
Tracking Status
firefox93 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Adam Argyle <argyle@google.com>' wrote:

Add CSS @nest tests

Work in progress 👍🏻

Would like to verify these 2 tests as a good way to move forward. Then i'll build upon it and add more complex examples / match the examples in the spec closely.

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

CI Results

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

Total 2 tests

Status Summary

Firefox

OK : 1
FAIL: 13

Chrome

OK : 1
FAIL: 13

Safari

OK : 1
FAIL: 13

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/css/selectors/nesting-parsing.html
.foo { & { color: green; } }: FAIL (Chrome: FAIL, Safari: FAIL)
.foo { &.bar { color: green; } }: FAIL (Chrome: FAIL, Safari: FAIL)
.foo { & .bar { color: green; } }: FAIL (Chrome: FAIL, Safari: FAIL)
.foo { & > .bar { color: green; } }: FAIL (Chrome: FAIL, Safari: FAIL)
.foo { &:is(.bar, &.baz) { color: green; } }: FAIL (Chrome: FAIL, Safari: FAIL)
.foo { @nest .bar& { color: green; } }: FAIL (Chrome: FAIL, Safari: FAIL)
.foo { @nest .bar & { color: green; } }: FAIL (Chrome: FAIL, Safari: FAIL)
.foo { @nest .bar > & { color: green; } }: FAIL (Chrome: FAIL, Safari: FAIL)
.foo, .bar { & + .baz, &.qux { color: green; } }: FAIL (Chrome: FAIL, Safari: FAIL)
.foo { & .bar & .baz & .qux { color: green; } }: FAIL (Chrome: FAIL, Safari: FAIL)
.foo { @media (min-width: 50px) { color: green; } }: FAIL (Chrome: FAIL, Safari: FAIL)
main { & > section, & > article { & > header { color: green; } } }: FAIL (Chrome: FAIL, Safari: FAIL)
/css/selectors/nesting.html: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5c0995866d7e
[wpt PR 28908] - Add CSS @nest tests, a=testonly
https://hg.mozilla.org/integration/autoland/rev/3eb4681421c4
[wpt PR 28908] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 93 Branch
You need to log in before you can comment on or make changes to this bug.