From bf18823da6ad979a8405f2bea399de95e4ae3fb7 Mon Sep 17 00:00:00 2001 From: James Stuckey Weber Date: Tue, 29 Oct 2024 10:47:59 -0400 Subject: [PATCH 1/3] Add additional overflow keys --- features/line-clamp.yml | 3 +++ features/line-clamp.yml.dist | 1 + features/logical-properties.yml | 2 ++ features/logical-properties.yml.dist | 7 +++++++ features/overflow-shorthand.yml | 3 +++ features/overflow-shorthand.yml.dist | 12 ++++++++++++ features/text-overflow.yml | 4 ++++ features/text-overflow.yml.dist | 19 +++++++++++++++++++ 8 files changed, 51 insertions(+) diff --git a/features/line-clamp.yml b/features/line-clamp.yml index 0c49e81dfb8..c00be024e0b 100644 --- a/features/line-clamp.yml +++ b/features/line-clamp.yml @@ -3,3 +3,6 @@ description: "The `line-clamp` CSS property limits the text in a block container spec: https://drafts.csswg.org/css-overflow-4/#line-clamp group: css caniuse: css-line-clamp +compat_features: + - css.properties.line-clamp + - css.properties.line-clamp.none diff --git a/features/line-clamp.yml.dist b/features/line-clamp.yml.dist index 40077000924..85dd95615de 100644 --- a/features/line-clamp.yml.dist +++ b/features/line-clamp.yml.dist @@ -6,3 +6,4 @@ status: support: {} compat_features: - css.properties.line-clamp + - css.properties.line-clamp.none diff --git a/features/logical-properties.yml b/features/logical-properties.yml index 35163f52323..dbc49001d5d 100644 --- a/features/logical-properties.yml +++ b/features/logical-properties.yml @@ -90,4 +90,6 @@ compat_features: - css.properties.padding-inline-end - css.properties.padding-inline-start - css.properties.overflow-block + - css.properties.overflow-block.overlay - css.properties.overflow-inline + - css.properties.overflow-inline.overlay diff --git a/features/logical-properties.yml.dist b/features/logical-properties.yml.dist index a71136c8ff3..ffe0a5c8328 100644 --- a/features/logical-properties.yml.dist +++ b/features/logical-properties.yml.dist @@ -210,3 +210,10 @@ compat_features: # firefox_android: "79" - css.properties.overflow-block - css.properties.overflow-inline + + # baseline: false + # support: + # firefox: "112" + # firefox_android: "112" + - css.properties.overflow-block.overlay + - css.properties.overflow-inline.overlay diff --git a/features/overflow-shorthand.yml b/features/overflow-shorthand.yml index 34fa0a443cf..7561cb2bad4 100644 --- a/features/overflow-shorthand.yml +++ b/features/overflow-shorthand.yml @@ -3,6 +3,8 @@ description: The `overflow` CSS property sets the behavior for when content does spec: https://drafts.csswg.org/css-overflow-3/#propdef-overflow group: css caniuse: css-overflow +status: + compute_from: css.properties.overflow.clip compat_features: - css.properties.overflow - css.properties.overflow-x @@ -25,3 +27,4 @@ compat_features: - css.properties.overflow.visible - css.types.overflow - css.types.overflow.clip + - css.types.overflow.overlay diff --git a/features/overflow-shorthand.yml.dist b/features/overflow-shorthand.yml.dist index 225699128de..309dad09fe1 100644 --- a/features/overflow-shorthand.yml.dist +++ b/features/overflow-shorthand.yml.dist @@ -129,3 +129,15 @@ compat_features: - css.properties.overflow-y.clip - css.properties.overflow.clip - css.types.overflow.clip + + # baseline: low + # baseline_low_date: 2023-04-11 + # support: + # chrome: "15" + # chrome_android: "100" + # edge: "79" + # firefox: "112" + # firefox_android: "112" + # safari: ≤13.1 + # safari_ios: ≤13.4 + - css.types.overflow.overlay diff --git a/features/text-overflow.yml b/features/text-overflow.yml index d0984e1bb70..32f1df0eae2 100644 --- a/features/text-overflow.yml +++ b/features/text-overflow.yml @@ -3,8 +3,12 @@ description: The `text-overflow` CSS property sets how hidden overflow content a spec: https://drafts.csswg.org/css-overflow-4/#text-overflow group: css caniuse: text-overflow +status: + compute_from: css.properties.text-overflow compat_features: - css.properties.text-overflow - css.properties.text-overflow.clip - css.properties.text-overflow.ellipsis - svg.global_attributes.text-overflow + - css.properties.text-overflow.string + - css.properties.text-overflow.two_value_syntax diff --git a/features/text-overflow.yml.dist b/features/text-overflow.yml.dist index 89ca9091ab8..219808c674f 100644 --- a/features/text-overflow.yml.dist +++ b/features/text-overflow.yml.dist @@ -14,7 +14,26 @@ status: safari: "1.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 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "7" + # firefox_android: "7" + # safari: "1.3" + # safari_ios: "1" - css.properties.text-overflow - css.properties.text-overflow.clip - css.properties.text-overflow.ellipsis - svg.global_attributes.text-overflow + + # baseline: false + # support: + # firefox: "9" + # firefox_android: "9" + - css.properties.text-overflow.string + - css.properties.text-overflow.two_value_syntax From 6782fd0eb8115a26b8fdf5e9069adf69b514c276 Mon Sep 17 00:00:00 2001 From: James Stuckey Weber Date: Wed, 30 Oct 2024 09:25:19 -0400 Subject: [PATCH 2/3] Review --- features/custom-ellipsis.yml | 5 +++++ features/custom-ellipsis.yml.dist | 10 ++++++++++ features/overflow-shorthand.yml | 1 - features/overflow-shorthand.yml.dist | 12 ------------ features/text-overflow.yml | 1 - features/text-overflow.yml.dist | 1 - 6 files changed, 15 insertions(+), 15 deletions(-) create mode 100644 features/custom-ellipsis.yml create mode 100644 features/custom-ellipsis.yml.dist diff --git a/features/custom-ellipsis.yml b/features/custom-ellipsis.yml new file mode 100644 index 00000000000..54f85c8d99e --- /dev/null +++ b/features/custom-ellipsis.yml @@ -0,0 +1,5 @@ +name: Custom ellipsis +description: The `text-overflow` CSS property with a string value sets the string representing clipped text. +spec: https://drafts.csswg.org/css-overflow-4/#overflow-string +compat_features: + - css.properties.text-overflow.string diff --git a/features/custom-ellipsis.yml.dist b/features/custom-ellipsis.yml.dist new file mode 100644 index 00000000000..5401e54505e --- /dev/null +++ b/features/custom-ellipsis.yml.dist @@ -0,0 +1,10 @@ +# Generated from: custom-ellipsis.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: + firefox: "9" + firefox_android: "9" +compat_features: + - css.properties.text-overflow.string diff --git a/features/overflow-shorthand.yml b/features/overflow-shorthand.yml index 7561cb2bad4..1d322b520ce 100644 --- a/features/overflow-shorthand.yml +++ b/features/overflow-shorthand.yml @@ -27,4 +27,3 @@ compat_features: - css.properties.overflow.visible - css.types.overflow - css.types.overflow.clip - - css.types.overflow.overlay diff --git a/features/overflow-shorthand.yml.dist b/features/overflow-shorthand.yml.dist index 309dad09fe1..225699128de 100644 --- a/features/overflow-shorthand.yml.dist +++ b/features/overflow-shorthand.yml.dist @@ -129,15 +129,3 @@ compat_features: - css.properties.overflow-y.clip - css.properties.overflow.clip - css.types.overflow.clip - - # baseline: low - # baseline_low_date: 2023-04-11 - # support: - # chrome: "15" - # chrome_android: "100" - # edge: "79" - # firefox: "112" - # firefox_android: "112" - # safari: ≤13.1 - # safari_ios: ≤13.4 - - css.types.overflow.overlay diff --git a/features/text-overflow.yml b/features/text-overflow.yml index 32f1df0eae2..d823d793279 100644 --- a/features/text-overflow.yml +++ b/features/text-overflow.yml @@ -10,5 +10,4 @@ compat_features: - css.properties.text-overflow.clip - css.properties.text-overflow.ellipsis - svg.global_attributes.text-overflow - - css.properties.text-overflow.string - css.properties.text-overflow.two_value_syntax diff --git a/features/text-overflow.yml.dist b/features/text-overflow.yml.dist index 219808c674f..3ac986104de 100644 --- a/features/text-overflow.yml.dist +++ b/features/text-overflow.yml.dist @@ -35,5 +35,4 @@ compat_features: # support: # firefox: "9" # firefox_android: "9" - - css.properties.text-overflow.string - css.properties.text-overflow.two_value_syntax From c0b35a8400049a7864125f9806444e5c9cfbce79 Mon Sep 17 00:00:00 2001 From: James Stuckey Weber Date: Wed, 30 Oct 2024 12:55:43 -0400 Subject: [PATCH 3/3] Update features/custom-ellipsis.yml Co-authored-by: Daniel D. Beck --- features/custom-ellipsis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/custom-ellipsis.yml b/features/custom-ellipsis.yml index 54f85c8d99e..22f93597022 100644 --- a/features/custom-ellipsis.yml +++ b/features/custom-ellipsis.yml @@ -1,4 +1,4 @@ -name: Custom ellipsis +name: Custom ellipses description: The `text-overflow` CSS property with a string value sets the string representing clipped text. spec: https://drafts.csswg.org/css-overflow-4/#overflow-string compat_features: