Closed Bug 1771260 Opened 3 years ago Closed 2 years ago

[wpt-sync] Sync PR 34214 - Update parse-has.html test result to follow the latest Selectors 4

Categories

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

task

Tracking

()

RESOLVED FIXED
103 Branch
Tracking Status
firefox103 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Byungwoo Lee <blee@igalia.com> wrote:

Update parse-has.html test result to follow the latest Selectors 4

:has() takes \<forgiviging-relative-selector-list> as an argument.

\<forgiving-selector-list> and \<forgiving-relative-selector-list>
allows empty list.

Bug: 669058
Change-Id: I79456a43de49c576af5ea2cb892fda3cd3e38ea5
Reviewed-on: https://chromium-review.googlesource.com/3668485
WPT-Export-Revision: 0b722d916cf92a3963f6cde78355e59ab472149b

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

CI Results

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

Total 1 tests and 29 subtests

Status Summary

Firefox

OK : 1
PASS: 3
FAIL: 26

Chrome

OK : 1
PASS: 27
FAIL: 2

Safari

OK : 1
PASS: 26
FAIL: 3

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

  • /css/selectors/parsing/parse-has.html [wpt.fyi]
    • ":has(a)" should be a valid selector: FAIL
    • ":has(#a)" should be a valid selector: FAIL
    • ":has(.a)" should be a valid selector: FAIL
    • ":has([a])" should be a valid selector: FAIL
    • ":has([a="b"])" should be a valid selector: FAIL
    • ":has([a|="b"])" should be a valid selector: FAIL
    • ":has(:hover)" should be a valid selector: FAIL
    • "*:has(.a)" should be a valid selector: FAIL
    • ".a:has(.b)" should be a valid selector: FAIL
    • ".a:has(> .b)" should be a valid selector: FAIL
    • ".a:has(~ .b)" should be a valid selector: FAIL
    • ".a:has(+ .b)" should be a valid selector: FAIL
    • ".a:has(.b) .c" should be a valid selector: FAIL
    • ".a .b:has(.c)" should be a valid selector: FAIL
    • ".a .b:has(.c .d)" should be a valid selector: FAIL
    • ".a .b:has(.c .d) .e" should be a valid selector: FAIL
    • ".a:has(.b:is(.c .d))" should be a valid selector: FAIL
    • ".a:is(.b:has(.c) .d)" should be a valid selector: FAIL
    • ".a:not(:has(.b))" should be a valid selector: FAIL
    • ".a:has(:not(.b))" should be a valid selector: FAIL
    • ".a:has(.b):has(.c)" should be a valid selector: FAIL
    • "|:has(*)" should be a valid selector: FAIL
    • ":has(|)" should be a valid selector: FAIL

New Tests That Don't Pass

  • /css/selectors/parsing/parse-has.html [wpt.fyi]
    • ":has(a)" should be a valid selector: FAIL (Chrome: PASS, Safari: PASS)
    • ":has(#a)" should be a valid selector: FAIL (Chrome: PASS, Safari: PASS)
    • ":has(.a)" should be a valid selector: FAIL (Chrome: PASS, Safari: PASS)
    • ":has([a])" should be a valid selector: FAIL (Chrome: PASS, Safari: PASS)
    • ":has([a="b"])" should be a valid selector: FAIL (Chrome: PASS, Safari: PASS)
    • ":has([a|="b"])" should be a valid selector: FAIL (Chrome: PASS, Safari: PASS)
    • ":has(:hover)" should be a valid selector: FAIL (Chrome: PASS, Safari: PASS)
    • "*:has(.a)" should be a valid selector: FAIL (Chrome: PASS, Safari: PASS)
    • ".a:has(.b)" should be a valid selector: FAIL (Chrome: PASS, Safari: PASS)
    • ".a:has(> .b)" should be a valid selector: FAIL (Chrome: PASS, Safari: PASS)
    • ".a:has(~ .b)" should be a valid selector: FAIL (Chrome: PASS, Safari: PASS)
    • ".a:has(+ .b)" should be a valid selector: FAIL (Chrome: PASS, Safari: PASS)
    • ".a:has(.b) .c" should be a valid selector: FAIL (Chrome: PASS, Safari: PASS)
    • ".a .b:has(.c)" should be a valid selector: FAIL (Chrome: PASS, Safari: PASS)
    • ".a .b:has(.c .d)" should be a valid selector: FAIL (Chrome: PASS, Safari: PASS)
    • ".a .b:has(.c .d) .e" should be a valid selector: FAIL (Chrome: PASS, Safari: PASS)
    • ".a:has(.b:has(.c))" should be a valid selector: FAIL (Chrome: FAIL, Safari: FAIL)
    • ".a:has(.b:is(.c .d))" should be a valid selector: FAIL (Chrome: PASS, Safari: PASS)
    • ".a:has(.b:is(.c:has(.d) .e))" should be a valid selector: FAIL (Chrome: FAIL, Safari: FAIL)
    • ".a:is(.b:has(.c) .d)" should be a valid selector: FAIL (Chrome: PASS, Safari: PASS)
    • ".a:not(:has(.b))" should be a valid selector: FAIL (Chrome: PASS, Safari: PASS)
    • ".a:has(:not(.b))" should be a valid selector: FAIL (Chrome: PASS, Safari: PASS)
    • ".a:has(.b):has(.c)" should be a valid selector: FAIL (Chrome: PASS, Safari: PASS)
    • "|:has(*)" should be a valid selector: FAIL (Chrome: PASS, Safari: PASS)
    • ":has(|)" should be a valid selector: FAIL (Chrome: PASS, Safari: PASS)
    • ".a:has()" should be a valid selector: FAIL (Chrome: PASS, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a5b9c57a234a [wpt PR 34214] - Update parse-has.html test result to follow the latest Selectors 4, a=testonly https://hg.mozilla.org/integration/autoland/rev/592a543f8fca [wpt PR 34214] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch
You need to log in before you can comment on or make changes to this bug.