This is a testharness.js-based test. [FAIL] "::slotted(:has(:first-child:last-child))" should be a valid selector Failed to execute 'querySelector' on 'Document': '::slotted(:has(:first-child:last-child))' is not a valid selector. Harness: the test ran to completion.