← back to v142 · target-before-and-target-after-pseudo-classes
conformance · v142
v142 · target-before-and-target-after-pseudo-classes — conformance probe
7 assertions drawn from the spec. Each is a single contract the spec text makes. Pass/fail reflects what this browser executed; blocked means the contract was not run because it needs user mediation, hardware, or another unavailable precondition. Open the page in Chrome stable / canary / Firefox / Safari to compare.
0
pass
0
fail
0
blocked
7
total
| id | contract | kind | verdict | detail |
|---|---|---|---|---|
target-before-selector-parses |
:target-before is parsed and accepted as a pseudo-class selector. spec ↗ | css-supports | … | |
target-after-selector-parses |
:target-after is parsed and accepted as a pseudo-class selector. spec ↗ | css-supports | … | |
target-current-still-supported |
:target-current is the active-marker selector these new pseudos sit alongside. | css-supports | … | |
target-pseudo-still-supported |
Plain :target remains a valid selector; the new ones are additions, not replacements. | css-supports | … | |
scroll-marker-pseudo-supported |
::scroll-marker is the pseudo-element these new pseudo-classes select. | css-supports | … | |
query-selector-accepts-target-before |
document.querySelector accepts ':target-before' without throwing a SyntaxError. | script | … | |
query-selector-accepts-target-after |
document.querySelector accepts ':target-after' without throwing a SyntaxError. | script | … |