← back to v137 · selection-api-getcomposedranges-and-direction

conformance · v137

v137 · selection-api-getcomposedranges-and-direction — 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://w3c.github.io/selection-api/#dom-selection-getcomposedranges chromestatus: #5971377218912256 generated 2026-06-01T09:35:00Z by conformance-author-v1-subagent
0
pass
0
fail
0
blocked
6
total
id contract kind verdict detail
selection-interface-exists Selection is exposed on the global scope. spec ↗ exists
selection-getComposedRanges-is-function Selection.prototype.getComposedRanges() is a function returning a sequence of StaticRange. spec ↗ script
selection-direction-attribute Selection exposes a 'direction' attribute. spec ↗ script
selection-direction-returns-string selection.direction returns a DOMString — one of 'none', 'forward', 'backward'. spec ↗ script
getcomposedranges-returns-array selection.getComposedRanges() returns a sequence (array) of StaticRange — even when the selection is empty. spec ↗ script
staticrange-exists StaticRange is the return-element type for getComposedRanges(). spec ↗ exists