From 65b767e9e4b8f8a9f5fbcfb20649787ee3b54829 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Tue, 8 Apr 2025 14:37:21 +0200 Subject: [PATCH 1/3] Mark the inert attribute as Baseline low The only reason it was not Baseline is because of the "Element is ignored for the purposes of find-in-page" subfeatures in BCD, tracked by https://webkit.org/b/269909. That find-in-page still works isn't a serious enough problem to say that this isn't supported in Safari. --- features/inert.yml | 2 ++ features/inert.yml.dist | 17 ++++++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/features/inert.yml b/features/inert.yml index 9b4a8a07876..0318d7d2917 100644 --- a/features/inert.yml +++ b/features/inert.yml @@ -2,3 +2,5 @@ name: inert description: The `inert` HTML attribute marks an element and its descendants as non-interactive. Inert elements don't get focus or fire `click` events. spec: https://html.spec.whatwg.org/multipage/interaction.html#inert-subtrees group: html +status: + compute_from: html.global_attributes.inert diff --git a/features/inert.yml.dist b/features/inert.yml.dist index ef896083d61..889b229161a 100644 --- a/features/inert.yml.dist +++ b/features/inert.yml.dist @@ -2,14 +2,18 @@ # Do not edit this file by hand. Edit the source file instead! status: - baseline: false + baseline: low + baseline_low_date: 2023-04-11 support: - chrome: "124" - chrome_android: "124" - edge: "124" - firefox: "120" - firefox_android: "120" + chrome: "102" + chrome_android: "102" + edge: "102" + firefox: "112" + firefox_android: "112" + safari: "15.5" + safari_ios: "15.5" compat_features: + # ⬇️ Same status as overall feature ⬇️ # baseline: low # baseline_low_date: 2023-04-11 # support: @@ -23,7 +27,6 @@ compat_features: - api.HTMLElement.inert - html.global_attributes.inert - # ⬇️ Same status as overall feature ⬇️ # baseline: false # support: # chrome: "124" From 0f1772798796ca6f3258966f69f07a5b7c2f6bfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Fri, 11 Apr 2025 11:22:11 +0200 Subject: [PATCH 2/3] Update inert.yml --- features/inert.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/features/inert.yml b/features/inert.yml index 0318d7d2917..93391919e72 100644 --- a/features/inert.yml +++ b/features/inert.yml @@ -2,5 +2,7 @@ name: inert description: The `inert` HTML attribute marks an element and its descendants as non-interactive. Inert elements don't get focus or fire `click` events. spec: https://html.spec.whatwg.org/multipage/interaction.html#inert-subtrees group: html +# Status is overridden to avoid Safari partial implementation in BCD due to +# https://webkit.org/b/269909 causing the feature to be not Baseline. status: compute_from: html.global_attributes.inert From 4cd28107662b7c4531579822975e330277a204fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Fri, 11 Apr 2025 11:23:46 +0200 Subject: [PATCH 3/3] Update inert.yml --- features/inert.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/inert.yml b/features/inert.yml index 93391919e72..1d2ed65148f 100644 --- a/features/inert.yml +++ b/features/inert.yml @@ -2,7 +2,7 @@ name: inert description: The `inert` HTML attribute marks an element and its descendants as non-interactive. Inert elements don't get focus or fire `click` events. spec: https://html.spec.whatwg.org/multipage/interaction.html#inert-subtrees group: html -# Status is overridden to avoid Safari partial implementation in BCD due to +# Status is overridden to avoid the ignores_find_in_page subfeatures and # https://webkit.org/b/269909 causing the feature to be not Baseline. status: compute_from: html.global_attributes.inert