← back to v141 · target-before-and-target-after-pseudo-classes

conformance · v141

v141 · target-before-and-target-after-pseudo-classes — conformance probe

6 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.

browser: spec: https://drafts.csswg.org/css-overflow-5/#active-before-after-scroll-markers chromestatus: #5120827674722304 generated 2026-06-01T08:13:08Z by conformance-author-v1-subagent
0
pass
0
fail
0
blocked
6
total
id contract kind verdict detail
target-before-selector The :target-before pseudo-class is accepted as a selector for scroll markers that precede the active marker. spec ↗ css-supports
target-after-selector The :target-after pseudo-class is accepted as a selector for scroll markers that follow the active marker. spec ↗ css-supports
target-current-selector The :target-current pseudo-class (the companion that :target-before/:target-after orient around) is also accepted. spec ↗ css-supports
scroll-marker-pseudo-supported The ::scroll-marker pseudo-element selector is accepted; these target-* pseudo-classes apply to scroll markers in a group. css-supports
scroll-marker-group-property scroll-marker-group property is accepted, the container that the new target-before/after pseudos enumerate. css-supports
queryselector-accepts-target-before document.querySelector accepts ':target-before' without throwing SyntaxError (the engine parses the new pseudo-class). script