diff --git a/features/backdrop.yml b/features/backdrop.yml index db0a4fbdbf9..df5d25c9492 100644 --- a/features/backdrop.yml +++ b/features/backdrop.yml @@ -6,4 +6,5 @@ status: compute_from: css.selectors.backdrop compat_features: - css.selectors.backdrop + - css.selectors.backdrop.dialog - css.selectors.backdrop.inherit_from_originating_element diff --git a/features/backdrop.yml.dist b/features/backdrop.yml.dist index 8db0ff094fb..657f9630ade 100644 --- a/features/backdrop.yml.dist +++ b/features/backdrop.yml.dist @@ -28,6 +28,19 @@ compat_features: # safari_ios: "15.4" - css.selectors.backdrop + # baseline: high + # baseline_low_date: 2022-03-14 + # baseline_high_date: 2024-09-14 + # support: + # chrome: "37" + # chrome_android: "37" + # edge: "79" + # firefox: "98" + # firefox_android: "98" + # safari: "15.4" + # safari_ios: "15.4" + - css.selectors.backdrop.dialog + # baseline: low # baseline_low_date: 2024-03-05 # support: diff --git a/features/dialog.yml b/features/dialog.yml index 992e93fa825..9842c2bc1b9 100644 --- a/features/dialog.yml +++ b/features/dialog.yml @@ -3,3 +3,14 @@ description: The `` HTML element represents a modal or non-modal dialog spec: https://html.spec.whatwg.org/multipage/interactive-elements.html#the-dialog-element group: html-elements caniuse: dialog +compat_features: + - api.HTMLDialogElement + - api.HTMLDialogElement.cancel_event + - api.HTMLDialogElement.close + - api.HTMLDialogElement.close_event + - api.HTMLDialogElement.open + - api.HTMLDialogElement.returnValue + - api.HTMLDialogElement.show + - api.HTMLDialogElement.showModal + - html.elements.dialog + - html.elements.dialog.open diff --git a/features/dialog.yml.dist b/features/dialog.yml.dist index 3a0d7bcfda5..385ed4bbda6 100644 --- a/features/dialog.yml.dist +++ b/features/dialog.yml.dist @@ -22,6 +22,5 @@ compat_features: - api.HTMLDialogElement.returnValue - api.HTMLDialogElement.show - api.HTMLDialogElement.showModal - - css.selectors.backdrop.dialog - html.elements.dialog - html.elements.dialog.open diff --git a/features/dom.yml b/features/dom.yml index 0f23d2a2d80..0a9fae3a6e6 100644 --- a/features/dom.yml +++ b/features/dom.yml @@ -274,4 +274,5 @@ compat_features: - api.TreeWalker.previousSibling - api.TreeWalker.root - api.TreeWalker.whatToShow + - api.Window.document - api.XMLDocument diff --git a/features/dom.yml.dist b/features/dom.yml.dist index b94bc919667..65dcaa601cc 100644 --- a/features/dom.yml.dist +++ b/features/dom.yml.dist @@ -119,6 +119,7 @@ compat_features: - api.ProcessingInstruction.target - api.Text - api.Text.splitText + - api.Window.document # baseline: high # baseline_low_date: 2015-07-29 diff --git a/features/history.yml b/features/history.yml index 0085516ff11..567feeb65a0 100644 --- a/features/history.yml +++ b/features/history.yml @@ -1,5 +1,5 @@ name: History -description: "The History API manipulates the browser session history, from navigations to state management, in the tab or frame that the current page is loaded in." +description: "The `window.history` API manipulates the browser session history, from navigations to state management, in the tab or frame that the current page is loaded in." spec: https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-history-interface caniuse: history # This gets the feature closest to matching Caniuse. @@ -15,3 +15,5 @@ compat_features: - api.History.replaceState - api.History.scrollRestoration - api.History.state + - api.Window.history + - api.Window.popstate_event diff --git a/features/history.yml.dist b/features/history.yml.dist index 906576ccb4c..c9f5f5b1749 100644 --- a/features/history.yml.dist +++ b/features/history.yml.dist @@ -30,6 +30,7 @@ compat_features: - api.History.forward - api.History.go - api.History.length + - api.Window.history # ⬇️ Same status as overall feature ⬇️ # baseline: high @@ -46,6 +47,19 @@ compat_features: - api.History.pushState - api.History.replaceState + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "5" + # chrome_android: "18" + # edge: "12" + # firefox: "4" + # firefox_android: "4" + # safari: "5" + # safari_ios: "4.2" + - api.Window.popstate_event + # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 diff --git a/features/window-management.yml b/features/window-management.yml new file mode 100644 index 00000000000..5668983e4bc --- /dev/null +++ b/features/window-management.yml @@ -0,0 +1,24 @@ +name: Window management +description: "The `window.getScreenDetails()` method gets information about the screens on a device, which you can use to place new windows on a specific screen with `window.open()`." +spec: https://w3c.github.io/window-management/ +compat_features: + - api.Element.requestFullscreen.options_screen_parameter + - api.Permissions.permission_window-management + - api.Screen.change_event + - api.Screen.isExtended + - api.ScreenDetailed + - api.ScreenDetailed.availLeft + - api.ScreenDetailed.availTop + - api.ScreenDetailed.devicePixelRatio + - api.ScreenDetailed.isInternal + - api.ScreenDetailed.isPrimary + - api.ScreenDetailed.label + - api.ScreenDetailed.left + - api.ScreenDetailed.top + - api.ScreenDetails + - api.ScreenDetails.currentScreen + - api.ScreenDetails.currentscreenchange_event + - api.ScreenDetails.screens + - api.ScreenDetails.screenschange_event + - api.Window.getScreenDetails + - http.headers.Permissions-Policy.window-management diff --git a/features/window-management.yml.dist b/features/window-management.yml.dist new file mode 100644 index 00000000000..9c78b636309 --- /dev/null +++ b/features/window-management.yml.dist @@ -0,0 +1,45 @@ +# Generated from: window-management.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: + chrome: "111" + edge: "111" +compat_features: + # baseline: false + # support: + # chrome: "100" + # chrome_android: "100" + # edge: "100" + - api.Screen.change_event + - api.Screen.isExtended + - api.Window.getScreenDetails + - http.headers.Permissions-Policy.window-management + + # baseline: false + # support: + # chrome: "100" + # edge: "100" + - api.Element.requestFullscreen.options_screen_parameter + - api.ScreenDetailed + - api.ScreenDetailed.availLeft + - api.ScreenDetailed.availTop + - api.ScreenDetailed.devicePixelRatio + - api.ScreenDetailed.isInternal + - api.ScreenDetailed.isPrimary + - api.ScreenDetailed.label + - api.ScreenDetailed.left + - api.ScreenDetailed.top + - api.ScreenDetails + - api.ScreenDetails.currentScreen + - api.ScreenDetails.currentscreenchange_event + - api.ScreenDetails.screens + - api.ScreenDetails.screenschange_event + + # ⬇️ Same status as overall feature ⬇️ + # baseline: false + # support: + # chrome: "111" + # edge: "111" + - api.Permissions.permission_window-management diff --git a/features/window.yml b/features/window.yml new file mode 100644 index 00000000000..1174fa6ba63 --- /dev/null +++ b/features/window.yml @@ -0,0 +1,26 @@ +name: Window +description: "The `window` global object represents a browser tab or iframe and its relationship to the document and other tabs. It's also a generic global object, under which many other APIs are located." +spec: https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-window-object +status: + compute_from: api.Window +compat_features: + - api.Window + - api.Window.DOMContentLoaded_event + - api.Window.blur_event + - api.Window.close + - api.Window.closed + - api.Window.error_event + - api.Window.focus + - api.Window.focus_event + - api.Window.frameElement + - api.Window.frames + - api.Window.length + - api.Window.load_event + - api.Window.name + - api.Window.open + - api.Window.opener + - api.Window.parent + - api.Window.self + - api.Window.stop + - api.Window.top + - api.Window.window diff --git a/features/window.yml.dist b/features/window.yml.dist new file mode 100644 index 00000000000..8fd0cc7924f --- /dev/null +++ b/features/window.yml.dist @@ -0,0 +1,129 @@ +# Generated from: window.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2015-07-29 + baseline_high_date: 2018-01-29 + support: + chrome: "1" + chrome_android: "18" + edge: "12" + firefox: "1" + firefox_android: "4" + safari: "1" + safari_ios: "1" +compat_features: + # ⬇️ Same status as overall feature ⬇️ + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "1" + # safari_ios: "1" + - api.Window + - api.Window.close + - api.Window.closed + - api.Window.focus + - api.Window.frames + - api.Window.length + - api.Window.name + - api.Window.opener + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "1.3" + # safari_ios: "1" + - api.Window.load_event + - api.Window.parent + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "3" + # safari_ios: "1" + - api.Window.frameElement + - api.Window.self + - api.Window.top + - api.Window.window + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "3.1" + # safari_ios: "2" + - api.Window.DOMContentLoaded_event + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "5" + # chrome_android: "18" + # edge: "12" + # firefox: "6" + # firefox_android: "6" + # safari: "5.1" + # safari_ios: "5" + - api.Window.blur_event + - api.Window.focus_event + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "10" + # chrome_android: "18" + # edge: "12" + # firefox: "6" + # firefox_android: "6" + # safari: "5.1" + # safari_ios: "5" + - api.Window.error_event + + # baseline: high + # baseline_low_date: 2016-08-02 + # baseline_high_date: 2019-02-02 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "14" + # firefox: "1" + # firefox_android: "4" + # safari: "3" + # safari_ios: "1" + - api.Window.stop + + # baseline: false + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "1" + - api.Window.open