-
Notifications
You must be signed in to change notification settings - Fork 102
/
Copy pathselection-api.yml
52 lines (51 loc) · 1.74 KB
/
selection-api.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
draft_date: 2025-01-20
name: Selection API
description: TODO
spec: https://w3c.github.io/selection-api/
compat_features:
- api.Document.featurePolicy
- api.Document.moveBefore
- api.Selection.collapse.accepts_nodes_in_shadow_trees
- api.Selection.collapse.node_parameter_nullable
- api.Selection.collapse.offset_parameter_optional
- api.Selection.containsNode.partialContainment_parameter_optional
- api.Selection.extend.accepts_nodes_in_shadow_trees
- api.Selection.extend.offset_parameter_optional
- api.Selection.setBaseAndExtent.accepts_nodes_in_shadow_trees
# The following features in the spec are already part of web-features:
# - DOM:
# - api.Document
# - Selection:
# - api.Document.getSelection
# - api.Document.selectionchange_event
# - api.HTMLInputElement.selectionchange_event
# - api.HTMLTextAreaElement.selectionchange_event
# - api.Node.selectstart_event
# - api.Selection
# - api.Selection.addRange
# - api.Selection.anchorNode
# - api.Selection.anchorOffset
# - api.Selection.collapse
# - api.Selection.collapseToEnd
# - api.Selection.collapseToStart
# - api.Selection.containsNode
# - api.Selection.deleteFromDocument
# - api.Selection.direction
# - api.Selection.empty
# - api.Selection.extend
# - api.Selection.focusNode
# - api.Selection.focusOffset
# - api.Selection.getRangeAt
# - api.Selection.isCollapsed
# - api.Selection.modify
# - api.Selection.rangeCount
# - api.Selection.removeAllRanges
# - api.Selection.removeRange
# - api.Selection.selectAllChildren
# - api.Selection.setBaseAndExtent
# - api.Selection.setPosition
# - api.Selection.toString
# - api.Selection.type
# - api.Window.getSelection
# - Selection composed ranges:
# - api.Selection.getComposedRanges