Click here to download the Blitz Browser!

WPT

wpt / selection / idlharness.window.html

Spec: Selection API ↗

Runs: Chrome 155.0.8039.0 (wpt@ffab1bde3, 2026-09-03) | Firefox 157.0a1 (wpt@5e776f019, 2026-09-03) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-a9df8 (wpt@9b4cabf6d, 2026-09-03) | Servo Servo 0.6 (wpt@7e3d005d7, 2026-09-03) | Blitz a50cb8971 (wpt@a95401e4e, 2026-09-03)

View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi

ChromeFirefoxSafariLadybirdServoBlitz
Total112/112112/112112/112104/112104/112NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
idl_test setupPASSPASSPASSPASSPASS
idl_test validationPASSPASSPASSPASSPASS
Partial interface Document: original interface definedPASSPASSPASSPASSPASS
Partial interface Document: member names are uniquePASSPASSPASSPASSPASS
Partial interface Window: original interface definedPASSPASSPASSPASSPASS
Partial interface Window: member names are uniquePASSPASSPASSPASSPASS
Partial interface mixin GlobalEventHandlers: original interface mixin definedPASSPASSPASSPASSPASS
Partial interface mixin GlobalEventHandlers: member names are uniquePASSPASSPASSPASSPASS
Partial interface Document[2]: member names are uniquePASSPASSPASSPASSPASS
Partial interface Element: member names are uniquePASSPASSPASSPASSPASS
Partial interface Document[3]: member names are uniquePASSPASSPASSPASSPASS
Partial interface Window[2]: member names are uniquePASSPASSPASSPASSPASS
Document includes GlobalEventHandlers: member names are uniquePASSPASSPASSPASSPASS
HTMLElement includes GlobalEventHandlers: member names are uniquePASSPASSPASSPASSPASS
HTMLElement includes ElementContentEditable: member names are uniquePASSPASSPASSPASSPASS
HTMLElement includes HTMLOrSVGOrMathMLElement: member names are uniquePASSPASSPASSPASSPASS
Window includes GlobalEventHandlers: member names are uniquePASSPASSPASSPASSPASS
Window includes WindowEventHandlers: member names are uniquePASSPASSPASSPASSPASS
Window includes WindowOrWorkerGlobalScope: member names are uniquePASSPASSPASSPASSPASS
Window includes AnimationFrameProvider: member names are uniquePASSPASSPASSPASSPASS
Window includes WindowSessionStorage: member names are uniquePASSPASSPASSPASSPASS
Window includes WindowLocalStorage: member names are uniquePASSPASSPASSPASSPASS
Document includes NonElementParentNode: member names are uniquePASSPASSPASSPASSPASS
Document includes DocumentOrShadowRoot: member names are uniquePASSPASSPASSPASSPASS
Document includes ParentNode: member names are uniquePASSPASSPASSPASSPASS
Element includes ParentNode: member names are uniquePASSPASSPASSPASSPASS
Element includes NonDocumentTypeChildNode: member names are uniquePASSPASSPASSPASSPASS
Element includes ChildNode: member names are uniquePASSPASSPASSPASSPASS
Element includes Slottable: member names are uniquePASSPASSPASSPASSPASS
Document includes XPathEvaluatorBase: member names are uniquePASSPASSPASSPASSPASS
Selection interface: existence and properties of interface objectPASSPASSPASSPASSPASS
Selection interface object lengthPASSPASSPASSPASSPASS
Selection interface object namePASSPASSPASSPASSPASS
Selection interface: existence and properties of interface prototype objectPASSPASSPASSPASSPASS
Selection interface: existence and properties of interface prototype object's "constructor" propertyPASSPASSPASSPASSPASS
Selection interface: existence and properties of interface prototype object's @@unscopables propertyPASSPASSPASSPASSPASS
Selection interface: attribute anchorNodePASSPASSPASSPASSPASS
Selection interface: attribute anchorOffsetPASSPASSPASSPASSPASS
Selection interface: attribute focusNodePASSPASSPASSPASSPASS
Selection interface: attribute focusOffsetPASSPASSPASSPASSPASS
Selection interface: attribute isCollapsedPASSPASSPASSPASSPASS
Selection interface: attribute rangeCountPASSPASSPASSPASSPASS
Selection interface: attribute typePASSPASSPASSPASSPASS
Selection interface: attribute directionPASSPASSPASSPASSFAIL
Selection interface: operation getRangeAt(unsigned long)PASSPASSPASSPASSPASS
Selection interface: operation addRange(Range)PASSPASSPASSPASSPASS
Selection interface: operation removeRange(Range)PASSPASSPASSPASSPASS
Selection interface: operation removeAllRanges()PASSPASSPASSPASSPASS
Selection interface: operation empty()PASSPASSPASSPASSPASS
Selection interface: operation getComposedRanges(optional GetComposedRangesOptions)PASSPASSPASSFAILFAIL
Selection interface: operation collapse(Node?, optional unsigned long)PASSPASSPASSPASSPASS
Selection interface: operation setPosition(Node?, optional unsigned long)PASSPASSPASSPASSPASS
Selection interface: operation collapseToStart()PASSPASSPASSPASSPASS
Selection interface: operation collapseToEnd()PASSPASSPASSPASSPASS
Selection interface: operation extend(Node, optional unsigned long)PASSPASSPASSPASSPASS
Selection interface: operation setBaseAndExtent(Node, unsigned long, Node, unsigned long)PASSPASSPASSPASSPASS
Selection interface: operation selectAllChildren(Node)PASSPASSPASSPASSPASS
Selection interface: operation modify(optional DOMString, optional DOMString, optional DOMString)PASSPASSPASSPASSFAIL
Selection interface: operation deleteFromDocument()PASSPASSPASSPASSPASS
Selection interface: operation containsNode(Node, optional boolean)PASSPASSPASSPASSPASS
Selection interface: stringifierPASSPASSPASSPASSPASS
Selection must be primary interface of getSelection()PASSPASSPASSPASSPASS
Stringification of getSelection()PASSPASSPASSPASSPASS
Selection interface: getSelection() must inherit property "anchorNode" with the proper typePASSPASSPASSPASSPASS
Selection interface: getSelection() must inherit property "anchorOffset" with the proper typePASSPASSPASSPASSPASS
Selection interface: getSelection() must inherit property "focusNode" with the proper typePASSPASSPASSPASSPASS
Selection interface: getSelection() must inherit property "focusOffset" with the proper typePASSPASSPASSPASSPASS
Selection interface: getSelection() must inherit property "isCollapsed" with the proper typePASSPASSPASSPASSPASS
Selection interface: getSelection() must inherit property "rangeCount" with the proper typePASSPASSPASSPASSPASS
Selection interface: getSelection() must inherit property "type" with the proper typePASSPASSPASSPASSPASS
Selection interface: getSelection() must inherit property "direction" with the proper typePASSPASSPASSPASSFAIL
Selection interface: getSelection() must inherit property "getRangeAt(unsigned long)" with the proper typePASSPASSPASSPASSPASS
Selection interface: calling getRangeAt(unsigned long) on getSelection() with too few arguments must throw TypeErrorPASSPASSPASSPASSPASS
Selection interface: getSelection() must inherit property "addRange(Range)" with the proper typePASSPASSPASSPASSPASS
Selection interface: calling addRange(Range) on getSelection() with too few arguments must throw TypeErrorPASSPASSPASSPASSPASS
Selection interface: getSelection() must inherit property "removeRange(Range)" with the proper typePASSPASSPASSPASSPASS
Selection interface: calling removeRange(Range) on getSelection() with too few arguments must throw TypeErrorPASSPASSPASSPASSPASS
Selection interface: getSelection() must inherit property "removeAllRanges()" with the proper typePASSPASSPASSPASSPASS
Selection interface: getSelection() must inherit property "empty()" with the proper typePASSPASSPASSPASSPASS
Selection interface: getSelection() must inherit property "getComposedRanges(optional GetComposedRangesOptions)" with the proper typePASSPASSPASSFAILFAIL
Selection interface: calling getComposedRanges(optional GetComposedRangesOptions) on getSelection() with too few arguments must throw TypeErrorPASSPASSPASSFAILFAIL
Selection interface: getSelection() must inherit property "collapse(Node?, optional unsigned long)" with the proper typePASSPASSPASSPASSPASS
Selection interface: calling collapse(Node?, optional unsigned long) on getSelection() with too few arguments must throw TypeErrorPASSPASSPASSPASSPASS
Selection interface: getSelection() must inherit property "setPosition(Node?, optional unsigned long)" with the proper typePASSPASSPASSPASSPASS
Selection interface: calling setPosition(Node?, optional unsigned long) on getSelection() with too few arguments must throw TypeErrorPASSPASSPASSPASSPASS
Selection interface: getSelection() must inherit property "collapseToStart()" with the proper typePASSPASSPASSPASSPASS
Selection interface: getSelection() must inherit property "collapseToEnd()" with the proper typePASSPASSPASSPASSPASS
Selection interface: getSelection() must inherit property "extend(Node, optional unsigned long)" with the proper typePASSPASSPASSPASSPASS
Selection interface: calling extend(Node, optional unsigned long) on getSelection() with too few arguments must throw TypeErrorPASSPASSPASSPASSPASS
Selection interface: getSelection() must inherit property "setBaseAndExtent(Node, unsigned long, Node, unsigned long)" with the proper typePASSPASSPASSPASSPASS
Selection interface: calling setBaseAndExtent(Node, unsigned long, Node, unsigned long) on getSelection() with too few arguments must throw TypeErrorPASSPASSPASSPASSPASS
Selection interface: getSelection() must inherit property "selectAllChildren(Node)" with the proper typePASSPASSPASSPASSPASS
Selection interface: calling selectAllChildren(Node) on getSelection() with too few arguments must throw TypeErrorPASSPASSPASSPASSPASS
Selection interface: getSelection() must inherit property "modify(optional DOMString, optional DOMString, optional DOMString)" with the proper typePASSPASSPASSPASSFAIL
Selection interface: calling modify(optional DOMString, optional DOMString, optional DOMString) on getSelection() with too few arguments must throw TypeErrorPASSPASSPASSPASSFAIL
Selection interface: getSelection() must inherit property "deleteFromDocument()" with the proper typePASSPASSPASSPASSPASS
Selection interface: getSelection() must inherit property "containsNode(Node, optional boolean)" with the proper typePASSPASSPASSPASSPASS
Selection interface: calling containsNode(Node, optional boolean) on getSelection() with too few arguments must throw TypeErrorPASSPASSPASSPASSPASS
HTMLElement interface: attribute onselectstartPASSPASSPASSFAILPASS
HTMLElement interface: attribute onselectionchangePASSPASSPASSPASSPASS
Window interface: operation getSelection()PASSPASSPASSPASSPASS
Window interface: attribute onselectstartPASSPASSPASSFAILPASS
Window interface: attribute onselectionchangePASSPASSPASSPASSPASS
Window interface: window must inherit property "getSelection()" with the proper typePASSPASSPASSPASSPASS
Window interface: window must inherit property "onselectstart" with the proper typePASSPASSPASSFAILPASS
Window interface: window must inherit property "onselectionchange" with the proper typePASSPASSPASSPASSPASS
Document interface: operation getSelection()PASSPASSPASSPASSPASS
Document interface: attribute onselectstartPASSPASSPASSFAILPASS
Document interface: attribute onselectionchangePASSPASSPASSPASSPASS
Document interface: document must inherit property "getSelection()" with the proper typePASSPASSPASSPASSPASS
Document interface: document must inherit property "onselectstart" with the proper typePASSPASSPASSFAILPASS
Document interface: document must inherit property "onselectionchange" with the proper typePASSPASSPASSPASSPASS