Summary

Harness status: OK

Found 8 tests

Details

ResultTest NameMessage
Fail:has-slotted does not match or querySelector when there are no assigned nodesFailed to execute 'matches' on 'Element': ':has-slotted' is not a valid selector.
SyntaxError: Failed to execute 'matches' on 'Element': ':has-slotted' is not a valid selector.
    at Test.<anonymous> (https://www1.wpt.live/css/css-scoping/has-slotted-query-selector.html:24:25)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at test (https://www1.wpt.live/resources/testharness.js:633:30)
    at https://www1.wpt.live/css/css-scoping/has-slotted-query-selector.html:22:5
Asserts run
Pass
assert_equals(0, 0, "slot should have 0 nodes")
    at Test.<anonymous> ( /css/css-scoping/has-slotted-query-selector.html:23:7)
Fail:has-slotted must match/querySelector when an element is assignedFailed to execute 'matches' on 'Element': ':has-slotted' is not a valid selector.
SyntaxError: Failed to execute 'matches' on 'Element': ':has-slotted' is not a valid selector.
    at Test.<anonymous> (https://www1.wpt.live/css/css-scoping/has-slotted-query-selector.html:32:24)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at test (https://www1.wpt.live/resources/testharness.js:633:30)
    at https://www1.wpt.live/css/css-scoping/has-slotted-query-selector.html:29:5
Asserts run
Pass
assert_equals(1, 1, "slot should have 1 node")
    at Test.<anonymous> ( /css/css-scoping/has-slotted-query-selector.html:31:7)
Fail:has-slotted does not when child nodes are replacedFailed to execute 'matches' on 'Element': ':has-slotted' is not a valid selector.
SyntaxError: Failed to execute 'matches' on 'Element': ':has-slotted' is not a valid selector.
    at Test.<anonymous> (https://www1.wpt.live/css/css-scoping/has-slotted-query-selector.html:40:25)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at test (https://www1.wpt.live/resources/testharness.js:633:30)
    at https://www1.wpt.live/css/css-scoping/has-slotted-query-selector.html:37:5
Asserts run
Pass
assert_equals(0, 0, "slot should have 0 nodes")
    at Test.<anonymous> ( /css/css-scoping/has-slotted-query-selector.html:39:7)
Fail:has-slotted must match/querySelector when a text node is assignedFailed to execute 'matches' on 'Element': ':has-slotted' is not a valid selector.
SyntaxError: Failed to execute 'matches' on 'Element': ':has-slotted' is not a valid selector.
    at Test.<anonymous> (https://www1.wpt.live/css/css-scoping/has-slotted-query-selector.html:48:24)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at test (https://www1.wpt.live/resources/testharness.js:633:30)
    at https://www1.wpt.live/css/css-scoping/has-slotted-query-selector.html:45:5
Asserts run
Pass
assert_equals(1, 1, "slot should have 1 node")
    at Test.<anonymous> ( /css/css-scoping/has-slotted-query-selector.html:47:7)
Fail:has-slotted does not match or querySelector when there are no assigned nodes (flattened)Failed to execute 'matches' on 'Element': ':has-slotted' is not a valid selector.
SyntaxError: Failed to execute 'matches' on 'Element': ':has-slotted' is not a valid selector.
    at Test.<anonymous> (https://www1.wpt.live/css/css-scoping/has-slotted-query-selector.html:24:25)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at test (https://www1.wpt.live/resources/testharness.js:633:30)
    at https://www1.wpt.live/css/css-scoping/has-slotted-query-selector.html:22:5
Asserts run
Pass
assert_equals(0, 0, "slot should have 0 nodes")
    at Test.<anonymous> ( /css/css-scoping/has-slotted-query-selector.html:23:7)
Fail:has-slotted must match/querySelector when an element is assigned (flattened)Failed to execute 'matches' on 'Element': ':has-slotted' is not a valid selector.
SyntaxError: Failed to execute 'matches' on 'Element': ':has-slotted' is not a valid selector.
    at Test.<anonymous> (https://www1.wpt.live/css/css-scoping/has-slotted-query-selector.html:32:24)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at test (https://www1.wpt.live/resources/testharness.js:633:30)
    at https://www1.wpt.live/css/css-scoping/has-slotted-query-selector.html:29:5
Asserts run
Pass
assert_equals(1, 1, "slot should have 1 node")
    at Test.<anonymous> ( /css/css-scoping/has-slotted-query-selector.html:31:7)
Fail:has-slotted does not when child nodes are replaced (flattened)Failed to execute 'matches' on 'Element': ':has-slotted' is not a valid selector.
SyntaxError: Failed to execute 'matches' on 'Element': ':has-slotted' is not a valid selector.
    at Test.<anonymous> (https://www1.wpt.live/css/css-scoping/has-slotted-query-selector.html:40:25)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at test (https://www1.wpt.live/resources/testharness.js:633:30)
    at https://www1.wpt.live/css/css-scoping/has-slotted-query-selector.html:37:5
Asserts run
Pass
assert_equals(0, 0, "slot should have 0 nodes")
    at Test.<anonymous> ( /css/css-scoping/has-slotted-query-selector.html:39:7)
Fail:has-slotted must match/querySelector when a text node is assigned (flattened)Failed to execute 'matches' on 'Element': ':has-slotted' is not a valid selector.
SyntaxError: Failed to execute 'matches' on 'Element': ':has-slotted' is not a valid selector.
    at Test.<anonymous> (https://www1.wpt.live/css/css-scoping/has-slotted-query-selector.html:48:24)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at test (https://www1.wpt.live/resources/testharness.js:633:30)
    at https://www1.wpt.live/css/css-scoping/has-slotted-query-selector.html:45:5
Asserts run
Pass
assert_equals(1, 1, "slot should have 1 node")
    at Test.<anonymous> ( /css/css-scoping/has-slotted-query-selector.html:47:7)