tree-abiding-pseudo-elements.html
Details
- Test
/css/css-pseudo/parsing/tree-abiding-pseudo-elements.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| PASS | "::before" should be a valid selector |
| PASS | "*::before" should be a valid selector |
| PASS | "foo.bar[baz]::before" should be a valid selector |
| PASS | "::before *" should be an invalid selector |
| PASS | "::after" should be a valid selector |
| PASS | "*::after" should be a valid selector |
| PASS | "foo.bar[baz]::after" should be a valid selector |
| PASS | "::after *" should be an invalid selector |
| PASS | "::marker" should be a valid selector |
| PASS | "*::marker" should be a valid selector |
| PASS | "foo.bar[baz]::marker" should be a valid selector |
| PASS | "::marker *" should be an invalid selector |
| PASS | "::placeholder" should be a valid selector |
| PASS | "*::placeholder" should be a valid selector |
| PASS | "foo.bar[baz]::placeholder" should be a valid selector |
| PASS | "::placeholder *" should be an invalid selector |
| PASS | "::file-selector-button" should be a valid selector |
| FAIL | "::file-selector-button:hover" should be a valid selector Failed to execute 'querySelectorAll': '::file-selector-button:hover' is not a valid selector. ParseError { kind: Custom(SelectorError(InvalidState)), location: SourceLocation { line: 0, column: 24 } } |
| FAIL | "::file-selector-button:focus" should be a valid selector Failed to execute 'querySelectorAll': '::file-selector-button:focus' is not a valid selector. ParseError { kind: Custom(SelectorError(InvalidState)), location: SourceLocation { line: 0, column: 24 } } |
| FAIL | "::file-selector-button:active" should be a valid selector Failed to execute 'querySelectorAll': '::file-selector-button:active' is not a valid selector. ParseError { kind: Custom(SelectorError(InvalidState)), location: SourceLocation { line: 0, column: 24 } … |
| PASS | "::file-selector-button:is(:hover)" should be a valid selector |
| PASS | "::file-selector-button::before" should be an invalid selector |
| PASS | "::file-selector-button#id" should be an invalid selector |
| PASS | "::file-selector-button#class" should be an invalid selector |
| PASS | "::file-selector-button:host" should be an invalid selector |
| PASS | "::before::before" should be an invalid selector |
| PASS | "::after::before" should be an invalid selector |
| PASS | "::marker::before" should be an invalid selector |
| PASS | "::placeholder::before" should be an invalid selector |
| PASS | "::before::after" should be an invalid selector |
| PASS | "::after::after" should be an invalid selector |
| PASS | "::marker::after" should be an invalid selector |
| PASS | "::placeholder::after" should be an invalid selector |
| FAIL | "::before::marker" should be a valid selector Failed to execute 'querySelectorAll': '::before::marker' is not a valid selector. ParseError { kind: Custom(SelectorError(InvalidState)), location: SourceLocation { line: 0, column: 17 } } |
| FAIL | "::after::marker" should be a valid selector Failed to execute 'querySelectorAll': '::after::marker' is not a valid selector. ParseError { kind: Custom(SelectorError(InvalidState)), location: SourceLocation { line: 0, column: 16 } } |
| PASS | "::marker::marker" should be an invalid selector |
| PASS | "::placeholder::marker" should be an invalid selector |
| PASS | "::before::placeholder" should be an invalid selector |
| PASS | "::after::placeholder" should be an invalid selector |
| PASS | "::marker::placeholder" should be an invalid selector |
| PASS | "::placeholder::placeholder" should be an invalid selector |