From e634320a45644b535adf075a6399532aa0a0324b Mon Sep 17 00:00:00 2001 From: "Queen Vinyl Da.i'gyu-Kazotetsu" Date: Thu, 11 Nov 2021 06:34:26 -0800 Subject: [PATCH 1/2] Add missing features for VirtualKeyboard API This PR is a part of a project to add missing interfaces and interface features to BCD that are from an active spec (including WICG specs) and is supported in at least one browser. This particular PR adds the missing features of the VirtualKeyboard API, populating the results using data from the [mdn-bcd-collector](https://mdn-bcd-collector.appspot.com) project (v4.0.0). Tests Used: https://mdn-bcd-collector.appspot.com/tests/api/VirtualKeyboard _Check out the [collector's guide on how to review this PR](https://github.com/foolip/mdn-bcd-collector#reviewing-bcd-changes)._ --- api/Navigator.json | 48 +++++++ api/VirtualKeyboard.json | 292 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 340 insertions(+) create mode 100644 api/VirtualKeyboard.json diff --git a/api/Navigator.json b/api/Navigator.json index 0d815a5804e348..9a785cc2e3cd72 100644 --- a/api/Navigator.json +++ b/api/Navigator.json @@ -4032,6 +4032,54 @@ } } }, + "virtualKeyboard": { + "__compat": { + "spec_url": "https://w3c.github.io/virtual-keyboard/#dom-navigator-virtualkeyboard", + "support": { + "chrome": { + "version_added": "94" + }, + "chrome_android": { + "version_added": "94" + }, + "edge": { + "version_added": "94" + }, + "firefox": { + "version_added": false + }, + "firefox_android": { + "version_added": false + }, + "ie": { + "version_added": false + }, + "opera": { + "version_added": "80" + }, + "opera_android": { + "version_added": false + }, + "safari": { + "version_added": false + }, + "safari_ios": { + "version_added": false + }, + "samsunginternet_android": { + "version_added": false + }, + "webview_android": { + "version_added": "94" + } + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + }, "wakeLock": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/Navigator/wakeLock", diff --git a/api/VirtualKeyboard.json b/api/VirtualKeyboard.json new file mode 100644 index 00000000000000..e36647df2132d0 --- /dev/null +++ b/api/VirtualKeyboard.json @@ -0,0 +1,292 @@ +{ + "api": { + "VirtualKeyboard": { + "__compat": { + "spec_url": "https://w3c.github.io/virtual-keyboard/#dom-virtualkeyboard", + "support": { + "chrome": { + "version_added": "94" + }, + "chrome_android": { + "version_added": "94" + }, + "edge": { + "version_added": "94" + }, + "firefox": { + "version_added": false + }, + "firefox_android": { + "version_added": false + }, + "ie": { + "version_added": false + }, + "opera": { + "version_added": "80" + }, + "opera_android": { + "version_added": false + }, + "safari": { + "version_added": false + }, + "safari_ios": { + "version_added": false + }, + "samsunginternet_android": { + "version_added": false + }, + "webview_android": { + "version_added": "94" + } + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + }, + "boundingRect": { + "__compat": { + "spec_url": "https://w3c.github.io/virtual-keyboard/#dom-virtualkeyboard-boundingrect", + "support": { + "chrome": { + "version_added": "94" + }, + "chrome_android": { + "version_added": "94" + }, + "edge": { + "version_added": "94" + }, + "firefox": { + "version_added": false + }, + "firefox_android": { + "version_added": false + }, + "ie": { + "version_added": false + }, + "opera": { + "version_added": "80" + }, + "opera_android": { + "version_added": false + }, + "safari": { + "version_added": false + }, + "safari_ios": { + "version_added": false + }, + "samsunginternet_android": { + "version_added": false + }, + "webview_android": { + "version_added": "94" + } + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + }, + "hide": { + "__compat": { + "spec_url": "https://w3c.github.io/virtual-keyboard/#dom-virtualkeyboard-hide", + "support": { + "chrome": { + "version_added": "94" + }, + "chrome_android": { + "version_added": "94" + }, + "edge": { + "version_added": "94" + }, + "firefox": { + "version_added": false + }, + "firefox_android": { + "version_added": false + }, + "ie": { + "version_added": false + }, + "opera": { + "version_added": "80" + }, + "opera_android": { + "version_added": false + }, + "safari": { + "version_added": false + }, + "safari_ios": { + "version_added": false + }, + "samsunginternet_android": { + "version_added": false + }, + "webview_android": { + "version_added": "94" + } + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + }, + "ongeometrychange": { + "__compat": { + "spec_url": "https://w3c.github.io/virtual-keyboard/#dom-virtualkeyboard-ongeometrychange", + "support": { + "chrome": { + "version_added": "94" + }, + "chrome_android": { + "version_added": "94" + }, + "edge": { + "version_added": "94" + }, + "firefox": { + "version_added": false + }, + "firefox_android": { + "version_added": false + }, + "ie": { + "version_added": false + }, + "opera": { + "version_added": "80" + }, + "opera_android": { + "version_added": false + }, + "safari": { + "version_added": false + }, + "safari_ios": { + "version_added": false + }, + "samsunginternet_android": { + "version_added": false + }, + "webview_android": { + "version_added": "94" + } + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + }, + "overlaysContent": { + "__compat": { + "spec_url": "https://w3c.github.io/virtual-keyboard/#dom-virtualkeyboard-overlayscontent", + "support": { + "chrome": { + "version_added": "94" + }, + "chrome_android": { + "version_added": "94" + }, + "edge": { + "version_added": "94" + }, + "firefox": { + "version_added": false + }, + "firefox_android": { + "version_added": false + }, + "ie": { + "version_added": false + }, + "opera": { + "version_added": "80" + }, + "opera_android": { + "version_added": false + }, + "safari": { + "version_added": false + }, + "safari_ios": { + "version_added": false + }, + "samsunginternet_android": { + "version_added": false + }, + "webview_android": { + "version_added": "94" + } + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + }, + "show": { + "__compat": { + "spec_url": "https://w3c.github.io/virtual-keyboard/#dom-virtualkeyboard-show", + "support": { + "chrome": { + "version_added": "94" + }, + "chrome_android": { + "version_added": "94" + }, + "edge": { + "version_added": "94" + }, + "firefox": { + "version_added": false + }, + "firefox_android": { + "version_added": false + }, + "ie": { + "version_added": false + }, + "opera": { + "version_added": "80" + }, + "opera_android": { + "version_added": false + }, + "safari": { + "version_added": false + }, + "safari_ios": { + "version_added": false + }, + "samsunginternet_android": { + "version_added": false + }, + "webview_android": { + "version_added": "94" + } + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + } + } + } +} From be574713a2a2cbdcda1c2afebc5f38ee1eeb2a36 Mon Sep 17 00:00:00 2001 From: "Queen Vinyl Da.i'gyu-Kazotetsu" Date: Fri, 12 Nov 2021 02:51:02 -0800 Subject: [PATCH 2/2] Update api/VirtualKeyboard.json MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Philip Jägenstedt --- api/VirtualKeyboard.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/VirtualKeyboard.json b/api/VirtualKeyboard.json index e36647df2132d0..5da61abc5d974d 100644 --- a/api/VirtualKeyboard.json +++ b/api/VirtualKeyboard.json @@ -2,7 +2,7 @@ "api": { "VirtualKeyboard": { "__compat": { - "spec_url": "https://w3c.github.io/virtual-keyboard/#dom-virtualkeyboard", + "spec_url": "https://w3c.github.io/virtual-keyboard/#the-virtualkeyboard-interface", "support": { "chrome": { "version_added": "94"