Closed Bug 1876695 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 44220 - Use the right function to test invalid selectors inside :is()/:where().

Categories

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

task

Tracking

()

RESOLVED FIXED
124 Branch
Tracking Status
firefox124 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Emilio Cobos Álvarez <emilio@crisal.io> wrote:

Use the right function to test invalid selectors inside :is()/:where().

:is() / :where() are forgiving selectors and thus serialize and are "valid".

test_valid_forgiving_selector is the right thing to use here.

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

CI Results

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

Total 1 tests and 30 subtests

Status Summary

Firefox

OK : 1
PASS: 28
FAIL: 2

Chrome

OK : 1
PASS: 24
FAIL: 6

Safari

OK : 1
PASS: 23
FAIL: 7

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8d93b49c974a [wpt PR 44220] - Use the right function to test invalid selectors inside :is()/:where()., a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
You need to log in before you can comment on or make changes to this bug.