From 402eb3ceddb9fdabd7bf961012170d4dff37be5e Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Wed, 4 Dec 2024 17:13:16 +0000 Subject: [PATCH 01/11] Move more keys from HTML spec to their home feature --- features/bfcache-blocking-reasons.yml | 2 ++ features/form.yml | 3 +++ features/history.yml | 4 ++++ features/localstorage.yml | 1 + features/view-transitions.yml | 7 +++++++ 5 files changed, 17 insertions(+) diff --git a/features/bfcache-blocking-reasons.yml b/features/bfcache-blocking-reasons.yml index 079e75034c6..310847e3408 100644 --- a/features/bfcache-blocking-reasons.yml +++ b/features/bfcache-blocking-reasons.yml @@ -5,6 +5,7 @@ group: performance compat_features: - api.PerformanceNavigationTiming.notRestoredReasons - api.NotRestoredReasonDetails + - api.NotRestoredReasonDetails.toJSON - api.NotRestoredReasonDetails.reason - api.NotRestoredReasons - api.NotRestoredReasons.children @@ -12,4 +13,5 @@ compat_features: - api.NotRestoredReasons.name - api.NotRestoredReasons.reasons - api.NotRestoredReasons.src + - api.NotRestoredReasons.toJSON - api.NotRestoredReasons.url diff --git a/features/form.yml b/features/form.yml index 9e1350f1760..6c27e4a487f 100644 --- a/features/form.yml +++ b/features/form.yml @@ -35,3 +35,6 @@ compat_features: - html.elements.form.novalidate - html.elements.form.rel - html.elements.form.target + - api.SubmitEvent + - api.SubmitEvent.SubmitEvent + - api.SubmitEvent.submitter diff --git a/features/history.yml b/features/history.yml index 567feeb65a0..dffe255a6ae 100644 --- a/features/history.yml +++ b/features/history.yml @@ -15,5 +15,9 @@ compat_features: - api.History.replaceState - api.History.scrollRestoration - api.History.state + - api.PopStateEvent + - api.PopStateEvent.PopStateEvent + - api.PopStateEvent.hasUAVisualTransition + - api.PopStateEvent.state - api.Window.history - api.Window.popstate_event diff --git a/features/localstorage.yml b/features/localstorage.yml index 7623000d320..e613ad0d8d4 100644 --- a/features/localstorage.yml +++ b/features/localstorage.yml @@ -15,6 +15,7 @@ compat_features: - api.Storage.removeItem - api.Storage.setItem - api.StorageEvent + - api.StorageEvent.StorageEvent - api.StorageEvent.key - api.StorageEvent.newValue - api.StorageEvent.oldValue diff --git a/features/view-transitions.yml b/features/view-transitions.yml index 4072c17a994..9649b97887e 100644 --- a/features/view-transitions.yml +++ b/features/view-transitions.yml @@ -5,6 +5,13 @@ caniuse: view-transitions group: view-transitions compat_features: - api.Document.startViewTransition + - api.PageRevealEvent + - api.PageRevealEvent.PageRevealEvent + - api.PageRevealEvent.viewTransition + - api.PageSwapEvent + - api.PageSwapEvent.PageSwapEvent + - api.PageSwapEvent.activation + - api.PageSwapEvent.viewTransition - api.ViewTransition - api.ViewTransition.finished - api.ViewTransition.ready From b2c99d93b911b8965fe538263d73d1fdd2b714f6 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Fri, 6 Dec 2024 16:06:43 +0000 Subject: [PATCH 02/11] Add more HTML spec keys --- features/bfcache-blocking-reasons.yml.dist | 2 ++ features/form.yml.dist | 27 ++++++++++++++++ features/history.yml.dist | 36 ++++++++++++++++++++++ features/localstorage.yml.dist | 13 ++++++++ features/view-transitions.yml.dist | 27 +++++++++++++--- 5 files changed, 101 insertions(+), 4 deletions(-) diff --git a/features/bfcache-blocking-reasons.yml.dist b/features/bfcache-blocking-reasons.yml.dist index 3456730082b..b2b23952abb 100644 --- a/features/bfcache-blocking-reasons.yml.dist +++ b/features/bfcache-blocking-reasons.yml.dist @@ -10,11 +10,13 @@ status: compat_features: - api.NotRestoredReasonDetails - api.NotRestoredReasonDetails.reason + - api.NotRestoredReasonDetails.toJSON - api.NotRestoredReasons - api.NotRestoredReasons.children - api.NotRestoredReasons.id - api.NotRestoredReasons.name - api.NotRestoredReasons.reasons - api.NotRestoredReasons.src + - api.NotRestoredReasons.toJSON - api.NotRestoredReasons.url - api.PerformanceNavigationTiming.notRestoredReasons diff --git a/features/form.yml.dist b/features/form.yml.dist index 0dd04ab1263..558fe6dd411 100644 --- a/features/form.yml.dist +++ b/features/form.yml.dist @@ -125,6 +125,33 @@ compat_features: # safari_ios: "15" - api.HTMLFormElement.formdata_event + # baseline: high + # baseline_low_date: 2021-09-20 + # baseline_high_date: 2024-03-20 + # support: + # chrome: "81" + # chrome_android: "81" + # edge: "81" + # firefox: "75" + # firefox_android: "79" + # safari: "15" + # safari_ios: "15" + - api.SubmitEvent + - api.SubmitEvent.SubmitEvent + + # baseline: high + # baseline_low_date: 2022-03-14 + # baseline_high_date: 2024-09-14 + # support: + # chrome: "81" + # chrome_android: "81" + # edge: "81" + # firefox: "75" + # firefox_android: "79" + # safari: "15.4" + # safari_ios: "15.4" + - api.SubmitEvent.submitter + # baseline: low # baseline_low_date: 2022-09-12 # support: diff --git a/features/history.yml.dist b/features/history.yml.dist index c9f5f5b1749..8ae6ed14d87 100644 --- a/features/history.yml.dist +++ b/features/history.yml.dist @@ -32,6 +32,20 @@ compat_features: - api.History.length - api.Window.history + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "4" + # chrome_android: "18" + # edge: "12" + # firefox: "4" + # firefox_android: "4" + # safari: "6" + # safari_ios: "6" + - api.PopStateEvent + - api.PopStateEvent.state + # ⬇️ Same status as overall feature ⬇️ # baseline: high # baseline_low_date: 2015-07-29 @@ -73,6 +87,19 @@ compat_features: # safari_ios: "6" - api.History.state + # baseline: high + # baseline_low_date: 2016-08-02 + # baseline_high_date: 2019-02-02 + # support: + # chrome: "16" + # chrome_android: "18" + # edge: "14" + # firefox: "11" + # firefox_android: "14" + # safari: "6" + # safari_ios: "6" + - api.PopStateEvent.PopStateEvent + # baseline: high # baseline_low_date: 2020-01-15 # baseline_high_date: 2022-07-15 @@ -85,3 +112,12 @@ compat_features: # safari: "11" # safari_ios: "11" - api.History.scrollRestoration + + # baseline: false + # support: + # chrome: "118" + # chrome_android: "118" + # edge: "118" + # safari: "18" + # safari_ios: "18" + - api.PopStateEvent.hasUAVisualTransition diff --git a/features/localstorage.yml.dist b/features/localstorage.yml.dist index c386d2c8795..d3fcf487a4e 100644 --- a/features/localstorage.yml.dist +++ b/features/localstorage.yml.dist @@ -114,3 +114,16 @@ compat_features: # safari: "4" # safari_ios: "4" - api.Window.storage_event + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "17" + # chrome_android: "18" + # edge: "17" + # firefox: "13" + # firefox_android: "14" + # safari: "6" + # safari_ios: "6" + - api.StorageEvent.StorageEvent diff --git a/features/view-transitions.yml.dist b/features/view-transitions.yml.dist index c1fa4797c48..e6f68b89a36 100644 --- a/features/view-transitions.yml.dist +++ b/features/view-transitions.yml.dist @@ -4,9 +4,9 @@ status: baseline: false support: - chrome: "124" - chrome_android: "124" - edge: "124" + chrome: "128" + chrome_android: "128" + edge: "128" compat_features: # baseline: false # support: @@ -42,12 +42,31 @@ compat_features: # chrome: "123" # chrome_android: "123" # edge: "123" + - api.PageRevealEvent - api.Window.pagereveal_event - # ⬇️ Same status as overall feature ⬇️ # baseline: false # support: # chrome: "124" # chrome_android: "124" # edge: "124" + - api.PageSwapEvent + - api.PageSwapEvent.activation - api.Window.pageswap_event + + # baseline: false + # support: + # chrome: "126" + # chrome_android: "126" + # edge: "126" + - api.PageRevealEvent.viewTransition + - api.PageSwapEvent.viewTransition + + # ⬇️ Same status as overall feature ⬇️ + # baseline: false + # support: + # chrome: "128" + # chrome_android: "128" + # edge: "128" + - api.PageRevealEvent.PageRevealEvent + - api.PageSwapEvent.PageSwapEvent From be52b097bac34bb98fcd94dbb1effd4fd9e5ccc2 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Fri, 6 Dec 2024 18:06:04 +0000 Subject: [PATCH 03/11] more --- features/beforeunload.yml | 1 + features/beforeunload.yml.dist | 18 +++++- features/canvas-2d.yml | 13 +++++ features/canvas-2d.yml.dist | 60 +++++++++++++++++++ features/channel-messaging.yml | 1 + features/channel-messaging.yml.dist | 16 +++++- features/dom.yml | 7 +++ features/dom.yml.dist | 48 ++++++++++++++++ features/offscreen-canvas.yml | 16 +++++- features/offscreen-canvas.yml.dist | 86 ++++++++++++++++++++++++++-- features/server-sent-events.yml | 2 + features/server-sent-events.yml.dist | 25 ++++++++ 12 files changed, 282 insertions(+), 11 deletions(-) diff --git a/features/beforeunload.yml b/features/beforeunload.yml index 97728f19df9..cafd468ec9b 100644 --- a/features/beforeunload.yml +++ b/features/beforeunload.yml @@ -4,6 +4,7 @@ spec: https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-beforeunl # The commented out keys below are deprecated. compat_features: - api.BeforeUnloadEvent + - api.BeforeUnloadEvent.user_interaction - api.Window.beforeunload_event #- api.Window.beforeunload_event.event_returnvalue_activation #- api.Window.beforeunload_event.generic_string_displayed diff --git a/features/beforeunload.yml.dist b/features/beforeunload.yml.dist index 2183431a6a1..40afffc6f20 100644 --- a/features/beforeunload.yml.dist +++ b/features/beforeunload.yml.dist @@ -7,8 +7,8 @@ status: chrome: "119" chrome_android: "119" edge: "119" - firefox: "6" - firefox_android: "6" + firefox: "44" + firefox_android: "44" safari: "11" compat_features: # baseline: high @@ -37,7 +37,19 @@ compat_features: # safari_ios: "7" - api.BeforeUnloadEvent - # ⬇️ Same status as overall feature ⬇️ + # baseline: high + # baseline_low_date: 2020-01-15 + # baseline_high_date: 2022-07-15 + # support: + # chrome: "60" + # chrome_android: "60" + # edge: "79" + # firefox: "44" + # firefox_android: "44" + # safari: "11" + # safari_ios: "11" + - api.BeforeUnloadEvent.user_interaction + # baseline: false # support: # chrome: "119" diff --git a/features/canvas-2d.yml b/features/canvas-2d.yml index 73b6c5500a7..de57883328e 100644 --- a/features/canvas-2d.yml +++ b/features/canvas-2d.yml @@ -93,6 +93,19 @@ compat_features: - api.ImageData.data - api.ImageData.height - api.ImageData.width + - api.Path2D + - api.Path2D.Path2D + - api.Path2D.addPath + - api.Path2D.arc + - api.Path2D.arcTo + - api.Path2D.bezierCurveTo + - api.Path2D.closePath + - api.Path2D.ellipse + - api.Path2D.lineTo + - api.Path2D.moveTo + - api.Path2D.quadraticCurveTo + - api.Path2D.rect + - api.Path2D.roundRect - api.TextMetrics - api.TextMetrics.alphabeticBaseline - api.TextMetrics.hangingBaseline diff --git a/features/canvas-2d.yml.dist b/features/canvas-2d.yml.dist index a4787bcd94b..f8021b7eee1 100644 --- a/features/canvas-2d.yml.dist +++ b/features/canvas-2d.yml.dist @@ -239,6 +239,41 @@ compat_features: - api.CanvasRenderingContext2D.isPointInPath.path_parameter - api.CanvasRenderingContext2D.stroke.path_parameter + # baseline: high + # baseline_low_date: 2016-08-02 + # baseline_high_date: 2019-02-02 + # support: + # chrome: "36" + # chrome_android: "36" + # edge: "14" + # firefox: "31" + # firefox_android: "31" + # safari: "8" + # safari_ios: "8" + - api.Path2D + - api.Path2D.Path2D + - api.Path2D.arc + - api.Path2D.arcTo + - api.Path2D.bezierCurveTo + - api.Path2D.closePath + - api.Path2D.lineTo + - api.Path2D.moveTo + - api.Path2D.quadraticCurveTo + - api.Path2D.rect + + # baseline: high + # baseline_low_date: 2016-08-02 + # baseline_high_date: 2019-02-02 + # support: + # chrome: "36" + # chrome_android: "36" + # edge: "14" + # firefox: "48" + # firefox_android: "48" + # safari: "9" + # safari_ios: "9" + - api.Path2D.ellipse + # baseline: high # baseline_low_date: 2016-08-02 # baseline_high_date: 2019-02-02 @@ -317,6 +352,19 @@ compat_features: # safari_ios: "11.3" - api.CanvasPattern.setTransform + # baseline: high + # baseline_low_date: 2020-01-15 + # baseline_high_date: 2022-07-15 + # support: + # chrome: "68" + # chrome_android: "68" + # edge: "79" + # firefox: "34" + # firefox_android: "34" + # safari: "9" + # safari_ios: "9" + - api.Path2D.addPath + # baseline: high # baseline_low_date: 2020-07-28 # baseline_high_date: 2023-01-28 @@ -370,6 +418,18 @@ compat_features: # safari_ios: "9" - api.CanvasRenderingContext2D.direction + # baseline: low + # baseline_low_date: 2023-04-11 + # support: + # chrome: "99" + # chrome_android: "99" + # edge: "99" + # firefox: "112" + # firefox_android: "112" + # safari: "16" + # safari_ios: "16" + - api.Path2D.roundRect + # baseline: low # baseline_low_date: 2023-08-29 # support: diff --git a/features/channel-messaging.yml b/features/channel-messaging.yml index 2ac05556b0b..f25111287dd 100644 --- a/features/channel-messaging.yml +++ b/features/channel-messaging.yml @@ -14,3 +14,4 @@ compat_features: - api.MessagePort.message_event - api.MessagePort.postMessage - api.MessagePort.start + - api.MessagePort.worker_support diff --git a/features/channel-messaging.yml.dist b/features/channel-messaging.yml.dist index 6d89e5eb9a4..df498a34bf3 100644 --- a/features/channel-messaging.yml.dist +++ b/features/channel-messaging.yml.dist @@ -12,7 +12,7 @@ status: firefox: "41" firefox_android: "41" safari: "5" - safari_ios: "4.2" + safari_ios: "5" compat_features: # baseline: high # baseline_low_date: 2015-07-29 @@ -47,3 +47,17 @@ compat_features: - api.MessagePort.message_event - api.MessagePort.postMessage - api.MessagePort.start + + # ⬇️ Same status as overall feature ⬇️ + # baseline: high + # baseline_low_date: 2015-09-22 + # baseline_high_date: 2018-03-22 + # support: + # chrome: "4" + # chrome_android: "18" + # edge: "12" + # firefox: "41" + # firefox_android: "41" + # safari: "5" + # safari_ios: "5" + - api.MessagePort.worker_support diff --git a/features/dom.yml b/features/dom.yml index e5b36782e95..4839cc46f0b 100644 --- a/features/dom.yml +++ b/features/dom.yml @@ -92,6 +92,7 @@ compat_features: - api.Document.createTreeWalker.whatToShow_filter_parameters_optional - api.Document.currentScript - api.Document.defaultView + - api.Document.designMode - api.Document.dir - api.Document.doctype - api.Document.documentElement @@ -122,7 +123,10 @@ compat_features: - api.Document.referrer - api.Document.replaceChildren - api.Document.scripts + - api.Document.scroll_event - api.Document.title + - api.Document.write + - api.Document.writeln - api.DocumentFragment - api.DocumentFragment.DocumentFragment - api.DocumentFragment.append @@ -148,6 +152,7 @@ compat_features: - api.Element.append - api.Element.attributes - api.Element.before + - api.Element.beforematch_event - api.Element.childElementCount - api.Element.children - api.Element.classList @@ -164,6 +169,7 @@ compat_features: - api.Element.getElementsByTagName.all_elements_selector - api.Element.getElementsByTagNameNS - api.Element.getElementsByTagNameNS.all_elements_selector + - api.Element.getHTML - api.Element.hasAttribute - api.Element.hasAttributeNS - api.Element.hasAttributes @@ -189,6 +195,7 @@ compat_features: - api.Element.removeAttributeNode - api.Element.replaceChildren - api.Element.replaceWith + - api.Element.scroll_event - api.Element.setAttribute - api.Element.setAttributeNS - api.Element.setAttributeNode diff --git a/features/dom.yml.dist b/features/dom.yml.dist index 89b250c0a16..c90059fdbfc 100644 --- a/features/dom.yml.dist +++ b/features/dom.yml.dist @@ -73,6 +73,7 @@ compat_features: - api.Document.links - api.Document.referrer - api.Document.title + - api.Document.write - api.Element - api.Element.attributes - api.Element.getAttribute @@ -152,6 +153,7 @@ compat_features: # firefox_android: "4" # safari: "1.2" # safari_ios: "1" + - api.Document.designMode - api.Node.childNodes # baseline: high @@ -360,6 +362,32 @@ compat_features: - api.TreeWalker.root - api.TreeWalker.whatToShow + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "6" + # firefox_android: "6" + # safari: "1.3" + # safari_ios: "1" + - api.Element.scroll_event + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "6" + # firefox_android: "6" + # safari: "2" + # safari_ios: "1" + - api.Document.scroll_event + # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 @@ -863,6 +891,7 @@ compat_features: # safari_ios: "11" - api.Document.close - api.Document.open + - api.Document.writeln # baseline: high # baseline_low_date: 2018-04-30 @@ -1187,6 +1216,18 @@ compat_features: # safari_ios: "1" - api.HTMLElement.outerText + # baseline: low + # baseline_low_date: 2024-09-16 + # support: + # chrome: "125" + # chrome_android: "125" + # edge: "125" + # firefox: "128" + # firefox_android: "128" + # safari: "18" + # safari_ios: "18" + - api.Element.getHTML + # baseline: false # support: # chrome: "56" @@ -1196,3 +1237,10 @@ compat_features: # firefox_android: "50" - api.Document.createElement.options_parameter - api.Document.createElementNS.options_parameter + + # baseline: false + # support: + # chrome: "102" + # chrome_android: "102" + # edge: "102" + - api.Element.beforematch_event diff --git a/features/offscreen-canvas.yml b/features/offscreen-canvas.yml index 526f480241a..b325de0f35f 100644 --- a/features/offscreen-canvas.yml +++ b/features/offscreen-canvas.yml @@ -3,16 +3,18 @@ description: The `OffscreenCanvas` API provides a canvas that can be drawn to of spec: https://html.spec.whatwg.org/multipage/canvas.html#the-offscreencanvas-interface group: canvas caniuse: offscreencanvas +status: + compute_from: api.OffscreenCanvas compat_features: - api.HTMLCanvasElement.transferControlToOffscreen - api.OffscreenCanvas - api.OffscreenCanvas.convertToBlob + - api.OffscreenCanvas.convertToBlob.option_type_parameter_webp - api.OffscreenCanvas.getContext - api.OffscreenCanvas.getContext.2d_context - api.OffscreenCanvas.getContext.bitmaprenderer_context - # TODO: later additions: - # - api.OffscreenCanvas.getContext.webgl2_context - # - api.OffscreenCanvas.getContext.webgl_context + - api.OffscreenCanvas.getContext.webgl2_context + - api.OffscreenCanvas.getContext.webgl_context - api.OffscreenCanvas.height - api.OffscreenCanvas.OffscreenCanvas - api.OffscreenCanvas.transferToImageBitmap @@ -41,6 +43,10 @@ compat_features: - api.OffscreenCanvasRenderingContext2D.fillRect - api.OffscreenCanvasRenderingContext2D.fillStyle - api.OffscreenCanvasRenderingContext2D.fillText + - api.OffscreenCanvasRenderingContext2D.filter + - api.OffscreenCanvasRenderingContext2D.fontKerning + - api.OffscreenCanvasRenderingContext2D.fontStretch + - api.OffscreenCanvasRenderingContext2D.fontVariantCaps - api.OffscreenCanvasRenderingContext2D.font - api.OffscreenCanvasRenderingContext2D.getImageData - api.OffscreenCanvasRenderingContext2D.getLineDash @@ -48,8 +54,10 @@ compat_features: - api.OffscreenCanvasRenderingContext2D.globalAlpha - api.OffscreenCanvasRenderingContext2D.globalCompositeOperation - api.OffscreenCanvasRenderingContext2D.imageSmoothingEnabled + - api.OffscreenCanvasRenderingContext2D.imageSmoothingQuality - api.OffscreenCanvasRenderingContext2D.isPointInPath - api.OffscreenCanvasRenderingContext2D.isPointInStroke + - api.OffscreenCanvasRenderingContext2D.letterSpacing - api.OffscreenCanvasRenderingContext2D.lineCap - api.OffscreenCanvasRenderingContext2D.lineDashOffset - api.OffscreenCanvasRenderingContext2D.lineJoin @@ -78,5 +86,7 @@ compat_features: - api.OffscreenCanvasRenderingContext2D.strokeText - api.OffscreenCanvasRenderingContext2D.textAlign - api.OffscreenCanvasRenderingContext2D.textBaseline + - api.OffscreenCanvasRenderingContext2D.textRendering - api.OffscreenCanvasRenderingContext2D.transform - api.OffscreenCanvasRenderingContext2D.translate + - api.OffscreenCanvasRenderingContext2D.wordSpacing diff --git a/features/offscreen-canvas.yml.dist b/features/offscreen-canvas.yml.dist index b2a4bdbf4e2..5ddfac8e29b 100644 --- a/features/offscreen-canvas.yml.dist +++ b/features/offscreen-canvas.yml.dist @@ -5,14 +5,15 @@ status: baseline: low baseline_low_date: 2023-03-27 support: - chrome: "80" - chrome_android: "80" - edge: "80" + chrome: "69" + chrome_android: "69" + edge: "79" firefox: "105" firefox_android: "105" safari: "16.4" safari_ios: "16.4" compat_features: + # ⬇️ Same status as overall feature ⬇️ # baseline: low # baseline_low_date: 2023-03-27 # support: @@ -103,7 +104,6 @@ compat_features: # safari_ios: "16.4" - api.OffscreenCanvas.getContext.bitmaprenderer_context - # ⬇️ Same status as overall feature ⬇️ # baseline: low # baseline_low_date: 2023-03-27 # support: @@ -115,3 +115,81 @@ compat_features: # safari: "16.4" # safari_ios: "16.4" - api.OffscreenCanvasRenderingContext2D.getTransform + + # baseline: low + # baseline_low_date: 2023-09-18 + # support: + # chrome: "69" + # chrome_android: "69" + # edge: "79" + # firefox: "105" + # firefox_android: "105" + # safari: "17" + # safari_ios: "17" + - api.OffscreenCanvas.getContext.webgl2_context + - api.OffscreenCanvas.getContext.webgl_context + + # baseline: false + # support: + # chrome: "69" + # chrome_android: "69" + # edge: "79" + # safari: "16.4" + # safari_ios: "16.4" + - api.OffscreenCanvasRenderingContext2D.imageSmoothingQuality + + # baseline: false + # support: + # chrome: "69" + # chrome_android: "69" + # edge: "79" + # firefox: "105" + # firefox_android: "105" + - api.OffscreenCanvas.convertToBlob.option_type_parameter_webp + + # baseline: false + # support: + # chrome: "69" + # chrome_android: "69" + # edge: "79" + # firefox: "116" + # firefox_android: "116" + - api.OffscreenCanvasRenderingContext2D.filter + + # baseline: false + # support: + # chrome: "99" + # chrome_android: "99" + # edge: "99" + # firefox: "105" + # firefox_android: "105" + - api.OffscreenCanvasRenderingContext2D.fontKerning + + # baseline: false + # support: + # chrome: "99" + # chrome_android: "99" + # edge: "99" + # firefox: "115" + # firefox_android: "115" + - api.OffscreenCanvasRenderingContext2D.letterSpacing + - api.OffscreenCanvasRenderingContext2D.wordSpacing + + # baseline: false + # support: + # chrome: "99" + # chrome_android: "99" + # edge: "99" + # firefox: "116" + # firefox_android: "116" + - api.OffscreenCanvasRenderingContext2D.textRendering + + # baseline: false + # support: + # chrome: "99" + # chrome_android: "99" + # edge: "99" + # firefox: "117" + # firefox_android: "117" + - api.OffscreenCanvasRenderingContext2D.fontStretch + - api.OffscreenCanvasRenderingContext2D.fontVariantCaps diff --git a/features/server-sent-events.yml b/features/server-sent-events.yml index a437d61f447..58a54ac338f 100644 --- a/features/server-sent-events.yml +++ b/features/server-sent-events.yml @@ -8,6 +8,7 @@ status: compat_features: - api.EventSource - api.EventSource.EventSource + - api.EventSource.EventSource.options_withCredentials_parameter - api.EventSource.close - api.EventSource.error_event - api.EventSource.message_event @@ -15,3 +16,4 @@ compat_features: - api.EventSource.readyState - api.EventSource.url - api.EventSource.withCredentials + - api.EventSource.worker_support diff --git a/features/server-sent-events.yml.dist b/features/server-sent-events.yml.dist index 5e4d6af80ec..567890a6254 100644 --- a/features/server-sent-events.yml.dist +++ b/features/server-sent-events.yml.dist @@ -59,3 +59,28 @@ compat_features: # safari: "7" # safari_ios: "7" - api.EventSource.withCredentials + + # baseline: high + # baseline_low_date: 2020-01-15 + # baseline_high_date: 2022-07-15 + # support: + # chrome: "26" + # chrome_android: "26" + # edge: "79" + # firefox: "11" + # firefox_android: "45" + # safari: "7" + # safari_ios: "7" + - api.EventSource.EventSource.options_withCredentials_parameter + + # baseline: low + # baseline_low_date: 2024-11-26 + # support: + # chrome: "6" + # chrome_android: "18" + # edge: "79" + # firefox: "133" + # firefox_android: "133" + # safari: "5" + # safari_ios: "5" + - api.EventSource.worker_support From a31fd09ba272eb82a1819dc3d2446a2062779698 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Sat, 7 Dec 2024 11:29:28 +0100 Subject: [PATCH 04/11] add more TextMetrics keys to Canvas2D --- features/canvas-2d.yml | 8 ++++++++ features/canvas-2d.yml.dist | 38 +++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/features/canvas-2d.yml b/features/canvas-2d.yml index de57883328e..e05349b0979 100644 --- a/features/canvas-2d.yml +++ b/features/canvas-2d.yml @@ -107,7 +107,15 @@ compat_features: - api.Path2D.rect - api.Path2D.roundRect - api.TextMetrics + - api.TextMetrics.actualBoundingBoxAscent + - api.TextMetrics.actualBoundingBoxDescent + - api.TextMetrics.actualBoundingBoxLeft + - api.TextMetrics.actualBoundingBoxRight - api.TextMetrics.alphabeticBaseline + - api.TextMetrics.emHeightAscent + - api.TextMetrics.emHeightDescent + - api.TextMetrics.fontBoundingBoxAscent + - api.TextMetrics.fontBoundingBoxDescent - api.TextMetrics.hangingBaseline - api.TextMetrics.ideographicBaseline - api.TextMetrics.width diff --git a/features/canvas-2d.yml.dist b/features/canvas-2d.yml.dist index f8021b7eee1..dae0dcb741c 100644 --- a/features/canvas-2d.yml.dist +++ b/features/canvas-2d.yml.dist @@ -392,6 +392,22 @@ compat_features: # safari_ios: "11.3" - api.CanvasPattern.setTransform.dommatrix + # baseline: high + # baseline_low_date: 2020-07-28 + # baseline_high_date: 2023-01-28 + # support: + # chrome: "77" + # chrome_android: "77" + # edge: "79" + # firefox: "74" + # firefox_android: "79" + # safari: "11.1" + # safari_ios: "11.3" + - api.TextMetrics.actualBoundingBoxAscent + - api.TextMetrics.actualBoundingBoxDescent + - api.TextMetrics.actualBoundingBoxLeft + - api.TextMetrics.actualBoundingBoxRight + # baseline: high # baseline_low_date: 2021-09-20 # baseline_high_date: 2024-03-20 @@ -430,6 +446,19 @@ compat_features: # safari_ios: "16" - api.Path2D.roundRect + # baseline: low + # baseline_low_date: 2023-08-01 + # support: + # chrome: "87" + # chrome_android: "87" + # edge: "87" + # firefox: "116" + # firefox_android: "116" + # safari: "11.1" + # safari_ios: "11.3" + - api.TextMetrics.fontBoundingBoxAscent + - api.TextMetrics.fontBoundingBoxDescent + # baseline: low # baseline_low_date: 2023-08-29 # support: @@ -529,3 +558,12 @@ compat_features: # firefox_android: "117" - api.CanvasRenderingContext2D.fontStretch - api.CanvasRenderingContext2D.fontVariantCaps + + # baseline: false + # support: + # firefox: "118" + # firefox_android: "118" + # safari: "11.1" + # safari_ios: "11.3" + - api.TextMetrics.emHeightAscent + - api.TextMetrics.emHeightDescent From 5a446d556e9437c0960926a038348e6e450f3dd6 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Fri, 13 Dec 2024 16:30:18 +0100 Subject: [PATCH 05/11] move getHTML to a feature --- features/dom.yml | 1 - features/dom.yml.dist | 12 ------------ features/gethtml.yml | 5 +++++ features/gethtml.yml.dist | 16 ++++++++++++++++ 4 files changed, 21 insertions(+), 13 deletions(-) create mode 100644 features/gethtml.yml create mode 100644 features/gethtml.yml.dist diff --git a/features/dom.yml b/features/dom.yml index 4839cc46f0b..2d67fa9d2ce 100644 --- a/features/dom.yml +++ b/features/dom.yml @@ -169,7 +169,6 @@ compat_features: - api.Element.getElementsByTagName.all_elements_selector - api.Element.getElementsByTagNameNS - api.Element.getElementsByTagNameNS.all_elements_selector - - api.Element.getHTML - api.Element.hasAttribute - api.Element.hasAttributeNS - api.Element.hasAttributes diff --git a/features/dom.yml.dist b/features/dom.yml.dist index c90059fdbfc..6d1b1a9efa3 100644 --- a/features/dom.yml.dist +++ b/features/dom.yml.dist @@ -1216,18 +1216,6 @@ compat_features: # safari_ios: "1" - api.HTMLElement.outerText - # baseline: low - # baseline_low_date: 2024-09-16 - # support: - # chrome: "125" - # chrome_android: "125" - # edge: "125" - # firefox: "128" - # firefox_android: "128" - # safari: "18" - # safari_ios: "18" - - api.Element.getHTML - # baseline: false # support: # chrome: "56" diff --git a/features/gethtml.yml b/features/gethtml.yml new file mode 100644 index 00000000000..e998a64cb03 --- /dev/null +++ b/features/gethtml.yml @@ -0,0 +1,5 @@ +name: getHTML +description: The `getHTML()` method serializes an element's DOM to an HTML string. +spec: https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#html-serialization-methods +compat_features: + - api.Element.getHTML diff --git a/features/gethtml.yml.dist b/features/gethtml.yml.dist new file mode 100644 index 00000000000..469ec4bfb3d --- /dev/null +++ b/features/gethtml.yml.dist @@ -0,0 +1,16 @@ +# Generated from: gethtml.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: low + baseline_low_date: 2024-09-16 + support: + chrome: "125" + chrome_android: "125" + edge: "125" + firefox: "128" + firefox_android: "128" + safari: "18" + safari_ios: "18" +compat_features: + - api.Element.getHTML From bbb2622608b01fa72edcc706cb488560b0e55542 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Fri, 13 Dec 2024 19:13:45 +0100 Subject: [PATCH 06/11] fix review comments --- features/view-transitions.yml | 2 ++ features/view-transitions.yml.dist | 10 ++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/features/view-transitions.yml b/features/view-transitions.yml index 9649b97887e..df6ab368758 100644 --- a/features/view-transitions.yml +++ b/features/view-transitions.yml @@ -3,6 +3,8 @@ description: View transitions allow you to create animated visual transitions be spec: https://drafts.csswg.org/css-view-transitions-1/ caniuse: view-transitions group: view-transitions +status: + compute_from: api.ViewTransition compat_features: - api.Document.startViewTransition - api.PageRevealEvent diff --git a/features/view-transitions.yml.dist b/features/view-transitions.yml.dist index e6f68b89a36..7583ad7f674 100644 --- a/features/view-transitions.yml.dist +++ b/features/view-transitions.yml.dist @@ -4,9 +4,11 @@ status: baseline: false support: - chrome: "128" - chrome_android: "128" - edge: "128" + chrome: "111" + chrome_android: "111" + edge: "111" + safari: "18" + safari_ios: "18" compat_features: # baseline: false # support: @@ -21,6 +23,7 @@ compat_features: - css.selectors.view-transition-new - css.selectors.view-transition-old + # ⬇️ Same status as overall feature ⬇️ # baseline: false # support: # chrome: "111" @@ -62,7 +65,6 @@ compat_features: - api.PageRevealEvent.viewTransition - api.PageSwapEvent.viewTransition - # ⬇️ Same status as overall feature ⬇️ # baseline: false # support: # chrome: "128" From 2842b7bb768a3eb736d0b2b5c130628b936c084d Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Fri, 13 Dec 2024 19:17:51 +0100 Subject: [PATCH 07/11] beforeunload fix --- features/beforeunload.yml | 2 ++ features/beforeunload.yml.dist | 18 +++++++++++------- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/features/beforeunload.yml b/features/beforeunload.yml index cafd468ec9b..8750b424774 100644 --- a/features/beforeunload.yml +++ b/features/beforeunload.yml @@ -1,6 +1,8 @@ name: Beforeunload description: "The `beforeunload` event is fired when the current window is about to be unloaded. Typically this is used to display a dialog to confirm if users really want to leave the page when there is unsaved data that would be lost." spec: https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-beforeunloadevent-interface +status: + compute_from: api.Window.beforeunload_event # The commented out keys below are deprecated. compat_features: - api.BeforeUnloadEvent diff --git a/features/beforeunload.yml.dist b/features/beforeunload.yml.dist index 40afffc6f20..a4c6df57cf2 100644 --- a/features/beforeunload.yml.dist +++ b/features/beforeunload.yml.dist @@ -2,15 +2,19 @@ # Do not edit this file by hand. Edit the source file instead! status: - baseline: false + baseline: high + baseline_low_date: 2015-07-29 + baseline_high_date: 2018-01-29 support: - chrome: "119" - chrome_android: "119" - edge: "119" - firefox: "44" - firefox_android: "44" - safari: "11" + chrome: "1" + chrome_android: "18" + edge: "12" + firefox: "1" + firefox_android: "4" + safari: "3" + safari_ios: "1" compat_features: + # ⬇️ Same status as overall feature ⬇️ # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 From ab50ecc6f12c2d33eb3aaf045670670e33e89ce1 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Thu, 19 Dec 2024 15:01:58 +0100 Subject: [PATCH 08/11] merge --- features/dom.yml | 2 -- features/dom.yml.dist | 26 -------------------------- 2 files changed, 28 deletions(-) diff --git a/features/dom.yml b/features/dom.yml index 4faa681b914..f1a80354599 100644 --- a/features/dom.yml +++ b/features/dom.yml @@ -123,7 +123,6 @@ compat_features: - api.Document.referrer - api.Document.replaceChildren - api.Document.scripts - - api.Document.scroll_event - api.Document.title - api.Document.write - api.Document.writeln @@ -201,7 +200,6 @@ compat_features: - api.Element.removeAttributeNode - api.Element.replaceChildren - api.Element.replaceWith - - api.Element.scroll_event - api.Element.setAttribute - api.Element.setAttributeNS - api.Element.setAttributeNode diff --git a/features/dom.yml.dist b/features/dom.yml.dist index 8239ae49415..7c16ae9904a 100644 --- a/features/dom.yml.dist +++ b/features/dom.yml.dist @@ -383,32 +383,6 @@ compat_features: - api.TreeWalker.root - api.TreeWalker.whatToShow - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # firefox: "6" - # firefox_android: "6" - # safari: "1.3" - # safari_ios: "1" - - api.Element.scroll_event - - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # firefox: "6" - # firefox_android: "6" - # safari: "2" - # safari_ios: "1" - - api.Document.scroll_event - # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 From 59732dc7c298f8b80520837bbf321bf610e9e9c0 Mon Sep 17 00:00:00 2001 From: Dietrich Ayala <50103+autonome@users.noreply.github.com> Date: Fri, 20 Dec 2024 00:08:25 +0700 Subject: [PATCH 09/11] Update features/gethtml.yml Co-authored-by: Daniel D. Beck --- features/gethtml.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/features/gethtml.yml b/features/gethtml.yml index e998a64cb03..d62cb00eefe 100644 --- a/features/gethtml.yml +++ b/features/gethtml.yml @@ -1,5 +1,6 @@ name: getHTML -description: The `getHTML()` method serializes an element's DOM to an HTML string. +description: The `getHTML()` method of `Element` and `ShadowRoot` objects serializes an element's DOM to an HTML string. spec: https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#html-serialization-methods compat_features: - api.Element.getHTML + - api.ShadowRoot.getHTML From e7380bbff22997d9c9a2a6244ec632d7382cad63 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Thu, 19 Dec 2024 18:12:05 +0100 Subject: [PATCH 10/11] fixes, regen --- features/dom.yml | 1 - features/dom.yml.dist | 1 - features/gethtml.yml.dist | 1 + 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/features/dom.yml b/features/dom.yml index f1a80354599..e30dd887bdf 100644 --- a/features/dom.yml +++ b/features/dom.yml @@ -124,7 +124,6 @@ compat_features: - api.Document.replaceChildren - api.Document.scripts - api.Document.title - - api.Document.write - api.Document.writeln - api.DocumentFragment - api.DocumentFragment.DocumentFragment diff --git a/features/dom.yml.dist b/features/dom.yml.dist index 7c16ae9904a..d83d8d5a78f 100644 --- a/features/dom.yml.dist +++ b/features/dom.yml.dist @@ -73,7 +73,6 @@ compat_features: - api.Document.links - api.Document.referrer - api.Document.title - - api.Document.write - api.Element - api.Element.attributes - api.Element.getAttribute diff --git a/features/gethtml.yml.dist b/features/gethtml.yml.dist index 469ec4bfb3d..69937843527 100644 --- a/features/gethtml.yml.dist +++ b/features/gethtml.yml.dist @@ -14,3 +14,4 @@ status: safari_ios: "18" compat_features: - api.Element.getHTML + - api.ShadowRoot.getHTML From 1c5a7bdea81b5410a1bff1317f77e925182732f1 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Fri, 20 Dec 2024 14:00:07 +0100 Subject: [PATCH 11/11] move beforematch --- features/dom.yml | 1 - features/dom.yml.dist | 7 ------- features/hidden-until-found.yml | 3 +++ features/hidden-until-found.yml.dist | 1 + 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/features/dom.yml b/features/dom.yml index e30dd887bdf..b1b43bedefa 100644 --- a/features/dom.yml +++ b/features/dom.yml @@ -150,7 +150,6 @@ compat_features: - api.Element.append - api.Element.attributes - api.Element.before - - api.Element.beforematch_event - api.Element.childElementCount - api.Element.children - api.Element.classList diff --git a/features/dom.yml.dist b/features/dom.yml.dist index d83d8d5a78f..864015a9561 100644 --- a/features/dom.yml.dist +++ b/features/dom.yml.dist @@ -1230,10 +1230,3 @@ compat_features: # firefox: "126" # firefox_android: "126" - api.Element.currentCSSZoom - - # baseline: false - # support: - # chrome: "102" - # chrome_android: "102" - # edge: "102" - - api.Element.beforematch_event diff --git a/features/hidden-until-found.yml b/features/hidden-until-found.yml index 5eeafd8ecdc..bfe04290cc7 100644 --- a/features/hidden-until-found.yml +++ b/features/hidden-until-found.yml @@ -2,3 +2,6 @@ name: hidden="until-found" description: 'The `hidden="until-found"` attribute hides an element until it is found using the browser''s find-in-page search or it is directly navigated to by following a URL fragment.' spec: https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden-until-found group: html +compat_features: + - api.Element.beforematch_event + - html.global_attributes.hidden.until-found_value diff --git a/features/hidden-until-found.yml.dist b/features/hidden-until-found.yml.dist index c36e048735c..e205be5c67d 100644 --- a/features/hidden-until-found.yml.dist +++ b/features/hidden-until-found.yml.dist @@ -8,4 +8,5 @@ status: chrome_android: "102" edge: "102" compat_features: + - api.Element.beforematch_event - html.global_attributes.hidden.until-found_value