diff --git a/api/Document.json b/api/Document.json index 7d27f981f1b955..c6fd172431131d 100644 --- a/api/Document.json +++ b/api/Document.json @@ -4863,131 +4863,6 @@ } } }, - "keydown_event": { - "__compat": { - "description": "keydown event", - "mdn_url": "https://developer.mozilla.org/docs/Web/API/Document/keydown_event", - "spec_url": "https://w3c.github.io/uievents/#event-type-keydown", - "support": { - "chrome": { - "version_added": "1" - }, - "chrome_android": "mirror", - "edge": { - "version_added": "12" - }, - "firefox": { - "version_added": "14" - }, - "firefox_android": "mirror", - "ie": { - "version_added": "9" - }, - "opera": { - "version_added": "11.6" - }, - "opera_android": { - "version_added": "12" - }, - "safari": { - "version_added": "2" - }, - "safari_ios": "mirror", - "samsunginternet_android": "mirror", - "webview_android": "mirror" - }, - "status": { - "experimental": false, - "standard_track": true, - "deprecated": false - } - } - }, - "keypress_event": { - "__compat": { - "description": "keypress event", - "mdn_url": "https://developer.mozilla.org/docs/Web/API/Document/keypress_event", - "spec_url": "https://w3c.github.io/uievents/#event-type-keypress", - "support": { - "chrome": { - "version_added": "1", - "notes": "Chrome does not fire the keypress event for known keyboard shortcuts. Which keyboard shortcuts are known depends on the user's system. Use the keydown event to implement keyboard shortcuts." - }, - "chrome_android": "mirror", - "edge": { - "version_added": "12" - }, - "firefox": { - "version_added": "14", - "notes": "As of Firefox 65, the keypress event is no longer fired for non-printable keys, except for the Enter key, and the Shift + Enter and Ctrl + Enter key combinations (these were kept for cross-browser compatibility purposes)." - }, - "firefox_android": "mirror", - "ie": { - "version_added": "9" - }, - "opera": { - "version_added": "11.6" - }, - "opera_android": { - "version_added": "12" - }, - "safari": { - "version_added": "2" - }, - "safari_ios": "mirror", - "samsunginternet_android": "mirror", - "webview_android": { - "version_added": "1", - "notes": "Chrome does not fire the keypress event for known keyboard shortcuts. Which keyboard shortcuts are known depends on the user's system. Use the keydown event to implement keyboard shortcuts." - } - }, - "status": { - "experimental": false, - "standard_track": true, - "deprecated": true - } - } - }, - "keyup_event": { - "__compat": { - "description": "keyup event", - "mdn_url": "https://developer.mozilla.org/docs/Web/API/Document/keyup_event", - "spec_url": "https://w3c.github.io/uievents/#event-type-keyup", - "support": { - "chrome": { - "version_added": "1" - }, - "chrome_android": "mirror", - "edge": { - "version_added": "12" - }, - "firefox": { - "version_added": "14" - }, - "firefox_android": "mirror", - "ie": { - "version_added": "9" - }, - "opera": { - "version_added": "11.6" - }, - "opera_android": { - "version_added": "12" - }, - "safari": { - "version_added": "2" - }, - "safari_ios": "mirror", - "samsunginternet_android": "mirror", - "webview_android": "mirror" - }, - "status": { - "experimental": false, - "standard_track": true, - "deprecated": false - } - } - }, "lastModified": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/Document/lastModified", diff --git a/api/Element.json b/api/Element.json index 519ce5317cd0be..f492ff523e7fba 100644 --- a/api/Element.json +++ b/api/Element.json @@ -3257,7 +3257,10 @@ "__compat": { "description": "keydown event", "mdn_url": "https://developer.mozilla.org/docs/Web/API/Element/keydown_event", - "spec_url": "https://w3c.github.io/uievents/#event-type-keydown", + "spec_url": [ + "https://w3c.github.io/uievents/#event-type-keydown", + "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onkeydown" + ], "support": { "chrome": { "version_added": "1" @@ -3297,7 +3300,10 @@ "__compat": { "description": "keypress event", "mdn_url": "https://developer.mozilla.org/docs/Web/API/Element/keypress_event", - "spec_url": "https://w3c.github.io/uievents/#event-type-keypress", + "spec_url": [ + "https://w3c.github.io/uievents/#event-type-keypress", + "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onkeypress" + ], "support": { "chrome": { "version_added": "1", @@ -3344,7 +3350,10 @@ "__compat": { "description": "keyup event", "mdn_url": "https://developer.mozilla.org/docs/Web/API/Element/keyup_event", - "spec_url": "https://w3c.github.io/uievents/#event-type-keyup", + "spec_url": [ + "https://w3c.github.io/uievents/#event-type-keyup", + "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onkeyup" + ], "support": { "chrome": { "version_added": "1" diff --git a/api/GlobalEventHandlers.json b/api/GlobalEventHandlers.json index 18a2add5ef7a31..3b392e78bb4f2e 100644 --- a/api/GlobalEventHandlers.json +++ b/api/GlobalEventHandlers.json @@ -1399,123 +1399,6 @@ } } }, - "onkeydown": { - "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/GlobalEventHandlers/onkeydown", - "spec_url": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onkeydown", - "support": { - "chrome": { - "version_added": "1" - }, - "chrome_android": "mirror", - "edge": { - "version_added": "12" - }, - "firefox": { - "version_added": "9" - }, - "firefox_android": "mirror", - "ie": { - "version_added": "4" - }, - "opera": { - "version_added": "≤12.1" - }, - "opera_android": { - "version_added": "≤12.1" - }, - "safari": { - "version_added": "1" - }, - "safari_ios": "mirror", - "samsunginternet_android": "mirror", - "webview_android": "mirror" - }, - "status": { - "experimental": false, - "standard_track": true, - "deprecated": false - } - } - }, - "onkeypress": { - "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/GlobalEventHandlers/onkeypress", - "spec_url": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onkeypress", - "support": { - "chrome": { - "version_added": "1" - }, - "chrome_android": "mirror", - "edge": { - "version_added": "12" - }, - "firefox": { - "version_added": "9" - }, - "firefox_android": "mirror", - "ie": { - "version_added": "4" - }, - "opera": { - "version_added": "≤12.1" - }, - "opera_android": { - "version_added": "≤12.1" - }, - "safari": { - "version_added": "1" - }, - "safari_ios": "mirror", - "samsunginternet_android": "mirror", - "webview_android": "mirror" - }, - "status": { - "experimental": false, - "standard_track": true, - "deprecated": true - } - } - }, - "onkeyup": { - "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/GlobalEventHandlers/onkeyup", - "spec_url": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onkeyup", - "support": { - "chrome": { - "version_added": "1" - }, - "chrome_android": "mirror", - "edge": { - "version_added": "12" - }, - "firefox": { - "version_added": "9" - }, - "firefox_android": "mirror", - "ie": { - "version_added": "4" - }, - "opera": { - "version_added": "≤12.1" - }, - "opera_android": { - "version_added": "≤12.1" - }, - "safari": { - "version_added": "1" - }, - "safari_ios": "mirror", - "samsunginternet_android": "mirror", - "webview_android": "mirror" - }, - "status": { - "experimental": false, - "standard_track": true, - "deprecated": false - } - } - }, "onload": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/GlobalEventHandlers/onload",