diff --git a/api/Document.json b/api/Document.json index 04320738dffc5e..9fefe518355163 100644 --- a/api/Document.json +++ b/api/Document.json @@ -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": "gotpointercapture event", diff --git a/api/ShadowRoot.json b/api/ShadowRoot.json index 55780f8946ec93..c44dd4aef2422e 100644 --- a/api/ShadowRoot.json +++ b/api/ShadowRoot.json @@ -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", diff --git a/api/_mixins/DocumentOrShadowRoot__Document.json b/api/_mixins/DocumentOrShadowRoot__Document.json index 69200060efdcc3..07db9312466bc2 100644 --- a/api/_mixins/DocumentOrShadowRoot__Document.json +++ b/api/_mixins/DocumentOrShadowRoot__Document.json @@ -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", diff --git a/api/_mixins/DocumentOrShadowRoot__ShadowRoot.json b/api/_mixins/DocumentOrShadowRoot__ShadowRoot.json index 0e13e4a5383f34..aa8f1f2905b414 100644 --- a/api/_mixins/DocumentOrShadowRoot__ShadowRoot.json +++ b/api/_mixins/DocumentOrShadowRoot__ShadowRoot.json @@ -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",