From 70dcc633f5c8d4f8b600d8f38eb8ac1f95018d94 Mon Sep 17 00:00:00 2001 From: SondraE Date: Mon, 30 Sep 2024 17:02:23 -0600 Subject: [PATCH 1/3] add q length unit --- features/q-length-unit.yml | 4 ++++ features/q-length-unit.yml.dist | 6 ++++++ 2 files changed, 10 insertions(+) create mode 100644 features/q-length-unit.yml create mode 100644 features/q-length-unit.yml.dist diff --git a/features/q-length-unit.yml b/features/q-length-unit.yml new file mode 100644 index 00000000000..0a9f2afb655 --- /dev/null +++ b/features/q-length-unit.yml @@ -0,0 +1,4 @@ +name: Q length unit +description: The CSS `Q` length unit is an absolute length anchored to the physical measurement of quarter-millimeters. 1q is equivalent to 1/40 of 1cm. +spec: https://drafts.csswg.org/css-values/#absolute-lengths +caniuse: css_types_length_q diff --git a/features/q-length-unit.yml.dist b/features/q-length-unit.yml.dist new file mode 100644 index 00000000000..11c1bd58172 --- /dev/null +++ b/features/q-length-unit.yml.dist @@ -0,0 +1,6 @@ +# Generated from: q-length-unit.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: {} From e0518604a8204f13741443a64bb056812257efd3 Mon Sep 17 00:00:00 2001 From: SondraE Date: Tue, 1 Oct 2024 15:42:37 -0600 Subject: [PATCH 2/3] add length units --- features/ch.yml | 8 +++++++ features/ch.yml.dist | 38 ++++++++++++++++++++++++++++++++ features/em-length-unit.yml | 8 +++++++ features/em-length-unit.yml.dist | 38 ++++++++++++++++++++++++++++++++ features/ex.yml | 8 +++++++ features/ex.yml.dist | 38 ++++++++++++++++++++++++++++++++ features/q-length-unit.yml | 10 ++++++--- features/q-length-unit.yml.dist | 36 ++++++++++++++++++++++++++++-- features/rcap.yml | 6 +++++ features/rcap.yml.dist | 14 ++++++++++++ features/rch.yml | 8 +++++++ features/rch.yml.dist | 30 +++++++++++++++++++++++++ features/rem.yml | 9 ++++++++ features/rem.yml.dist | 38 ++++++++++++++++++++++++++++++++ features/rex.yml | 6 +++++ features/rex.yml.dist | 30 +++++++++++++++++++++++++ features/ric.yml | 6 +++++ features/ric.yml.dist | 30 +++++++++++++++++++++++++ features/rlh.yml | 8 +++++++ features/rlh.yml.dist | 36 ++++++++++++++++++++++++++++++ 20 files changed, 400 insertions(+), 5 deletions(-) create mode 100644 features/ch.yml create mode 100644 features/ch.yml.dist create mode 100644 features/em-length-unit.yml create mode 100644 features/em-length-unit.yml.dist create mode 100644 features/ex.yml create mode 100644 features/ex.yml.dist create mode 100644 features/rcap.yml create mode 100644 features/rcap.yml.dist create mode 100644 features/rch.yml create mode 100644 features/rch.yml.dist create mode 100644 features/rem.yml create mode 100644 features/rem.yml.dist create mode 100644 features/rex.yml create mode 100644 features/rex.yml.dist create mode 100644 features/ric.yml create mode 100644 features/ric.yml.dist create mode 100644 features/rlh.yml create mode 100644 features/rlh.yml.dist diff --git a/features/ch.yml b/features/ch.yml new file mode 100644 index 00000000000..9eab0074fca --- /dev/null +++ b/features/ch.yml @@ -0,0 +1,8 @@ +name: ch unit +description: The `ch` CSS length unit is a font-relative length based on the width of the zero (0) character. +spec: https://drafts.csswg.org/css-values-4/#font-relative-lengths +status: + compute_from: css.types.length.ch +compat_features: + - css.types.length.ch + - api.CSS.ch_static diff --git a/features/ch.yml.dist b/features/ch.yml.dist new file mode 100644 index 00000000000..9db078933d2 --- /dev/null +++ b/features/ch.yml.dist @@ -0,0 +1,38 @@ +# Generated from: ch.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: "27" + chrome_android: "27" + edge: "12" + firefox: "1" + firefox_android: "4" + safari: "7" + safari_ios: "7" +compat_features: + # ⬇️ Same status as overall feature ⬇️ + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "27" + # chrome_android: "27" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "7" + # safari_ios: "7" + - css.types.length.ch + + # baseline: false + # support: + # chrome: "66" + # chrome_android: "66" + # edge: "79" + # safari: "16.4" + # safari_ios: "16.4" + - api.CSS.ch_static diff --git a/features/em-length-unit.yml b/features/em-length-unit.yml new file mode 100644 index 00000000000..cf2378a0e1e --- /dev/null +++ b/features/em-length-unit.yml @@ -0,0 +1,8 @@ +name: em length unit +description: The `em` CSS length unit is a font-relative length equal to the specified font size. In an element with a 2in font, 1em equals 2in. +spec: https://drafts.csswg.org/css-values-4/#font-relative-lengths +status: + compute_from: css.types.length.em +compat_features: + - css.types.length.em + - api.CSS.em_static diff --git a/features/em-length-unit.yml.dist b/features/em-length-unit.yml.dist new file mode 100644 index 00000000000..18fabb0da71 --- /dev/null +++ b/features/em-length-unit.yml.dist @@ -0,0 +1,38 @@ +# Generated from: em-length-unit.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" + - css.types.length.em + + # baseline: false + # support: + # chrome: "66" + # chrome_android: "66" + # edge: "79" + # safari: "16.4" + # safari_ios: "16.4" + - api.CSS.em_static diff --git a/features/ex.yml b/features/ex.yml new file mode 100644 index 00000000000..99f8c61e280 --- /dev/null +++ b/features/ex.yml @@ -0,0 +1,8 @@ +name: ex unit +description: The `ex` CSS length unit is a font-relative length equal to the used x-height of the first available font. X-height is often equal to the height of the lowercase "x". +spec: https://drafts.csswg.org/css-values-4/#font-relative-lengths +status: + compute_from: css.types.length.ex +compat_features: + - css.types.length.ex + - api.CSS.ex_static diff --git a/features/ex.yml.dist b/features/ex.yml.dist new file mode 100644 index 00000000000..993b4e755e8 --- /dev/null +++ b/features/ex.yml.dist @@ -0,0 +1,38 @@ +# Generated from: ex.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" + - css.types.length.ex + + # baseline: false + # support: + # chrome: "66" + # chrome_android: "66" + # edge: "79" + # safari: "16.4" + # safari_ios: "16.4" + - api.CSS.ex_static diff --git a/features/q-length-unit.yml b/features/q-length-unit.yml index 0a9f2afb655..dfc2c67da3f 100644 --- a/features/q-length-unit.yml +++ b/features/q-length-unit.yml @@ -1,4 +1,8 @@ name: Q length unit -description: The CSS `Q` length unit is an absolute length anchored to the physical measurement of quarter-millimeters. 1q is equivalent to 1/40 of 1cm. -spec: https://drafts.csswg.org/css-values/#absolute-lengths -caniuse: css_types_length_q +description: The `Q` CSS length unit is an absolute length anchored to the physical measurement of quarter-millimeters. 1Q is equivalent to 1/40 of 1cm. +spec: https://drafts.csswg.org/css-values-4/#absolute-lengths +status: + compute_from: css.types.length.Q +compat_features: + - css.types.length.Q + - api.CSS.Q_static diff --git a/features/q-length-unit.yml.dist b/features/q-length-unit.yml.dist index 11c1bd58172..f94fc839fb8 100644 --- a/features/q-length-unit.yml.dist +++ b/features/q-length-unit.yml.dist @@ -2,5 +2,37 @@ # Do not edit this file by hand. Edit the source file instead! status: - baseline: false - support: {} + baseline: high + baseline_low_date: 2020-03-24 + baseline_high_date: 2022-09-24 + support: + chrome: "63" + chrome_android: "63" + edge: "79" + firefox: "49" + firefox_android: "49" + safari: "13.1" + safari_ios: "13.4" +compat_features: + # ⬇️ Same status as overall feature ⬇️ + # baseline: high + # baseline_low_date: 2020-03-24 + # baseline_high_date: 2022-09-24 + # support: + # chrome: "63" + # chrome_android: "63" + # edge: "79" + # firefox: "49" + # firefox_android: "49" + # safari: "13.1" + # safari_ios: "13.4" + - css.types.length.Q + + # baseline: false + # support: + # chrome: "66" + # chrome_android: "66" + # edge: "79" + # safari: "16.4" + # safari_ios: "16.4" + - api.CSS.Q_static diff --git a/features/rcap.yml b/features/rcap.yml new file mode 100644 index 00000000000..10c2ad7ce4b --- /dev/null +++ b/features/rcap.yml @@ -0,0 +1,6 @@ +name: rcap unit +description: The `rcap` CSS length unit is a font-relative length equal to the value of the cap unit on the root element. Cap-height is approximately equal to the height of a capital Latin letter. +spec: https://drafts.csswg.org/css-values-4/#font-relative-lengths +compat_features: + - css.types.length.rcap + - api.CSS.rcap_static diff --git a/features/rcap.yml.dist b/features/rcap.yml.dist new file mode 100644 index 00000000000..0ef9c6d15fd --- /dev/null +++ b/features/rcap.yml.dist @@ -0,0 +1,14 @@ +# Generated from: rcap.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: + chrome: "118" + chrome_android: "118" + edge: "118" + safari: "17.2" + safari_ios: "17.2" +compat_features: + - api.CSS.rcap_static + - css.types.length.rcap diff --git a/features/rch.yml b/features/rch.yml new file mode 100644 index 00000000000..c86fd28b747 --- /dev/null +++ b/features/rch.yml @@ -0,0 +1,8 @@ +name: rch unit +description: The `rch` CSS length unit is a font-relative length equal to the value of the ch unit on the root element. Ch length based on the width of the zero (0) character. +spec: https://drafts.csswg.org/css-values-4/#font-relative-lengths +status: + compute_from: css.types.length.rch +compat_features: + - css.types.length.rch + - api.CSS.rch_static diff --git a/features/rch.yml.dist b/features/rch.yml.dist new file mode 100644 index 00000000000..de1966b231d --- /dev/null +++ b/features/rch.yml.dist @@ -0,0 +1,30 @@ +# Generated from: rch.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: + chrome: "111" + chrome_android: "111" + edge: "111" + safari: "17.2" + safari_ios: "17.2" +compat_features: + # ⬇️ Same status as overall feature ⬇️ + # baseline: false + # support: + # chrome: "111" + # chrome_android: "111" + # edge: "111" + # safari: "17.2" + # safari_ios: "17.2" + - css.types.length.rch + + # baseline: false + # support: + # chrome: "118" + # chrome_android: "118" + # edge: "118" + # safari: "17.2" + # safari_ios: "17.2" + - api.CSS.rch_static diff --git a/features/rem.yml b/features/rem.yml new file mode 100644 index 00000000000..b04898929b4 --- /dev/null +++ b/features/rem.yml @@ -0,0 +1,9 @@ +name: rem +description: The `rem` CSS length unit is a font-relative length that is equal to the font size of the root html element which for most browsers is 16px. +spec: https://drafts.csswg.org/css-values-4/#font-relative-lengths +caniuse: rem +status: + compute_from: css.types.length.rem +compat_features: + - css.types.length.rem + - api.CSS.rem_static diff --git a/features/rem.yml.dist b/features/rem.yml.dist new file mode 100644 index 00000000000..5aefe080b14 --- /dev/null +++ b/features/rem.yml.dist @@ -0,0 +1,38 @@ +# Generated from: rem.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: "4" + chrome_android: "18" + edge: "12" + firefox: "3.6" + firefox_android: "4" + safari: "5" + safari_ios: "4" +compat_features: + # ⬇️ Same status as overall feature ⬇️ + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "4" + # chrome_android: "18" + # edge: "12" + # firefox: "3.6" + # firefox_android: "4" + # safari: "5" + # safari_ios: "4" + - css.types.length.rem + + # baseline: false + # support: + # chrome: "66" + # chrome_android: "66" + # edge: "79" + # safari: "16.4" + # safari_ios: "16.4" + - api.CSS.rem_static diff --git a/features/rex.yml b/features/rex.yml new file mode 100644 index 00000000000..7a74891339d --- /dev/null +++ b/features/rex.yml @@ -0,0 +1,6 @@ +name: rex unit +description: The `rex` CSS length unit is a font-relative length that is equal to the x-height of the root element. +spec: https://drafts.csswg.org/css-values-4/#font-relative-lengths +compat_features: + - css.types.length.rex + - api.CSS.rex_static diff --git a/features/rex.yml.dist b/features/rex.yml.dist new file mode 100644 index 00000000000..7bce9c04b25 --- /dev/null +++ b/features/rex.yml.dist @@ -0,0 +1,30 @@ +# Generated from: rex.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: + chrome: "118" + chrome_android: "118" + edge: "118" + safari: "17.2" + safari_ios: "17.2" +compat_features: + # baseline: false + # support: + # chrome: "111" + # chrome_android: "111" + # edge: "111" + # safari: "17.2" + # safari_ios: "17.2" + - css.types.length.rex + + # ⬇️ Same status as overall feature ⬇️ + # baseline: false + # support: + # chrome: "118" + # chrome_android: "118" + # edge: "118" + # safari: "17.2" + # safari_ios: "17.2" + - api.CSS.rex_static diff --git a/features/ric.yml b/features/ric.yml new file mode 100644 index 00000000000..540b67ebccf --- /dev/null +++ b/features/ric.yml @@ -0,0 +1,6 @@ +name: ric unit +description: The `ric` CSS length unit, or root international character, is a font-relative length equal to the width of CJK character relative to the root element. +spec: https://drafts.csswg.org/css-values-4/#font-relative-lengths +compat_features: + - css.types.length.ric + - api.CSS.ric_static diff --git a/features/ric.yml.dist b/features/ric.yml.dist new file mode 100644 index 00000000000..aea198ce496 --- /dev/null +++ b/features/ric.yml.dist @@ -0,0 +1,30 @@ +# Generated from: ric.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: + chrome: "118" + chrome_android: "118" + edge: "118" + safari: "17.2" + safari_ios: "17.2" +compat_features: + # baseline: false + # support: + # chrome: "111" + # chrome_android: "111" + # edge: "111" + # safari: "17.2" + # safari_ios: "17.2" + - css.types.length.ric + + # ⬇️ Same status as overall feature ⬇️ + # baseline: false + # support: + # chrome: "118" + # chrome_android: "118" + # edge: "118" + # safari: "17.2" + # safari_ios: "17.2" + - api.CSS.ric_static diff --git a/features/rlh.yml b/features/rlh.yml new file mode 100644 index 00000000000..4de26553c60 --- /dev/null +++ b/features/rlh.yml @@ -0,0 +1,8 @@ +name: rlh unit +description: The `rlh` CSS length unit is a font-relative length relative to the line height of root element. +spec: https://drafts.csswg.org/css-values-4/#font-relative-lengths +status: + compute_from: css.types.length.rlh +compat_features: + - css.types.length.rlh + - api.CSS.rlh_static diff --git a/features/rlh.yml.dist b/features/rlh.yml.dist new file mode 100644 index 00000000000..632828c1969 --- /dev/null +++ b/features/rlh.yml.dist @@ -0,0 +1,36 @@ +# Generated from: rlh.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: low + baseline_low_date: 2023-11-21 + support: + chrome: "111" + chrome_android: "111" + edge: "111" + firefox: "120" + firefox_android: "120" + safari: "16.4" + safari_ios: "16.4" +compat_features: + # ⬇️ Same status as overall feature ⬇️ + # baseline: low + # baseline_low_date: 2023-11-21 + # support: + # chrome: "111" + # chrome_android: "111" + # edge: "111" + # firefox: "120" + # firefox_android: "120" + # safari: "16.4" + # safari_ios: "16.4" + - css.types.length.rlh + + # baseline: false + # support: + # chrome: "118" + # chrome_android: "118" + # edge: "118" + # safari: "16.4" + # safari_ios: "16.4" + - api.CSS.rlh_static From 0214b88e573d1afca4db62d6d7a7d799baf03f8a Mon Sep 17 00:00:00 2001 From: SondraE Date: Wed, 2 Oct 2024 14:36:24 -0600 Subject: [PATCH 3/3] updates to length-units --- features/ch.yml | 4 +-- features/ch.yml.dist | 21 ----------- features/em-length-unit.yml.dist | 38 -------------------- features/{em-length-unit.yml => em-unit.yml} | 8 ++--- features/em-unit.yml.dist | 17 +++++++++ features/ex.yml | 6 ++-- features/ex.yml.dist | 21 ----------- features/q-length-unit.yml | 8 ----- features/q-length-unit.yml.dist | 38 -------------------- features/q-unit.yml | 6 ++++ features/q-unit.yml.dist | 17 +++++++++ features/rcap.yml | 4 +-- features/rcap.yml.dist | 1 - features/rch.yml | 6 ++-- features/rch.yml.dist | 17 --------- features/rem.yml | 6 ++-- features/rem.yml.dist | 21 ----------- features/rex.yml | 2 +- features/rex.yml.dist | 23 ++---------- features/ric.yml | 2 +- features/ric.yml.dist | 23 ++---------- features/rlh.yml | 4 +-- features/rlh.yml.dist | 20 ----------- 23 files changed, 61 insertions(+), 252 deletions(-) delete mode 100644 features/em-length-unit.yml.dist rename features/{em-length-unit.yml => em-unit.yml} (50%) create mode 100644 features/em-unit.yml.dist delete mode 100644 features/q-length-unit.yml delete mode 100644 features/q-length-unit.yml.dist create mode 100644 features/q-unit.yml create mode 100644 features/q-unit.yml.dist diff --git a/features/ch.yml b/features/ch.yml index 9eab0074fca..ea127306a94 100644 --- a/features/ch.yml +++ b/features/ch.yml @@ -1,8 +1,6 @@ name: ch unit description: The `ch` CSS length unit is a font-relative length based on the width of the zero (0) character. spec: https://drafts.csswg.org/css-values-4/#font-relative-lengths -status: - compute_from: css.types.length.ch +group: units compat_features: - css.types.length.ch - - api.CSS.ch_static diff --git a/features/ch.yml.dist b/features/ch.yml.dist index 9db078933d2..bf67bf1e362 100644 --- a/features/ch.yml.dist +++ b/features/ch.yml.dist @@ -14,25 +14,4 @@ status: safari: "7" safari_ios: "7" compat_features: - # ⬇️ Same status as overall feature ⬇️ - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "27" - # chrome_android: "27" - # edge: "12" - # firefox: "1" - # firefox_android: "4" - # safari: "7" - # safari_ios: "7" - css.types.length.ch - - # baseline: false - # support: - # chrome: "66" - # chrome_android: "66" - # edge: "79" - # safari: "16.4" - # safari_ios: "16.4" - - api.CSS.ch_static diff --git a/features/em-length-unit.yml.dist b/features/em-length-unit.yml.dist deleted file mode 100644 index 18fabb0da71..00000000000 --- a/features/em-length-unit.yml.dist +++ /dev/null @@ -1,38 +0,0 @@ -# Generated from: em-length-unit.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" - - css.types.length.em - - # baseline: false - # support: - # chrome: "66" - # chrome_android: "66" - # edge: "79" - # safari: "16.4" - # safari_ios: "16.4" - - api.CSS.em_static diff --git a/features/em-length-unit.yml b/features/em-unit.yml similarity index 50% rename from features/em-length-unit.yml rename to features/em-unit.yml index cf2378a0e1e..1451862f8a1 100644 --- a/features/em-length-unit.yml +++ b/features/em-unit.yml @@ -1,8 +1,6 @@ -name: em length unit -description: The `em` CSS length unit is a font-relative length equal to the specified font size. In an element with a 2in font, 1em equals 2in. +name: em unit +description: The `em` CSS length unit is a font-relative length equal to the specified font size. In an element with a 2 inch font, `1em` equals 2 inches. spec: https://drafts.csswg.org/css-values-4/#font-relative-lengths -status: - compute_from: css.types.length.em +group: units compat_features: - css.types.length.em - - api.CSS.em_static diff --git a/features/em-unit.yml.dist b/features/em-unit.yml.dist new file mode 100644 index 00000000000..03636576eaa --- /dev/null +++ b/features/em-unit.yml.dist @@ -0,0 +1,17 @@ +# Generated from: em-unit.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: + - css.types.length.em diff --git a/features/ex.yml b/features/ex.yml index 99f8c61e280..ebcea9ce089 100644 --- a/features/ex.yml +++ b/features/ex.yml @@ -1,8 +1,6 @@ name: ex unit -description: The `ex` CSS length unit is a font-relative length equal to the used x-height of the first available font. X-height is often equal to the height of the lowercase "x". +description: The `ex` CSS length unit is a font-relative length equal to the used x-height of the first available font. X-height is often equal to the height of the lowercase x. spec: https://drafts.csswg.org/css-values-4/#font-relative-lengths -status: - compute_from: css.types.length.ex +group: units compat_features: - css.types.length.ex - - api.CSS.ex_static diff --git a/features/ex.yml.dist b/features/ex.yml.dist index 993b4e755e8..8aaddf19ed1 100644 --- a/features/ex.yml.dist +++ b/features/ex.yml.dist @@ -14,25 +14,4 @@ status: 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" - css.types.length.ex - - # baseline: false - # support: - # chrome: "66" - # chrome_android: "66" - # edge: "79" - # safari: "16.4" - # safari_ios: "16.4" - - api.CSS.ex_static diff --git a/features/q-length-unit.yml b/features/q-length-unit.yml deleted file mode 100644 index dfc2c67da3f..00000000000 --- a/features/q-length-unit.yml +++ /dev/null @@ -1,8 +0,0 @@ -name: Q length unit -description: The `Q` CSS length unit is an absolute length anchored to the physical measurement of quarter-millimeters. 1Q is equivalent to 1/40 of 1cm. -spec: https://drafts.csswg.org/css-values-4/#absolute-lengths -status: - compute_from: css.types.length.Q -compat_features: - - css.types.length.Q - - api.CSS.Q_static diff --git a/features/q-length-unit.yml.dist b/features/q-length-unit.yml.dist deleted file mode 100644 index f94fc839fb8..00000000000 --- a/features/q-length-unit.yml.dist +++ /dev/null @@ -1,38 +0,0 @@ -# Generated from: q-length-unit.yml -# Do not edit this file by hand. Edit the source file instead! - -status: - baseline: high - baseline_low_date: 2020-03-24 - baseline_high_date: 2022-09-24 - support: - chrome: "63" - chrome_android: "63" - edge: "79" - firefox: "49" - firefox_android: "49" - safari: "13.1" - safari_ios: "13.4" -compat_features: - # ⬇️ Same status as overall feature ⬇️ - # baseline: high - # baseline_low_date: 2020-03-24 - # baseline_high_date: 2022-09-24 - # support: - # chrome: "63" - # chrome_android: "63" - # edge: "79" - # firefox: "49" - # firefox_android: "49" - # safari: "13.1" - # safari_ios: "13.4" - - css.types.length.Q - - # baseline: false - # support: - # chrome: "66" - # chrome_android: "66" - # edge: "79" - # safari: "16.4" - # safari_ios: "16.4" - - api.CSS.Q_static diff --git a/features/q-unit.yml b/features/q-unit.yml new file mode 100644 index 00000000000..0ede2985288 --- /dev/null +++ b/features/q-unit.yml @@ -0,0 +1,6 @@ +name: Q unit +description: The `Q` CSS length unit is an absolute length anchored to the physical measurement of quarter-millimeters. `1Q` is equivalent to 1/40 of 1 centimeter. +spec: https://drafts.csswg.org/css-values-4/#absolute-lengths +group: units +compat_features: + - css.types.length.Q diff --git a/features/q-unit.yml.dist b/features/q-unit.yml.dist new file mode 100644 index 00000000000..7a5ac846220 --- /dev/null +++ b/features/q-unit.yml.dist @@ -0,0 +1,17 @@ +# Generated from: q-unit.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2020-03-24 + baseline_high_date: 2022-09-24 + support: + chrome: "63" + chrome_android: "63" + edge: "79" + firefox: "49" + firefox_android: "49" + safari: "13.1" + safari_ios: "13.4" +compat_features: + - css.types.length.Q diff --git a/features/rcap.yml b/features/rcap.yml index 10c2ad7ce4b..110bf559fd4 100644 --- a/features/rcap.yml +++ b/features/rcap.yml @@ -1,6 +1,6 @@ name: rcap unit -description: The `rcap` CSS length unit is a font-relative length equal to the value of the cap unit on the root element. Cap-height is approximately equal to the height of a capital Latin letter. +description: The `rcap` CSS length unit is a font-relative length equal to the value of the `cap` unit on the root element. Cap-height is approximately equal to the height of a capital Latin letter. spec: https://drafts.csswg.org/css-values-4/#font-relative-lengths +group: units compat_features: - css.types.length.rcap - - api.CSS.rcap_static diff --git a/features/rcap.yml.dist b/features/rcap.yml.dist index 0ef9c6d15fd..21769eb9b52 100644 --- a/features/rcap.yml.dist +++ b/features/rcap.yml.dist @@ -10,5 +10,4 @@ status: safari: "17.2" safari_ios: "17.2" compat_features: - - api.CSS.rcap_static - css.types.length.rcap diff --git a/features/rch.yml b/features/rch.yml index c86fd28b747..b7f4432fbe5 100644 --- a/features/rch.yml +++ b/features/rch.yml @@ -1,8 +1,6 @@ name: rch unit -description: The `rch` CSS length unit is a font-relative length equal to the value of the ch unit on the root element. Ch length based on the width of the zero (0) character. +description: The `rch` CSS length unit is a font-relative length equal to the value of the `ch` unit on the root element. `ch` length is based on the width of the zero (0) character. spec: https://drafts.csswg.org/css-values-4/#font-relative-lengths -status: - compute_from: css.types.length.rch +group: units compat_features: - css.types.length.rch - - api.CSS.rch_static diff --git a/features/rch.yml.dist b/features/rch.yml.dist index de1966b231d..f8a0ee27847 100644 --- a/features/rch.yml.dist +++ b/features/rch.yml.dist @@ -10,21 +10,4 @@ status: safari: "17.2" safari_ios: "17.2" compat_features: - # ⬇️ Same status as overall feature ⬇️ - # baseline: false - # support: - # chrome: "111" - # chrome_android: "111" - # edge: "111" - # safari: "17.2" - # safari_ios: "17.2" - css.types.length.rch - - # baseline: false - # support: - # chrome: "118" - # chrome_android: "118" - # edge: "118" - # safari: "17.2" - # safari_ios: "17.2" - - api.CSS.rch_static diff --git a/features/rem.yml b/features/rem.yml index b04898929b4..a44519381e8 100644 --- a/features/rem.yml +++ b/features/rem.yml @@ -1,9 +1,7 @@ name: rem -description: The `rem` CSS length unit is a font-relative length that is equal to the font size of the root html element which for most browsers is 16px. +description: The `rem` CSS length unit is a font-relative length that is equal to the font size of the root HTML element which for most browsers is `16px`. spec: https://drafts.csswg.org/css-values-4/#font-relative-lengths caniuse: rem -status: - compute_from: css.types.length.rem +group: units compat_features: - css.types.length.rem - - api.CSS.rem_static diff --git a/features/rem.yml.dist b/features/rem.yml.dist index 5aefe080b14..1c847be7256 100644 --- a/features/rem.yml.dist +++ b/features/rem.yml.dist @@ -14,25 +14,4 @@ status: safari: "5" safari_ios: "4" compat_features: - # ⬇️ Same status as overall feature ⬇️ - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "4" - # chrome_android: "18" - # edge: "12" - # firefox: "3.6" - # firefox_android: "4" - # safari: "5" - # safari_ios: "4" - css.types.length.rem - - # baseline: false - # support: - # chrome: "66" - # chrome_android: "66" - # edge: "79" - # safari: "16.4" - # safari_ios: "16.4" - - api.CSS.rem_static diff --git a/features/rex.yml b/features/rex.yml index 7a74891339d..864a1cc3b4e 100644 --- a/features/rex.yml +++ b/features/rex.yml @@ -1,6 +1,6 @@ name: rex unit description: The `rex` CSS length unit is a font-relative length that is equal to the x-height of the root element. spec: https://drafts.csswg.org/css-values-4/#font-relative-lengths +group: units compat_features: - css.types.length.rex - - api.CSS.rex_static diff --git a/features/rex.yml.dist b/features/rex.yml.dist index 7bce9c04b25..6b1c61f421c 100644 --- a/features/rex.yml.dist +++ b/features/rex.yml.dist @@ -4,27 +4,10 @@ status: baseline: false support: - chrome: "118" - chrome_android: "118" - edge: "118" + chrome: "111" + chrome_android: "111" + edge: "111" safari: "17.2" safari_ios: "17.2" compat_features: - # baseline: false - # support: - # chrome: "111" - # chrome_android: "111" - # edge: "111" - # safari: "17.2" - # safari_ios: "17.2" - css.types.length.rex - - # ⬇️ Same status as overall feature ⬇️ - # baseline: false - # support: - # chrome: "118" - # chrome_android: "118" - # edge: "118" - # safari: "17.2" - # safari_ios: "17.2" - - api.CSS.rex_static diff --git a/features/ric.yml b/features/ric.yml index 540b67ebccf..2ad88959b12 100644 --- a/features/ric.yml +++ b/features/ric.yml @@ -1,6 +1,6 @@ name: ric unit description: The `ric` CSS length unit, or root international character, is a font-relative length equal to the width of CJK character relative to the root element. spec: https://drafts.csswg.org/css-values-4/#font-relative-lengths +group: units compat_features: - css.types.length.ric - - api.CSS.ric_static diff --git a/features/ric.yml.dist b/features/ric.yml.dist index aea198ce496..a696528ce1d 100644 --- a/features/ric.yml.dist +++ b/features/ric.yml.dist @@ -4,27 +4,10 @@ status: baseline: false support: - chrome: "118" - chrome_android: "118" - edge: "118" + chrome: "111" + chrome_android: "111" + edge: "111" safari: "17.2" safari_ios: "17.2" compat_features: - # baseline: false - # support: - # chrome: "111" - # chrome_android: "111" - # edge: "111" - # safari: "17.2" - # safari_ios: "17.2" - css.types.length.ric - - # ⬇️ Same status as overall feature ⬇️ - # baseline: false - # support: - # chrome: "118" - # chrome_android: "118" - # edge: "118" - # safari: "17.2" - # safari_ios: "17.2" - - api.CSS.ric_static diff --git a/features/rlh.yml b/features/rlh.yml index 4de26553c60..302c01e0478 100644 --- a/features/rlh.yml +++ b/features/rlh.yml @@ -1,8 +1,6 @@ name: rlh unit description: The `rlh` CSS length unit is a font-relative length relative to the line height of root element. spec: https://drafts.csswg.org/css-values-4/#font-relative-lengths -status: - compute_from: css.types.length.rlh +group: units compat_features: - css.types.length.rlh - - api.CSS.rlh_static diff --git a/features/rlh.yml.dist b/features/rlh.yml.dist index 632828c1969..33a2dc631c0 100644 --- a/features/rlh.yml.dist +++ b/features/rlh.yml.dist @@ -13,24 +13,4 @@ status: safari: "16.4" safari_ios: "16.4" compat_features: - # ⬇️ Same status as overall feature ⬇️ - # baseline: low - # baseline_low_date: 2023-11-21 - # support: - # chrome: "111" - # chrome_android: "111" - # edge: "111" - # firefox: "120" - # firefox_android: "120" - # safari: "16.4" - # safari_ios: "16.4" - css.types.length.rlh - - # baseline: false - # support: - # chrome: "118" - # chrome_android: "118" - # edge: "118" - # safari: "16.4" - # safari_ios: "16.4" - - api.CSS.rlh_static