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 transition events from GlobalEventHandlers #16758

Merged
merged 15 commits into from
Jul 14, 2022
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
149 changes: 0 additions & 149 deletions api/Document.json
Original file line number Diff line number Diff line change
Expand Up @@ -7244,155 +7244,6 @@
}
}
},
"transitioncancel_event": {
"__compat": {
"description": "<code>transitioncancel</code> event",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Document/transitioncancel_event",
"spec_url": "https://drafts.csswg.org/css-transitions/#transitioncancel",
"support": {
"chrome": {
"version_added": "74"
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": "53"
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": "13.1"
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},
"transitionend_event": {
"__compat": {
"description": "<code>transitionend</code> event",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Document/transitionend_event",
"spec_url": "https://drafts.csswg.org/css-transitions/#transitionend",
"support": {
"chrome": {
"version_added": false
},
"chrome_android": "mirror",
"edge": {
"version_added": "12"
},
"firefox": {
"version_added": "51"
},
"firefox_android": "mirror",
"ie": {
"version_added": "10",
"notes": "The <code>ontransitionend</code> attribute is not supported in IE. To listen to this event, use <code>document.addEventListener('transitionend', function() {});</code>."
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": "11"
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},
"transitionrun_event": {
"__compat": {
"description": "<code>transitionrun</code> event",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Document/transitionrun_event",
"spec_url": "https://drafts.csswg.org/css-transitions/#transitionrun",
"support": {
"chrome": {
"version_added": false
},
"chrome_android": "mirror",
"edge": {
"version_added": "12"
},
"firefox": {
"version_added": "53"
},
"firefox_android": "mirror",
"ie": {
"version_added": "10",
"notes": "The <code>ontransitionrun</code> attribute is not supported in IE. To listen to this event, use <code>document.addEventListener('transitionrun', function() {});</code>."
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": "13.1"
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},
"transitionstart_event": {
"__compat": {
"description": "<code>transitionstart</code> event",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Document/transitionstart_event",
"spec_url": "https://drafts.csswg.org/css-transitions/#transitionstart",
"support": {
"chrome": {
"version_added": false
},
"chrome_android": "mirror",
"edge": {
"version_added": "12"
},
"firefox": {
"version_added": "53"
},
"firefox_android": "mirror",
"ie": {
"version_added": "10",
"notes": "The <code>ontransitionstart</code> attribute is not supported in IE. To listen to this event, use <code>document.addEventListener('transitionstart', function() {});</code>."
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": "13.1"
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},
"visibilitychange_event": {
"__compat": {
"description": "<code>visibilitychange</code> event",
Expand Down
232 changes: 232 additions & 0 deletions api/Element.json
Original file line number Diff line number Diff line change
Expand Up @@ -6353,6 +6353,238 @@
}
}
},
"transitioncancel_event": {
"__compat": {
"description": "<code>transitioncancel</code> event",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Element/transitioncancel_event",
"spec_url": [
"https://drafts.csswg.org/css-transitions/#transitioncancel",
"https://drafts.csswg.org/css-transitions/#ref-for-dom-globaleventhandlers-ontransitioncancel"
queengooborg marked this conversation as resolved.
Show resolved Hide resolved
],
"support": {
"chrome": [
{
"version_added": "87"
},
{
"version_added": "74",
"partial_implementation": true,
"notes": "The <code>ontransitioncancel</code> event handler property is not supported. To listen to this event, use <code>element.addEventListener('transitioncancel', function() {});</code>."
}
],
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": "53"
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": [
{
"version_added": "13.1"
},
{
"version_added": "12",
"partial_implementation": true,
"notes": "The event handler exists but will never be called."
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you match the wording we have elsewhere? "Although the onmessageerror property is supported, the messageerror event is never fired. See bug 171216."

}
],
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},
"transitionend_event": {
"__compat": {
"description": "<code>transitionend</code> event",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Element/transitionend_event",
"spec_url": "https://drafts.csswg.org/css-transitions/#transitionend",
Copy link
Contributor

Choose a reason for hiding this comment

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

Just one spec URL here? Can you do the same as above?

"support": {
"chrome": [
{
"version_added": "26"
},
{
"alternative_name": "webkittransitionend",
"version_added": "1"
}
],
"chrome_android": "mirror",
"edge": [
{
"version_added": "18"
},
{
"version_added": "12",
"partial_implementation": true,
"notes": "The <code>ontransitionend</code> event handler property is not supported. To listen to this event, use <code>element.addEventListener('transitionend', function() {});</code>."
},
{
"alternative_name": "webkittransitionend",
"version_added": "79"
}
],
"firefox": {
"version_added": "51"
},
"firefox_android": "mirror",
"ie": {
"version_added": "10",
"partial_implementation": true,
"notes": "The <code>ontransitionend</code> event handler property is not supported. To listen to this event, use <code>element.addEventListener('transitionend', function() {});</code>."
},
"oculus": "mirror",
"opera": [
{
"version_added": "12.1"
},
{
"alternative_name": "webkittransitionend",
"version_added": "15"
},
{
"alternative_name": "otransitionend",
"version_added": "11.6",
"version_removed": "15"
}
],
"opera_android": [
{
"version_added": "12.1"
},
{
"alternative_name": "webkittransitionend",
"version_added": "14"
},
{
"alternative_name": "otransitionend",
"version_added": "12",
"version_removed": "14"
}
],
"safari": [
{
"version_added": "7"
},
{
"alternative_name": "webkittransitionend",
"version_added": "4"
}
],
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},
"transitionrun_event": {
"__compat": {
"description": "<code>transitionrun</code> event",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Element/transitionrun_event",
"spec_url": "https://drafts.csswg.org/css-transitions/#transitionrun",
"support": {
"chrome": {
"version_added": "74"
},
"chrome_android": "mirror",
"edge": {
"version_added": "12"
},
"firefox": {
"version_added": "53"
},
"firefox_android": "mirror",
"ie": {
"version_added": "10",
"partial_implementation": true,
"notes": "The <code>ontransitionrun</code> event handler property is not supported. To listen to this event, use <code>element.addEventListener('transitionrun', function() {});</code>."
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": [
{
"version_added": "13.1"
},
{
"version_added": "12",
"partial_implementation": true,
"notes": "The event handler exists but will never be called."
}
],
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},
"transitionstart_event": {
"__compat": {
"description": "<code>transitionstart</code> event",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Element/transitionstart_event",
"spec_url": "https://drafts.csswg.org/css-transitions/#transitionstart",
"support": {
"chrome": {
"version_added": "74"
},
"chrome_android": "mirror",
"edge": {
"version_added": "12"
},
"firefox": {
"version_added": "53"
},
"firefox_android": "mirror",
"ie": {
"version_added": "10",
"partial_implementation": true,
"notes": "The <code>ontransitionstart</code> event handler property is not supported. To listen to this event, use <code>element.addEventListener('transitionstart', function() {});</code>."
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": [
{
"version_added": "13.1"
},
{
"version_added": "12",
"partial_implementation": true,
"notes": "The event handler exists but will never be called."
}
],
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},
"webkitmouseforcechanged_event": {
"__compat": {
"description": "<code>webkitmouseforcechanged</code> event",
Expand Down
Loading