Fail | :has-slotted does not match or querySelector with no manual assigned nodes | Failed to execute 'querySelectorAll' on 'DocumentFragment': ':has-slotted' is not a valid selector.SyntaxError: Failed to execute 'querySelectorAll' on 'DocumentFragment': ':has-slotted' is not a valid selector.
at Test.<anonymous> (https://www1.wpt.live/css/css-scoping/has-slotted-manual-assignment.html:23:35)
at Test.step (https://www1.wpt.live/resources/testharness.js:2684:25)
at test (https://www1.wpt.live/resources/testharness.js:633:30)
at https://www1.wpt.live/css/css-scoping/has-slotted-manual-assignment.html:21:3 Asserts runPass | assert_equals(0, 0, "slot element should not match :has-slotted")
at Test.<anonymous> ( /css/css-scoping/has-slotted-manual-assignment.html:22:5) |
|
Fail | :has-slotted does not match or querySelector with no manual assigned nodes - 2 | Failed to execute 'querySelectorAll' on 'DocumentFragment': ':has-slotted' is not a valid selector.SyntaxError: Failed to execute 'querySelectorAll' on 'DocumentFragment': ':has-slotted' is not a valid selector.
at Test.<anonymous> (https://www1.wpt.live/css/css-scoping/has-slotted-manual-assignment.html:30:35)
at Test.step (https://www1.wpt.live/resources/testharness.js:2684:25)
at test (https://www1.wpt.live/resources/testharness.js:633:30)
at https://www1.wpt.live/css/css-scoping/has-slotted-manual-assignment.html:27:3 Asserts runPass | assert_equals(0, 0, "slot element should not match :has-slotted")
at Test.<anonymous> ( /css/css-scoping/has-slotted-manual-assignment.html:29:5) |
|
Fail | :has-slotted does match when a child is manually assigned | Failed to execute 'querySelectorAll' on 'DocumentFragment': ':has-slotted' is not a valid selector.SyntaxError: Failed to execute 'querySelectorAll' on 'DocumentFragment': ':has-slotted' is not a valid selector.
at Test.<anonymous> (https://www1.wpt.live/css/css-scoping/has-slotted-manual-assignment.html:37:35)
at Test.step (https://www1.wpt.live/resources/testharness.js:2684:25)
at test (https://www1.wpt.live/resources/testharness.js:633:30)
at https://www1.wpt.live/css/css-scoping/has-slotted-manual-assignment.html:34:3 Asserts runPass | assert_equals(1, 1, "slot element should match :has-slotted with 1 child node")
at Test.<anonymous> ( /css/css-scoping/has-slotted-manual-assignment.html:36:5) |
|
Fail | :has-slotted no longer matches when no children become manually assigned | Failed to execute 'querySelectorAll' on 'DocumentFragment': ':has-slotted' is not a valid selector.SyntaxError: Failed to execute 'querySelectorAll' on 'DocumentFragment': ':has-slotted' is not a valid selector.
at Test.<anonymous> (https://www1.wpt.live/css/css-scoping/has-slotted-manual-assignment.html:44:35)
at Test.step (https://www1.wpt.live/resources/testharness.js:2684:25)
at test (https://www1.wpt.live/resources/testharness.js:633:30)
at https://www1.wpt.live/css/css-scoping/has-slotted-manual-assignment.html:41:3 Asserts runPass | assert_equals(0, 0, "slot element should not match :has-slotted after empty")
at Test.<anonymous> ( /css/css-scoping/has-slotted-manual-assignment.html:43:5) |
|