Skip to content

Commit

Permalink
Demix scroll event from GlobalEventHandlers (#16727)
Browse files Browse the repository at this point in the history
* Demix scroll event from GlobalEventHandlers

* Update Window.json

* Move to Element

* Fix JSON files

* Add spec URLs

* Update spec URLs

Co-authored-by: Philip Jägenstedt <philip@foolip.org>
  • Loading branch information
queengooborg and foolip authored Jul 14, 2022
1 parent 27a44d6 commit ad90fb7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 42 deletions.
5 changes: 4 additions & 1 deletion api/Document.json
Original file line number Diff line number Diff line change
Expand Up @@ -6370,7 +6370,10 @@
"__compat": {
"description": "<code>scroll</code> event",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Document/scroll_event",
"spec_url": "https://drafts.csswg.org/cssom-view/#eventdef-document-scroll",
"spec_url": [
"https://drafts.csswg.org/cssom-view/#eventdef-document-scroll",
"https://html.spec.whatwg.org/multipage/webappapis.html#handler-onscroll"
],
"support": {
"chrome": {
"version_added": "1"
Expand Down
5 changes: 4 additions & 1 deletion api/Element.json
Original file line number Diff line number Diff line change
Expand Up @@ -5444,7 +5444,10 @@
"__compat": {
"description": "<code>scroll</code> event",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Element/scroll_event",
"spec_url": "https://drafts.csswg.org/cssom-view/#scrolling-events",
"spec_url": [
"https://drafts.csswg.org/cssom-view/#eventdef-document-scroll",
"https://html.spec.whatwg.org/multipage/webappapis.html#handler-onscroll"
],
"support": {
"chrome": {
"version_added": "1"
Expand Down
40 changes: 0 additions & 40 deletions api/GlobalEventHandlers.json
Original file line number Diff line number Diff line change
Expand Up @@ -1005,46 +1005,6 @@
}
}
},
"onscroll": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/GlobalEventHandlers/onscroll",
"spec_url": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onscroll",
"support": {
"chrome": {
"version_added": "1"
},
"chrome_android": "mirror",
"edge": {
"version_added": "12"
},
"firefox": {
"version_added": "9"
},
"firefox_android": "mirror",
"ie": {
"version_added": "9"
},
"oculus": "mirror",
"opera": {
"version_added": "≤12.1"
},
"opera_android": {
"version_added": "≤12.1"
},
"safari": {
"version_added": "1.3"
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},
"onslotchange": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/GlobalEventHandlers/onslotchange",
Expand Down

0 comments on commit ad90fb7

Please sign in to comment.