From df412c54c2afd1e1ca4bdf0dc43f14346c177cdc Mon Sep 17 00:00:00 2001 From: Victor W Allen Date: Fri, 11 Oct 2024 11:18:12 -0700 Subject: [PATCH 1/7] Adds display contents feature --- features/display-contents.yml | 8 +++++++ features/display-contents.yml.dist | 34 ++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 features/display-contents.yml create mode 100644 features/display-contents.yml.dist diff --git a/features/display-contents.yml b/features/display-contents.yml new file mode 100644 index 00000000000..3546ae16583 --- /dev/null +++ b/features/display-contents.yml @@ -0,0 +1,8 @@ +name: "display: contents" +description: "The `display: contents` CSS declaration sets an element to display only its contents, not itself. The element does not generate a display box." +spec: https://drafts.csswg.org/css-display-3/#box-generation +caniuse: css-display-contents +group: css +compat_features: + - css.properties.display.contents + - css.properties.display.contents.contents_unusual diff --git a/features/display-contents.yml.dist b/features/display-contents.yml.dist new file mode 100644 index 00000000000..5b159b4f44e --- /dev/null +++ b/features/display-contents.yml.dist @@ -0,0 +1,34 @@ +# Generated from: display-contents.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: + chrome: "65" + chrome_android: "65" + edge: "79" + firefox: "59" + firefox_android: "59" +compat_features: + # baseline: high + # baseline_low_date: 2020-01-15 + # baseline_high_date: 2022-07-15 + # support: + # chrome: "65" + # chrome_android: "65" + # edge: "79" + # firefox: "37" + # firefox_android: "37" + # safari: "11.1" + # safari_ios: "11.3" + - css.properties.display.contents + + # ⬇️ Same status as overall feature ⬇️ + # baseline: false + # support: + # chrome: "65" + # chrome_android: "65" + # edge: "79" + # firefox: "59" + # firefox_android: "59" + - css.properties.display.contents.contents_unusual From 067b90b5301d622beae2168418c6c3843839280f Mon Sep 17 00:00:00 2001 From: Victor W Allen Date: Mon, 14 Oct 2024 10:54:52 -0700 Subject: [PATCH 2/7] Updates description, disables caniuse --- features/display-contents.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/display-contents.yml b/features/display-contents.yml index 3546ae16583..852f40f09c9 100644 --- a/features/display-contents.yml +++ b/features/display-contents.yml @@ -1,7 +1,7 @@ name: "display: contents" -description: "The `display: contents` CSS declaration sets an element to display only its contents, not itself. The element does not generate a display box." +description: "The `display: contents` CSS declaration sets an element to display only its contents, not itself. The element does not generate a display box and may lose semantic or accesibility features." spec: https://drafts.csswg.org/css-display-3/#box-generation -caniuse: css-display-contents +# caniuse: css-display-contents group: css compat_features: - css.properties.display.contents From 04125c8fc0a74582973c3b50c6e0fe33742b10d8 Mon Sep 17 00:00:00 2001 From: Victor Allen Date: Tue, 15 Oct 2024 06:30:27 -0700 Subject: [PATCH 3/7] Fixes spelling error Co-authored-by: Patrick Brosset --- features/display-contents.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/display-contents.yml b/features/display-contents.yml index 852f40f09c9..f3fea946f9f 100644 --- a/features/display-contents.yml +++ b/features/display-contents.yml @@ -1,5 +1,5 @@ name: "display: contents" -description: "The `display: contents` CSS declaration sets an element to display only its contents, not itself. The element does not generate a display box and may lose semantic or accesibility features." +description: "The `display: contents` CSS declaration sets an element to display only its contents, not itself. The element does not generate a display box and may lose semantic or accessibility features." spec: https://drafts.csswg.org/css-display-3/#box-generation # caniuse: css-display-contents group: css From 44ce5add9ab55a8add9fc11f0c9aaf6ee180067c Mon Sep 17 00:00:00 2001 From: Victor W Allen Date: Tue, 15 Oct 2024 08:58:21 -0700 Subject: [PATCH 4/7] Updates status compute target --- features/display-contents.yml | 2 ++ features/display-contents.yml.dist | 12 ++++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/features/display-contents.yml b/features/display-contents.yml index f3fea946f9f..a7bee9cd775 100644 --- a/features/display-contents.yml +++ b/features/display-contents.yml @@ -3,6 +3,8 @@ description: "The `display: contents` CSS declaration sets an element to display spec: https://drafts.csswg.org/css-display-3/#box-generation # caniuse: css-display-contents group: css +status: + compute_from: css.properties.display.contents compat_features: - css.properties.display.contents - css.properties.display.contents.contents_unusual diff --git a/features/display-contents.yml.dist b/features/display-contents.yml.dist index 5b159b4f44e..29c9f62953e 100644 --- a/features/display-contents.yml.dist +++ b/features/display-contents.yml.dist @@ -2,14 +2,19 @@ # Do not edit this file by hand. Edit the source file instead! status: - baseline: false + baseline: high + baseline_low_date: 2020-01-15 + baseline_high_date: 2022-07-15 support: chrome: "65" chrome_android: "65" edge: "79" - firefox: "59" - firefox_android: "59" + firefox: "37" + firefox_android: "37" + safari: "11.1" + safari_ios: "11.3" compat_features: + # ⬇️ Same status as overall feature ⬇️ # baseline: high # baseline_low_date: 2020-01-15 # baseline_high_date: 2022-07-15 @@ -23,7 +28,6 @@ compat_features: # safari_ios: "11.3" - css.properties.display.contents - # ⬇️ Same status as overall feature ⬇️ # baseline: false # support: # chrome: "65" From e1bd59daa7f9ea8ce54caa31b01915387bfc50a7 Mon Sep 17 00:00:00 2001 From: Victor Allen Date: Mon, 28 Oct 2024 08:26:20 -0700 Subject: [PATCH 5/7] Apply key changes for accessibility Co-authored-by: Daniel D. Beck --- features/display-contents.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/features/display-contents.yml b/features/display-contents.yml index a7bee9cd775..4eff3fe7277 100644 --- a/features/display-contents.yml +++ b/features/display-contents.yml @@ -1,10 +1,9 @@ name: "display: contents" -description: "The `display: contents` CSS declaration sets an element to display only its contents, not itself. The element does not generate a display box and may lose semantic or accessibility features." +description: "The `display: contents` CSS declaration sets an element to display only its contents, not itself." spec: https://drafts.csswg.org/css-display-3/#box-generation # caniuse: css-display-contents group: css -status: - compute_from: css.properties.display.contents compat_features: - css.properties.display.contents - css.properties.display.contents.contents_unusual + - css.properties.display.contents.focusable_elements From 6161a17aa14626724d8da2dcec9e4fa8a38a1935 Mon Sep 17 00:00:00 2001 From: Victor W Allen Date: Thu, 31 Oct 2024 10:43:12 -0700 Subject: [PATCH 6/7] Adds caniuse key --- features/display-contents.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/display-contents.yml b/features/display-contents.yml index 4eff3fe7277..73b55a2fed8 100644 --- a/features/display-contents.yml +++ b/features/display-contents.yml @@ -1,7 +1,7 @@ name: "display: contents" description: "The `display: contents` CSS declaration sets an element to display only its contents, not itself." spec: https://drafts.csswg.org/css-display-3/#box-generation -# caniuse: css-display-contents +caniuse: css-display-contents group: css compat_features: - css.properties.display.contents From 3bda75ea5e6137c41e6b42a25f23ebd53c4e3665 Mon Sep 17 00:00:00 2001 From: Victor W Allen Date: Thu, 31 Oct 2024 10:50:15 -0700 Subject: [PATCH 7/7] Updates dist --- features/display-contents.yml.dist | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/features/display-contents.yml.dist b/features/display-contents.yml.dist index 29c9f62953e..eb7128eb9a9 100644 --- a/features/display-contents.yml.dist +++ b/features/display-contents.yml.dist @@ -2,19 +2,9 @@ # Do not edit this file by hand. Edit the source file instead! status: - baseline: high - baseline_low_date: 2020-01-15 - baseline_high_date: 2022-07-15 - support: - chrome: "65" - chrome_android: "65" - edge: "79" - firefox: "37" - firefox_android: "37" - safari: "11.1" - safari_ios: "11.3" + baseline: false + support: {} compat_features: - # ⬇️ Same status as overall feature ⬇️ # baseline: high # baseline_low_date: 2020-01-15 # baseline_high_date: 2022-07-15 @@ -36,3 +26,8 @@ compat_features: # firefox: "59" # firefox_android: "59" - css.properties.display.contents.contents_unusual + + # ⬇️ Same status as overall feature ⬇️ + # baseline: false + # support: {} + - css.properties.display.contents.focusable_elements