Skip to content

Commit

Permalink
Move getSelection to Document and ShadowRoot; Mark ShadowRoot.getSele…
Browse files Browse the repository at this point in the history
…ction as non-standard. (#9431)
  • Loading branch information
Elchi3 authored Mar 12, 2021
1 parent 8e4018a commit 8ab2aaa
Show file tree
Hide file tree
Showing 4 changed files with 95 additions and 96 deletions.
48 changes: 48 additions & 0 deletions api/Document.json
Original file line number Diff line number Diff line change
Expand Up @@ -5975,6 +5975,54 @@
}
}
},
"getSelection": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Document/getSelection",
"support": {
"chrome": {
"version_added": "1"
},
"chrome_android": {
"version_added": "18"
},
"edge": {
"version_added": "12"
},
"firefox": {
"version_added": "1"
},
"firefox_android": {
"version_added": "4"
},
"ie": {
"version_added": "9"
},
"opera": {
"version_added": "≤12.1"
},
"opera_android": {
"version_added": "≤12.1"
},
"safari": {
"version_added": "4"
},
"safari_ios": {
"version_added": "3.2"
},
"samsunginternet_android": {
"version_added": "1.0"
},
"webview_android": {
"version_added": "1"
}
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},
"gotpointercapture_event": {
"__compat": {
"description": "<code>gotpointercapture</code> event",
Expand Down
47 changes: 47 additions & 0 deletions api/ShadowRoot.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,53 @@
}
}
},
"getSelection": {
"__compat": {
"support": {
"chrome": {
"version_added": "53"
},
"chrome_android": {
"version_added": "53"
},
"edge": {
"version_added": "79"
},
"firefox": {
"version_added": false
},
"firefox_android": {
"version_added": false
},
"ie": {
"version_added": false
},
"opera": {
"version_added": "40"
},
"opera_android": {
"version_added": "41"
},
"safari": {
"version_added": false
},
"safari_ios": {
"version_added": false
},
"samsunginternet_android": {
"version_added": "6.0"
},
"webview_android": {
"version_added": "53"
}
},
"status": {
"experimental": false,
"standard_track": false,
"deprecated": false
}
}
},
"host": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/ShadowRoot/host",
Expand Down
48 changes: 0 additions & 48 deletions api/_mixins/DocumentOrShadowRoot__Document.json
Original file line number Diff line number Diff line change
Expand Up @@ -535,54 +535,6 @@
}
}
},
"getSelection": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Document/getSelection",
"support": {
"chrome": {
"version_added": "1"
},
"chrome_android": {
"version_added": "18"
},
"edge": {
"version_added": "12"
},
"firefox": {
"version_added": "1"
},
"firefox_android": {
"version_added": "4"
},
"ie": {
"version_added": "9"
},
"opera": {
"version_added": "≤12.1"
},
"opera_android": {
"version_added": "≤12.1"
},
"safari": {
"version_added": "4"
},
"safari_ios": {
"version_added": "3.2"
},
"samsunginternet_android": {
"version_added": "1.0"
},
"webview_android": {
"version_added": "1"
}
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},
"pointerLockElement": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Document/pointerLockElement",
Expand Down
48 changes: 0 additions & 48 deletions api/_mixins/DocumentOrShadowRoot__ShadowRoot.json
Original file line number Diff line number Diff line change
Expand Up @@ -429,54 +429,6 @@
}
}
},
"getSelection": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/ShadowRoot/getSelection",
"support": {
"chrome": {
"version_added": "53"
},
"chrome_android": {
"version_added": "53"
},
"edge": {
"version_added": "79"
},
"firefox": {
"version_added": false
},
"firefox_android": {
"version_added": false
},
"ie": {
"version_added": false
},
"opera": {
"version_added": "40"
},
"opera_android": {
"version_added": "41"
},
"safari": {
"version_added": false
},
"safari_ios": {
"version_added": false
},
"samsunginternet_android": {
"version_added": "6.0"
},
"webview_android": {
"version_added": "53"
}
},
"status": {
"experimental": false,
"standard_track": false,
"deprecated": false
}
}
},
"pointerLockElement": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/ShadowRoot/pointerLockElement",
Expand Down

0 comments on commit 8ab2aaa

Please sign in to comment.