← back to v160 · csspseudoelement-selectortext

conformance · v160

v160 · csspseudoelement-selectortext — conformance probe

10 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-pseudo-4/#dom-csspseudoelement-selectortext chromestatus: #5071155760332800 generated 2026-11-22T12:00:00Z by weekly-hardening-builder
0
pass
0
fail
0
blocked
10
total
id contract kind verdict detail
pseudo-method-exists Element.prototype.pseudo() exists (the entry point that returns CSSPseudoElement objects). spec ↗ typeof …
selectortext-attribute-on-prototype CSSPseudoElement exposes a selectorText attribute. spec ↗ script …
before-selectortext el.pseudo('::before').selectorText is the string "::before". spec ↗ script …
legacy-colon-normalized The legacy single-colon form el.pseudo(':before') serializes selectorText as "::before". spec ↗ script …
vt-argument-included selectorText includes the functional argument: ::view-transition-group(hero) serializes as "::view-transition-group(hero)". spec ↗ script …
type-stays-base-name type keeps returning only the base name ("::view-transition-group") while selectorText carries the argument. spec ↗ script …
selectortext-round-trips Passing selectorText back to the originating element's pseudo() returns the same CSSPseudoElement object. spec ↗ script …
whitespace-normalized Whitespace inside the argument is dropped: ::view-transition-old( hero ) serializes as "::view-transition-old(hero)". spec ↗ script …
identifier-escaped A view-transition name that needs escaping (1st-card) serializes escaped as "::view-transition-group(\31 st-card)" so it can round-trip. spec ↗ script …
scroll-button-keeps-author-space A user-created ::scroll-button(left) keeps the author's physical direction in selectorText (CSSWG #14528). spec ↗ script …