highlight-pseudos.html
Details
- Test
/css/css-pseudo/parsing/highlight-pseudos.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| PASS | "::selection" should be a valid selector |
| PASS | ".a::selection" should be a valid selector |
| PASS | "div ::selection" should be a valid selector |
| PASS | "::part(my-part)::selection" should be a valid selector |
| PASS | "::before::selection" should be an invalid selector |
| PASS | "::selection.a" should be an invalid selector |
| PASS | "::selection div" should be an invalid selector |
| PASS | "::selection::after" should be an invalid selector |
| PASS | "::selection:hover" should be an invalid selector |
| PASS | ":not(::selection)" should be an invalid selector |
| FAIL | "::target-text" should be a valid selector Failed to execute 'querySelectorAll': '::target-text' is not a valid selector. ParseError { kind: Custom(SelectorError(UnexpectedIdent("target-text"))), location: SourceLocation { line: 0, column: 2 }… |
| FAIL | ".a::target-text" should be a valid selector Failed to execute 'querySelectorAll': '.a::target-text' is not a valid selector. ParseError { kind: Custom(SelectorError(UnexpectedIdent("target-text"))), location: SourceLocation { line: 0, column: 4… |
| FAIL | "div ::target-text" should be a valid selector Failed to execute 'querySelectorAll': 'div ::target-text' is not a valid selector. ParseError { kind: Custom(SelectorError(UnexpectedIdent("target-text"))), location: SourceLocation { line: 0, column:… |
| FAIL | "::part(my-part)::target-text" should be a valid selector Failed to execute 'querySelectorAll': '::part(my-part)::target-text' is not a valid selector. ParseError { kind: Custom(SelectorError(UnexpectedIdent("target-text"))), location: SourceLocation { line:… |
| PASS | "::before::target-text" should be an invalid selector |
| PASS | "::target-text.a" should be an invalid selector |
| PASS | "::target-text div" should be an invalid selector |
| PASS | "::target-text::after" should be an invalid selector |
| PASS | "::target-text:hover" should be an invalid selector |
| PASS | ":not(::target-text)" should be an invalid selector |
| FAIL | "::spelling-error" should be a valid selector Failed to execute 'querySelectorAll': '::spelling-error' is not a valid selector. ParseError { kind: Custom(SelectorError(UnexpectedIdent("spelling-error"))), location: SourceLocation { line: 0, colum… |
| FAIL | ".a::spelling-error" should be a valid selector Failed to execute 'querySelectorAll': '.a::spelling-error' is not a valid selector. ParseError { kind: Custom(SelectorError(UnexpectedIdent("spelling-error"))), location: SourceLocation { line: 0, col… |
| FAIL | "div ::spelling-error" should be a valid selector Failed to execute 'querySelectorAll': 'div ::spelling-error' is not a valid selector. ParseError { kind: Custom(SelectorError(UnexpectedIdent("spelling-error"))), location: SourceLocation { line: 0, c… |
| FAIL | "::part(my-part)::spelling-error" should be a valid selector Failed to execute 'querySelectorAll': '::part(my-part)::spelling-error' is not a valid selector. ParseError { kind: Custom(SelectorError(UnexpectedIdent("spelling-error"))), location: SourceLocation {… |
| PASS | "::before::spelling-error" should be an invalid selector |
| PASS | "::spelling-error.a" should be an invalid selector |
| PASS | "::spelling-error div" should be an invalid selector |
| PASS | "::spelling-error::after" should be an invalid selector |
| PASS | "::spelling-error:hover" should be an invalid selector |
| PASS | ":not(::spelling-error)" should be an invalid selector |
| FAIL | "::grammar-error" should be a valid selector Failed to execute 'querySelectorAll': '::grammar-error' is not a valid selector. ParseError { kind: Custom(SelectorError(UnexpectedIdent("grammar-error"))), location: SourceLocation { line: 0, column:… |
| FAIL | ".a::grammar-error" should be a valid selector Failed to execute 'querySelectorAll': '.a::grammar-error' is not a valid selector. ParseError { kind: Custom(SelectorError(UnexpectedIdent("grammar-error"))), location: SourceLocation { line: 0, colum… |
| FAIL | "div ::grammar-error" should be a valid selector Failed to execute 'querySelectorAll': 'div ::grammar-error' is not a valid selector. ParseError { kind: Custom(SelectorError(UnexpectedIdent("grammar-error"))), location: SourceLocation { line: 0, col… |
| FAIL | "::part(my-part)::grammar-error" should be a valid selector Failed to execute 'querySelectorAll': '::part(my-part)::grammar-error' is not a valid selector. ParseError { kind: Custom(SelectorError(UnexpectedIdent("grammar-error"))), location: SourceLocation { l… |
| PASS | "::before::grammar-error" should be an invalid selector |
| PASS | "::grammar-error.a" should be an invalid selector |
| PASS | "::grammar-error div" should be an invalid selector |
| PASS | "::grammar-error::after" should be an invalid selector |
| PASS | "::grammar-error:hover" should be an invalid selector |
| PASS | ":not(::grammar-error)" should be an invalid selector |