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

Add data for cross-document view transitions features #22638

Merged
merged 5 commits into from
Apr 24, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
4 changes: 4 additions & 0 deletions api/NavigationActivation.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"api": {
"NavigationActivation": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/NavigationActivation",
"spec_url": "https://html.spec.whatwg.org/multipage/nav-history-apis.html#navigationactivation",
"tags": [
"web-features:navigation-activation"
Expand Down Expand Up @@ -37,6 +38,7 @@
},
"entry": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/NavigationActivation/entry",
"spec_url": "https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-navigationactivation-entry",
"tags": [
"web-features:navigation-activation"
Expand Down Expand Up @@ -73,6 +75,7 @@
},
"from": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/NavigationActivation/from",
"spec_url": "https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-navigationactivation-from",
"tags": [
"web-features:navigation-activation"
Expand Down Expand Up @@ -109,6 +112,7 @@
},
"navigationType": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/NavigationActivation/navigationType",
"spec_url": "https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-navigationactivation-navigationtype",
"tags": [
"web-features:navigation-activation"
Expand Down
93 changes: 92 additions & 1 deletion api/PageRevealEvent.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,18 @@
"api": {
"PageRevealEvent": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PageRevealEvent",
"spec_url": "https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-pagerevealevent-interface",
"support": {
"chrome": {
"version_added": "123"
"version_added": "123",
"flags": [
{
"type": "preference",
"name": "viewTransition API for navigations",
"value_to_set": "Enabled"
}
]
},
"chrome_android": "mirror",
"edge": "mirror",
Expand All @@ -31,6 +39,89 @@
"standard_track": true,
"deprecated": false
}
},
"PageRevealEvent": {
"__compat": {
"description": "<code>PageRevealEvent()</code> constructor",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PageRevealEvent/PageRevealEvent",
"spec_url": "https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-pagerevealevent-interface",
"support": {
"chrome": {
"version_added": "123",
"flags": [
{
"type": "preference",
"name": "viewTransition API for navigations",
"value_to_set": "Enabled"
}
]
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"viewTransition": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PageRevealEvent/viewTransition",
"spec_url": "https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-pagerevealevent-viewtransition",
"support": {
"chrome": {
"version_added": "123",
"flags": [
{
"type": "preference",
"name": "viewTransition API for navigations",
"value_to_set": "Enabled"
}
]
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
}
}
}
Expand Down
169 changes: 169 additions & 0 deletions api/PageSwapEvent.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
{
"api": {
"PageSwapEvent": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PageSwapEvent",
"spec_url": "https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-pageswapevent-interface",
"support": {
"chrome": {
"version_added": "124",
"flags": [
{
"type": "preference",
"name": "viewTransition API for navigations",
"value_to_set": "Enabled"
}
]
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
},
"PageSwapEvent": {
"__compat": {
"description": "<code>PageSwapEvent()</code> constructor",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PageSwapEvent/PageSwapEvent",
"spec_url": "https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-pageswapevent-interface",
"support": {
"chrome": {
"version_added": "124",
"flags": [
{
"type": "preference",
"name": "viewTransition API for navigations",
"value_to_set": "Enabled"
}
]
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"activation": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PageSwapEvent/activation",
"spec_url": "https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-pageswapevent-activation",
"support": {
"chrome": {
"version_added": "124",
"flags": [
{
"type": "preference",
"name": "viewTransition API for navigations",
"value_to_set": "Enabled"
}
]
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"viewTransition": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PageSwapEvent/viewTransition",
"spec_url": "https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-pageswapevent-viewtransition",
"support": {
"chrome": {
"version_added": "124",
"flags": [
{
"type": "preference",
"name": "viewTransition API for navigations",
"value_to_set": "Enabled"
}
]
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
}
}
}
}
70 changes: 70 additions & 0 deletions api/Window.json
Original file line number Diff line number Diff line change
Expand Up @@ -3713,6 +3713,41 @@
}
}
},
"pagereveal_event": {
"__compat": {
"description": "<code>pagereveal</code> event",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Window/pagereveal_event",
"spec_url": "https://html.spec.whatwg.org/multipage/indices.html#event-pagereveal",
"support": {
"chrome": {
"version_added": "123"
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"pageshow_event": {
"__compat": {
"description": "<code>pageshow</code> event",
Expand Down Expand Up @@ -3752,6 +3787,41 @@
}
}
},
"pageswap_event": {
"__compat": {
"description": "<code>pageswap</code> event",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Window/pageswap_event",
"spec_url": "https://html.spec.whatwg.org/multipage/indices.html#event-pageswap",
"support": {
"chrome": {
"version_added": "124"
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"parent": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Window/parent",
Expand Down
Loading