← back to v132 · fix-selection-iscollapsed-in-shadow-dom

conformance · v132

v132 · fix-selection-iscollapsed-in-shadow-dom — conformance probe

5 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://w3c.github.io/selection-api/#dom-selection-iscollapsed chromestatus: #5175599392620544 generated 2026-06-01T08:27:00Z by conformance-author-v1-subagent
0
pass
0
fail
0
blocked
5
total
id contract kind verdict detail
selection-interface-exposed Selection is exposed and getSelection() returns an instance. script
iscollapsed-property-exists Selection.prototype.isCollapsed is exposed. spec ↗ exists
iscollapsed-true-empty A fresh selection with no ranges is collapsed. script
shadow-dom-supported Shadow DOM is supported, the precondition for the fix being observable. script
iscollapsed-false-when-anchor-focus-differ isCollapsed returns false when the selection spans distinct anchor and focus nodes. spec ↗ script