← 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.
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 | … |