Closed Bug 1668303 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 25889 - [:is/:where] Allow nested :is() in ::cue() and shadow pseudos

Categories

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

task

Tracking

()

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

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

[:is/:where] Allow nested :is() in ::cue() and shadow pseudos

However, a nested :is() can not bypass the limitations imposed by
an outer pseudo. So for example, since :host() only allows a
compound selector list, an :is() pseudo inside a :host() can also
only accept a compound selector list.

Bug: 568705
Change-Id: I879c83172386b8732f0c3e3c540c74e8d3eb0ecb
Reviewed-on: https://chromium-review.googlesource.com/2438387
WPT-Export-Revision: 823e1b584b4a0ce2ff0f77f5525ac0239e42c25a

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

CI Results

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

Total 1 tests and 3 subtests

Status Summary

Firefox

OK : 1
PASS: 2
FAIL: 1

Chrome

OK : 1
PASS: 2
FAIL: 1

Safari

OK : 1
PASS: 2
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/css/selectors/is-where-shadow.html
:is() inside :host-context(): FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6770391d7ba6 [wpt PR 25889] - [:is/:where] Allow nested :is() in ::cue() and shadow pseudos, a=testonly https://hg.mozilla.org/integration/autoland/rev/3526ea0221c9 [wpt PR 25889] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.