Harness status: OK

Found 24 tests

20 Pass
4 Fail
Pass	":state(--foo)" should be a valid selector
Pass	":state(bar)" should be a valid selector
Pass	":state(--)" should be a valid selector
Pass	":state(--0)" should be a valid selector
Pass	":host(:state(--foo))" should be a valid selector
Pass	"my-input[type=\"foo\"]:state(checked)" should be a valid selector
Pass	"my-input[type=\"foo\"]:state(--0)::before" should be a valid selector
Pass	"my-input[type=\"foo\"]:state(--0)::part(inner)" should be a valid selector
Pass	"my-input[type=\"foo\"]:state(--0)::part(inner):state(bar)" should be a valid selector
Pass	"::part(inner):state(bar)::before" should be a valid selector
Pass	"::part(inner):state(bar)::after" should be a valid selector
Pass	":state" should be an invalid selector
Pass	":state(" should be an invalid selector
Pass	":state()" should be an invalid selector
Pass	":state(0)" should be an invalid selector
Pass	":state(0rem)" should be an invalid selector
Pass	":state(url())" should be an invalid selector
Pass	":state(foo(1))" should be an invalid selector
Pass	":state(:host)" should be an invalid selector
Fail	"my-input::after:state(foo)" should be an invalid selector
Fail	"::part(inner):state(bar)::before:state(foo)" should be an invalid selector
Fail	"::part(inner):state(bar)::after:state(foo)" should be an invalid selector
Fail	"my-input::first-letter:state(foo)" should be an invalid selector
Pass	"::slotted(foo):state(foo)" should be an invalid selector