Skip to content

Commit

Permalink
Move beforeinput and input event from HTMLElement to Element (m…
Browse files Browse the repository at this point in the history
…dn#21640)

* move

* Apply suggestions from code review

Co-authored-by: Florian Scholz <[email protected]>

---------

Co-authored-by: Florian Scholz <[email protected]>
  • Loading branch information
skyclouds2001 and Elchi3 authored Dec 21, 2023
1 parent e88f6f6 commit 4719992
Show file tree
Hide file tree
Showing 2 changed files with 92 additions and 92 deletions.
92 changes: 92 additions & 0 deletions api/Element.json
Original file line number Diff line number Diff line change
Expand Up @@ -2747,6 +2747,41 @@
}
}
},
"beforeinput_event": {
"__compat": {
"description": "<code>beforeinput</code> event",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Element/beforeinput_event",
"spec_url": "https://w3c.github.io/uievents/#event-type-beforeinput",
"support": {
"chrome": {
"version_added": "60"
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": "87"
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": "10.1"
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},
"beforematch_event": {
"__compat": {
"description": "<code>beforematch</code> event",
Expand Down Expand Up @@ -5294,6 +5329,63 @@
}
}
},
"input_event": {
"__compat": {
"description": "<code>input</code> event",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Element/input_event",
"spec_url": [
"https://w3c.github.io/uievents/#event-type-input",
"https://html.spec.whatwg.org/multipage/webappapis.html#handler-oninput"
],
"tags": [
"web-features:input-event"
],
"support": {
"chrome": {
"version_added": "1"
},
"chrome_android": "mirror",
"edge": [
{
"version_added": "79"
},
{
"version_added": "12",
"version_removed": "79",
"partial_implementation": true,
"notes": "Not supported on <code>select</code>, <code>checkbox</code>, or <code>radio</code> inputs."
}
],
"firefox": {
"version_added": "6"
},
"firefox_android": "mirror",
"ie": {
"version_added": "9",
"partial_implementation": true,
"notes": "Only supports <code>input</code> of type <code>text</code> and <code>password</code>."
},
"oculus": "mirror",
"opera": {
"version_added": "11.6"
},
"opera_android": {
"version_added": "12"
},
"safari": {
"version_added": "3.1"
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},
"insertAdjacentElement": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentElement",
Expand Down
92 changes: 0 additions & 92 deletions api/HTMLElement.json
Original file line number Diff line number Diff line change
Expand Up @@ -311,41 +311,6 @@
}
}
},
"beforeinput_event": {
"__compat": {
"description": "<code>beforeinput</code> event",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLElement/beforeinput_event",
"spec_url": "https://w3c.github.io/uievents/#event-type-beforeinput",
"support": {
"chrome": {
"version_added": "60"
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": "87"
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": "10.1"
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},
"beforetoggle_event": {
"__compat": {
"description": "<code>beforetoggle</code> event",
Expand Down Expand Up @@ -1454,63 +1419,6 @@
}
}
},
"input_event": {
"__compat": {
"description": "<code>input</code> event",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLElement/input_event",
"spec_url": [
"https://w3c.github.io/uievents/#event-type-input",
"https://html.spec.whatwg.org/multipage/webappapis.html#handler-oninput"
],
"tags": [
"web-features:input-event"
],
"support": {
"chrome": {
"version_added": "1"
},
"chrome_android": "mirror",
"edge": [
{
"version_added": "79"
},
{
"version_added": "12",
"version_removed": "79",
"partial_implementation": true,
"notes": "Not supported on <code>select</code>, <code>checkbox</code>, or <code>radio</code> inputs."
}
],
"firefox": {
"version_added": "6"
},
"firefox_android": "mirror",
"ie": {
"version_added": "9",
"partial_implementation": true,
"notes": "Only supports <code>input</code> of type <code>text</code> and <code>password</code>."
},
"oculus": "mirror",
"opera": {
"version_added": "11.6"
},
"opera_android": {
"version_added": "12"
},
"safari": {
"version_added": "3.1"
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},
"inputMode": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLElement/inputMode",
Expand Down

0 comments on commit 4719992

Please sign in to comment.