Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demix scroll event from GlobalEventHandlers #16727

Merged
merged 11 commits into from
Jul 14, 2022
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",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you update the Element entry with the same URLs? This one is actually the one for elements too, despite "document" in the fragment.

"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