From 2d5b743ed6995d0596b792edcdeda9a2ca42b892 Mon Sep 17 00:00:00 2001 From: James Stuckey Weber Date: Fri, 16 Aug 2024 17:09:24 -0400 Subject: [PATCH 01/14] add font-weight --- features/font-weight.yml | 16 ++++++++++ features/font-weight.yml.dist | 60 +++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 features/font-weight.yml create mode 100644 features/font-weight.yml.dist diff --git a/features/font-weight.yml b/features/font-weight.yml new file mode 100644 index 00000000000..79e133d4880 --- /dev/null +++ b/features/font-weight.yml @@ -0,0 +1,16 @@ +name: font-weight +description: The `font-weight` CSS property controls the thickness of a font. It is set explicitly with the keyword `bold` or a number, or relative to the inherited thickness with the keywords `bolder` or `lighter`. +spec: https://drafts.csswg.org/css-fonts-4/#font-weight-prop +group: fonts +status: + compute_from: css.properties.font-weight +compat_features: + - css.at-rules.font-face.font-weight + - css.properties.font-weight + - css.properties.font-weight.bold + - css.properties.font-weight.bolder + - css.properties.font-weight.lighter + - css.properties.font-weight.normal + - css.properties.font-weight.number + - svg.global_attributes.font-weight + \ No newline at end of file diff --git a/features/font-weight.yml.dist b/features/font-weight.yml.dist new file mode 100644 index 00000000000..1413a44330f --- /dev/null +++ b/features/font-weight.yml.dist @@ -0,0 +1,60 @@ +# Generated from: font-weight.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: "2" + 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: "2" + # chrome_android: "18" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "1" + # safari_ios: "1" + - css.properties.font-weight + - css.properties.font-weight.bold + - css.properties.font-weight.bolder + - css.properties.font-weight.lighter + - css.properties.font-weight.normal + - svg.global_attributes.font-weight + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "4" + # chrome_android: "18" + # edge: "12" + # firefox: "3.5" + # firefox_android: "4" + # safari: "3.1" + # safari_ios: "2" + - css.at-rules.font-face.font-weight + + # baseline: high + # baseline_low_date: 2018-06-26 + # baseline_high_date: 2020-12-26 + # support: + # chrome: "62" + # chrome_android: "62" + # edge: "17" + # firefox: "61" + # firefox_android: "61" + # safari: "11" + # safari_ios: "11" + - css.properties.font-weight.number From 2717d27ba4b9e40c3da78e8233831d075191bd51 Mon Sep 17 00:00:00 2001 From: James Stuckey Weber Date: Sat, 17 Aug 2024 08:04:52 -0400 Subject: [PATCH 02/14] Add font-style --- features/font-style.yml | 13 ++++++++ features/font-style.yml.dist | 58 ++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 features/font-style.yml create mode 100644 features/font-style.yml.dist diff --git a/features/font-style.yml b/features/font-style.yml new file mode 100644 index 00000000000..217c4bd247e --- /dev/null +++ b/features/font-style.yml @@ -0,0 +1,13 @@ +name: font-style +description: The `font-style` CSS property sets the text style, with `italic` and `oblique` options. +spec: https://drafts.csswg.org/css-fonts-4/#font-style-prop +group: fonts +status: + compute_from: css.properties.font-style +compat_features: + - css.at-rules.font-face.font-style + - css.properties.font-style + - css.properties.font-style.italic + - css.properties.font-style.normal + - css.properties.font-style.oblique-angle + - svg.global_attributes.font-style diff --git a/features/font-style.yml.dist b/features/font-style.yml.dist new file mode 100644 index 00000000000..ed1ed6e1cc8 --- /dev/null +++ b/features/font-style.yml.dist @@ -0,0 +1,58 @@ +# Generated from: font-style.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.properties.font-style + - css.properties.font-style.italic + - css.properties.font-style.normal + - svg.global_attributes.font-style + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "4" + # chrome_android: "18" + # edge: "12" + # firefox: "3.5" + # firefox_android: "4" + # safari: "3.1" + # safari_ios: "2" + - css.at-rules.font-face.font-style + + # baseline: high + # baseline_low_date: 2020-01-15 + # baseline_high_date: 2022-07-15 + # support: + # chrome: "62" + # chrome_android: "62" + # edge: "79" + # firefox: "61" + # firefox_android: "61" + # safari: "11.1" + # safari_ios: "11.3" + - css.properties.font-style.oblique-angle From 257b38250f7f3154d2ef3e6a2b408cd0808c30b6 Mon Sep 17 00:00:00 2001 From: James Stuckey Weber Date: Tue, 20 Aug 2024 11:25:26 -0400 Subject: [PATCH 03/14] Add font-metric-overrides --- features/font-metric-overrides.yml | 11 +++++++++++ features/font-metric-overrides.yml.dist | 18 ++++++++++++++++++ features/font-size-adjust.yml | 1 + features/font-size-adjust.yml.dist | 12 ++++++++++++ 4 files changed, 42 insertions(+) create mode 100644 features/font-metric-overrides.yml create mode 100644 features/font-metric-overrides.yml.dist diff --git a/features/font-metric-overrides.yml b/features/font-metric-overrides.yml new file mode 100644 index 00000000000..1e7841c6bc9 --- /dev/null +++ b/features/font-metric-overrides.yml @@ -0,0 +1,11 @@ +name: Font metric overrides +description: The `ascent-override`, `descent-override` and `line-gap-override` CSS properties adjust the display of a font declared in an `@font-face`. This can help make fallback fonts look the same size. +spec: https://drafts.csswg.org/css-fonts-4/#font-metrics-override-desc +group: fonts +compat_features: + - css.at-rules.font-face.ascent-override + - css.at-rules.font-face.descent-override + - css.at-rules.font-face.line-gap-override + - api.FontFace.ascentOverride + - api.FontFace.descentOverride + - api.FontFace.lineGapOverride diff --git a/features/font-metric-overrides.yml.dist b/features/font-metric-overrides.yml.dist new file mode 100644 index 00000000000..b40ba0be90b --- /dev/null +++ b/features/font-metric-overrides.yml.dist @@ -0,0 +1,18 @@ +# Generated from: font-metric-overrides.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: + chrome: "87" + chrome_android: "87" + edge: "87" + firefox: "89" + firefox_android: "89" +compat_features: + - api.FontFace.ascentOverride + - api.FontFace.descentOverride + - api.FontFace.lineGapOverride + - css.at-rules.font-face.ascent-override + - css.at-rules.font-face.descent-override + - css.at-rules.font-face.line-gap-override diff --git a/features/font-size-adjust.yml b/features/font-size-adjust.yml index 7ea491155c7..ae1470af680 100644 --- a/features/font-size-adjust.yml +++ b/features/font-size-adjust.yml @@ -14,3 +14,4 @@ compat_features: - css.properties.font-size-adjust.none - css.properties.font-size-adjust.two-values - svg.global_attributes.font-size-adjust + - css.at-rules.font-face.size-adjust diff --git a/features/font-size-adjust.yml.dist b/features/font-size-adjust.yml.dist index 2f1d5535848..8483422f600 100644 --- a/features/font-size-adjust.yml.dist +++ b/features/font-size-adjust.yml.dist @@ -13,6 +13,18 @@ status: safari: "17" safari_ios: "17" compat_features: + # baseline: low + # baseline_low_date: 2023-09-18 + # support: + # chrome: "92" + # chrome_android: "92" + # edge: "92" + # firefox: "92" + # firefox_android: "92" + # safari: "17" + # safari_ios: "17" + - css.at-rules.font-face.size-adjust + # baseline: low # baseline_low_date: 2024-07-25 # support: From 4f242f877bd3c9201fa3457d11b0ef8432e50bfd Mon Sep 17 00:00:00 2001 From: James Stuckey Weber Date: Tue, 20 Aug 2024 15:24:59 -0400 Subject: [PATCH 04/14] Add font-stretch --- features/font-stretch.yml | 12 ++++++++ features/font-stretch.yml.dist | 56 ++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 features/font-stretch.yml create mode 100644 features/font-stretch.yml.dist diff --git a/features/font-stretch.yml b/features/font-stretch.yml new file mode 100644 index 00000000000..f6689c82000 --- /dev/null +++ b/features/font-stretch.yml @@ -0,0 +1,12 @@ +name: Font stretch +description: The `font-stretch` CSS property selects a font face from a font family based on width, either by a keyword such as "condensed" or a percentage. The `font-stretch` property will be replaced by `font-width`. +spec: https://drafts.csswg.org/css-fonts-4/#font-stretch-prop +group: fonts +caniuse: css-font-stretch +status: + compute_from: css.properties.font-stretch +compat_features: + - css.at-rules.font-face.font-stretch + - css.properties.font-stretch + - css.properties.font-stretch.percentage + - svg.global_attributes.font-stretch diff --git a/features/font-stretch.yml.dist b/features/font-stretch.yml.dist new file mode 100644 index 00000000000..2daba6f4a28 --- /dev/null +++ b/features/font-stretch.yml.dist @@ -0,0 +1,56 @@ +# Generated from: font-stretch.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2017-09-19 + baseline_high_date: 2020-03-19 + support: + chrome: "60" + chrome_android: "60" + edge: "12" + firefox: "9" + firefox_android: "9" + safari: "11" + safari_ios: "11" +compat_features: + # ⬇️ Same status as overall feature ⬇️ + # baseline: high + # baseline_low_date: 2017-09-19 + # baseline_high_date: 2020-03-19 + # support: + # chrome: "60" + # chrome_android: "60" + # edge: "12" + # firefox: "9" + # firefox_android: "9" + # safari: "11" + # safari_ios: "11" + - css.properties.font-stretch + - svg.global_attributes.font-stretch + + # baseline: high + # baseline_low_date: 2018-09-05 + # baseline_high_date: 2021-03-05 + # support: + # chrome: "62" + # chrome_android: "62" + # edge: "17" + # firefox: "62" + # firefox_android: "62" + # safari: "10.1" + # safari_ios: "10.3" + - css.at-rules.font-face.font-stretch + + # baseline: high + # baseline_low_date: 2018-10-02 + # baseline_high_date: 2021-04-02 + # support: + # chrome: "62" + # chrome_android: "62" + # edge: "18" + # firefox: "61" + # firefox_android: "61" + # safari: "11.1" + # safari_ios: "11.3" + - css.properties.font-stretch.percentage From c4f75a7127e0856b8cfa9427fa705573834315c5 Mon Sep 17 00:00:00 2001 From: James Stuckey Weber Date: Tue, 20 Aug 2024 15:54:34 -0400 Subject: [PATCH 05/14] Add font-size --- features/font-size.yml | 11 ++++++++ features/font-size.yml.dist | 55 +++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 features/font-size.yml create mode 100644 features/font-size.yml.dist diff --git a/features/font-size.yml b/features/font-size.yml new file mode 100644 index 00000000000..a3d6c1b3f6b --- /dev/null +++ b/features/font-size.yml @@ -0,0 +1,11 @@ +name: Font size +description: The `font-size` CSS property sets the text size. +spec: https://drafts.csswg.org/css-fonts-4/#font-size-prop +group: fonts +status: + compute_from: css.properties.font-size +compat_features: + - css.properties.font-size + - css.properties.font-size.rem_values + - css.properties.font-size.xxx-large + - svg.global_attributes.font-size diff --git a/features/font-size.yml.dist b/features/font-size.yml.dist new file mode 100644 index 00000000000..4aeb6e0b74b --- /dev/null +++ b/features/font-size.yml.dist @@ -0,0 +1,55 @@ +# Generated from: font-size.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.properties.font-size + - svg.global_attributes.font-size + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "31" + # chrome_android: "42" + # edge: "12" + # firefox: "31" + # firefox_android: "31" + # safari: "7" + # safari_ios: "7" + - css.properties.font-size.rem_values + + # baseline: low + # baseline_low_date: 2023-03-27 + # support: + # chrome: "79" + # chrome_android: "79" + # edge: "79" + # firefox: "70" + # firefox_android: "79" + # safari: "16.4" + # safari_ios: "16.4" + - css.properties.font-size.xxx-large From fc2c0871ff392c2738dd3a715876af3c39df1034 Mon Sep 17 00:00:00 2001 From: James Stuckey Weber Date: Tue, 20 Aug 2024 15:55:59 -0400 Subject: [PATCH 06/14] Edit Font weight --- features/font-weight.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/features/font-weight.yml b/features/font-weight.yml index 79e133d4880..1d8a9ce7eb7 100644 --- a/features/font-weight.yml +++ b/features/font-weight.yml @@ -1,10 +1,10 @@ -name: font-weight +name: Font weight description: The `font-weight` CSS property controls the thickness of a font. It is set explicitly with the keyword `bold` or a number, or relative to the inherited thickness with the keywords `bolder` or `lighter`. spec: https://drafts.csswg.org/css-fonts-4/#font-weight-prop group: fonts status: compute_from: css.properties.font-weight -compat_features: +compat_features: - css.at-rules.font-face.font-weight - css.properties.font-weight - css.properties.font-weight.bold @@ -13,4 +13,3 @@ compat_features: - css.properties.font-weight.normal - css.properties.font-weight.number - svg.global_attributes.font-weight - \ No newline at end of file From 8b6d1727d8b1fb7f5388754479185f9f4ac639f9 Mon Sep 17 00:00:00 2001 From: James Stuckey Weber Date: Wed, 21 Aug 2024 14:14:42 -0400 Subject: [PATCH 07/14] Adjust names --- features/font-size.yml | 2 +- features/font-stretch.yml | 2 +- features/font-weight.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/features/font-size.yml b/features/font-size.yml index a3d6c1b3f6b..659c030897d 100644 --- a/features/font-size.yml +++ b/features/font-size.yml @@ -1,4 +1,4 @@ -name: Font size +name: font-size description: The `font-size` CSS property sets the text size. spec: https://drafts.csswg.org/css-fonts-4/#font-size-prop group: fonts diff --git a/features/font-stretch.yml b/features/font-stretch.yml index f6689c82000..ebe47250871 100644 --- a/features/font-stretch.yml +++ b/features/font-stretch.yml @@ -1,4 +1,4 @@ -name: Font stretch +name: font-stretch description: The `font-stretch` CSS property selects a font face from a font family based on width, either by a keyword such as "condensed" or a percentage. The `font-stretch` property will be replaced by `font-width`. spec: https://drafts.csswg.org/css-fonts-4/#font-stretch-prop group: fonts diff --git a/features/font-weight.yml b/features/font-weight.yml index 1d8a9ce7eb7..3739982ece2 100644 --- a/features/font-weight.yml +++ b/features/font-weight.yml @@ -1,4 +1,4 @@ -name: Font weight +name: font-weight description: The `font-weight` CSS property controls the thickness of a font. It is set explicitly with the keyword `bold` or a number, or relative to the inherited thickness with the keywords `bolder` or `lighter`. spec: https://drafts.csswg.org/css-fonts-4/#font-weight-prop group: fonts From 91656d94aecbd438ac34088c61a00a158ddbcbfc Mon Sep 17 00:00:00 2001 From: James Stuckey Weber Date: Wed, 21 Aug 2024 14:34:20 -0400 Subject: [PATCH 08/14] Add system font --- features/font-family-system.yml | 6 ++++++ features/font-family-system.yml.dist | 17 +++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 features/font-family-system.yml create mode 100644 features/font-family-system.yml.dist diff --git a/features/font-family-system.yml b/features/font-family-system.yml new file mode 100644 index 00000000000..1fcaca3aa61 --- /dev/null +++ b/features/font-family-system.yml @@ -0,0 +1,6 @@ +name: System font +description: The `system-ui` CSS value for `font-family` is the default UI font. +spec: https://drafts.csswg.org/css-fonts-4/#system-ui-def +caniuse: font-family-system-ui +compat_features: + - css.properties.font-family.system-ui \ No newline at end of file diff --git a/features/font-family-system.yml.dist b/features/font-family-system.yml.dist new file mode 100644 index 00000000000..3182b99f927 --- /dev/null +++ b/features/font-family-system.yml.dist @@ -0,0 +1,17 @@ +# Generated from: font-family-system.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2021-09-07 + baseline_high_date: 2024-03-07 + support: + chrome: "56" + chrome_android: "56" + edge: "79" + firefox: "92" + firefox_android: "92" + safari: "11" + safari_ios: "11" +compat_features: + - css.properties.font-family.system-ui From dda6915ac12c3db886324f86c3e5fa272500e942 Mon Sep 17 00:00:00 2001 From: James Stuckey Weber Date: Wed, 21 Aug 2024 14:42:17 -0400 Subject: [PATCH 09/14] Add font-family-math --- features/font-family-math.yml | 5 +++++ features/font-family-math.yml.dist | 11 +++++++++++ features/font-family-system.yml | 2 +- 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 features/font-family-math.yml create mode 100644 features/font-family-math.yml.dist diff --git a/features/font-family-math.yml b/features/font-family-math.yml new file mode 100644 index 00000000000..6840e95e096 --- /dev/null +++ b/features/font-family-math.yml @@ -0,0 +1,5 @@ +name: Math font family +description: The `math` CSS value for `font-family` is a font face for displaying mathematical expressions. +spec: https://drafts.csswg.org/css-fonts-4/#math-def +compat_features: + - css.properties.font-family.math diff --git a/features/font-family-math.yml.dist b/features/font-family-math.yml.dist new file mode 100644 index 00000000000..5fde06b32d0 --- /dev/null +++ b/features/font-family-math.yml.dist @@ -0,0 +1,11 @@ +# Generated from: font-family-math.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: + chrome: "109" + chrome_android: "109" + edge: "109" +compat_features: + - css.properties.font-family.math diff --git a/features/font-family-system.yml b/features/font-family-system.yml index 1fcaca3aa61..bac804576d2 100644 --- a/features/font-family-system.yml +++ b/features/font-family-system.yml @@ -3,4 +3,4 @@ description: The `system-ui` CSS value for `font-family` is the default UI font. spec: https://drafts.csswg.org/css-fonts-4/#system-ui-def caniuse: font-family-system-ui compat_features: - - css.properties.font-family.system-ui \ No newline at end of file + - css.properties.font-family.system-ui From 2920b398a4f807252e7820ec042b30f7f9fdbd46 Mon Sep 17 00:00:00 2001 From: James Stuckey Weber Date: Wed, 21 Aug 2024 14:42:30 -0400 Subject: [PATCH 10/14] Add font-family --- features/font-family.yml | 7 +++++++ features/font-family.yml.dist | 18 ++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 features/font-family.yml create mode 100644 features/font-family.yml.dist diff --git a/features/font-family.yml b/features/font-family.yml new file mode 100644 index 00000000000..a5d7dce8248 --- /dev/null +++ b/features/font-family.yml @@ -0,0 +1,7 @@ +name: font-family +description: The `font-family` CSS property sets the font face for text. +spec: https://drafts.csswg.org/css-fonts-4/#font-family-prop +group: fonts +compat_features: + - css.properties.font-family + - svg.global_attributes.font-family diff --git a/features/font-family.yml.dist b/features/font-family.yml.dist new file mode 100644 index 00000000000..c32620e7274 --- /dev/null +++ b/features/font-family.yml.dist @@ -0,0 +1,18 @@ +# Generated from: font-family.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.properties.font-family + - svg.global_attributes.font-family From 6dda592e3dd40957688253ad2d30af47bf0eeb8a Mon Sep 17 00:00:00 2001 From: James Stuckey Weber Date: Wed, 21 Aug 2024 16:50:55 -0400 Subject: [PATCH 11/14] Add font shorthand --- features/font-shorthand.yml | 6 ++++++ features/font-shorthand.yml.dist | 17 +++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 features/font-shorthand.yml create mode 100644 features/font-shorthand.yml.dist diff --git a/features/font-shorthand.yml b/features/font-shorthand.yml new file mode 100644 index 00000000000..d14ce881427 --- /dev/null +++ b/features/font-shorthand.yml @@ -0,0 +1,6 @@ +name: Font shorthand +description: The `font` CSS property shorthand sets multiple font properties, including style, weight, size, and font family. +spec: https://drafts.csswg.org/css-fonts-4/#font-prop +group: fonts +compat_features: + - css.properties.font diff --git a/features/font-shorthand.yml.dist b/features/font-shorthand.yml.dist new file mode 100644 index 00000000000..e7c5ab6206e --- /dev/null +++ b/features/font-shorthand.yml.dist @@ -0,0 +1,17 @@ +# Generated from: font-shorthand.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.properties.font From 9495e64d789c63a029bb22f8f8302b7d71cdd076 Mon Sep 17 00:00:00 2001 From: James Stuckey Weber Date: Wed, 4 Sep 2024 15:26:46 -0400 Subject: [PATCH 12/14] Font description updates --- features/font-family-math.yml | 2 +- features/font-family-system.yml | 2 +- features/font-family.yml | 2 +- features/font-metric-overrides.yml | 2 +- features/font-style.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/features/font-family-math.yml b/features/font-family-math.yml index 6840e95e096..7f88f326339 100644 --- a/features/font-family-math.yml +++ b/features/font-family-math.yml @@ -1,5 +1,5 @@ name: Math font family -description: The `math` CSS value for `font-family` is a font face for displaying mathematical expressions. +description: The generic `math` font keyword for `font-family` refers to the browser default font face for displaying mathematical expressions. spec: https://drafts.csswg.org/css-fonts-4/#math-def compat_features: - css.properties.font-family.math diff --git a/features/font-family-system.yml b/features/font-family-system.yml index bac804576d2..7907e78cbca 100644 --- a/features/font-family-system.yml +++ b/features/font-family-system.yml @@ -1,5 +1,5 @@ name: System font -description: The `system-ui` CSS value for `font-family` is the default UI font. +description: The generic `system-ui` font keyword for `font-family` refers to the operating system default interface font. spec: https://drafts.csswg.org/css-fonts-4/#system-ui-def caniuse: font-family-system-ui compat_features: diff --git a/features/font-family.yml b/features/font-family.yml index a5d7dce8248..31b98c6152f 100644 --- a/features/font-family.yml +++ b/features/font-family.yml @@ -1,5 +1,5 @@ name: font-family -description: The `font-family` CSS property sets the font face for text. +description: The `font-family` CSS property sets the desired font face for text, along with optional fallback font faces. spec: https://drafts.csswg.org/css-fonts-4/#font-family-prop group: fonts compat_features: diff --git a/features/font-metric-overrides.yml b/features/font-metric-overrides.yml index 1e7841c6bc9..0a108c2d98d 100644 --- a/features/font-metric-overrides.yml +++ b/features/font-metric-overrides.yml @@ -1,5 +1,5 @@ name: Font metric overrides -description: The `ascent-override`, `descent-override` and `line-gap-override` CSS properties adjust the display of a font declared in an `@font-face`. This can help make fallback fonts look the same size. +description: The `ascent-override`, `descent-override` and `line-gap-override` descriptors adjust the display of a font declared in an `@font-face`. This can help make fallback fonts look the same size. spec: https://drafts.csswg.org/css-fonts-4/#font-metrics-override-desc group: fonts compat_features: diff --git a/features/font-style.yml b/features/font-style.yml index 217c4bd247e..62ed3885fe3 100644 --- a/features/font-style.yml +++ b/features/font-style.yml @@ -1,5 +1,5 @@ name: font-style -description: The `font-style` CSS property sets the text style, with `italic` and `oblique` options. +description: The `font-style` CSS property sets the text style, with `normal`, `italic`, and `oblique` options. spec: https://drafts.csswg.org/css-fonts-4/#font-style-prop group: fonts status: From 946f707cd832b2e4ca57155c871cfac606809f4b Mon Sep 17 00:00:00 2001 From: James Stuckey Weber Date: Wed, 18 Sep 2024 12:25:07 -0400 Subject: [PATCH 13/14] Include full declaration in description --- features/font-family-math.yml | 2 +- features/font-family-system.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/features/font-family-math.yml b/features/font-family-math.yml index 7f88f326339..99bbb07f8f6 100644 --- a/features/font-family-math.yml +++ b/features/font-family-math.yml @@ -1,5 +1,5 @@ name: Math font family -description: The generic `math` font keyword for `font-family` refers to the browser default font face for displaying mathematical expressions. +description: The `font-family:\ math` CSS declaration uses the browser default font face for displaying mathematical expressions. spec: https://drafts.csswg.org/css-fonts-4/#math-def compat_features: - css.properties.font-family.math diff --git a/features/font-family-system.yml b/features/font-family-system.yml index 7907e78cbca..35d91db93c1 100644 --- a/features/font-family-system.yml +++ b/features/font-family-system.yml @@ -1,5 +1,5 @@ name: System font -description: The generic `system-ui` font keyword for `font-family` refers to the operating system default interface font. +description: The `font-family:\ system-ui` CSS declaration uses the operating system default font for text. spec: https://drafts.csswg.org/css-fonts-4/#system-ui-def caniuse: font-family-system-ui compat_features: From e21faabba2aa9fdaf2fabe569617a38389a406dc Mon Sep 17 00:00:00 2001 From: James Stuckey Weber Date: Mon, 23 Sep 2024 10:00:01 -0400 Subject: [PATCH 14/14] Update descriptions --- features/font-family-math.yml | 2 +- features/font-family-system.yml | 2 +- features/font-metric-overrides.yml | 2 +- features/font-size.yml | 2 +- features/font-stretch.yml | 3 ++- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/features/font-family-math.yml b/features/font-family-math.yml index 99bbb07f8f6..4bfc0ad13b3 100644 --- a/features/font-family-math.yml +++ b/features/font-family-math.yml @@ -1,5 +1,5 @@ name: Math font family -description: The `font-family:\ math` CSS declaration uses the browser default font face for displaying mathematical expressions. +description: "The `font-family: math` CSS declaration uses the browser default font face for displaying mathematical expressions." spec: https://drafts.csswg.org/css-fonts-4/#math-def compat_features: - css.properties.font-family.math diff --git a/features/font-family-system.yml b/features/font-family-system.yml index 35d91db93c1..7e64a7be344 100644 --- a/features/font-family-system.yml +++ b/features/font-family-system.yml @@ -1,5 +1,5 @@ name: System font -description: The `font-family:\ system-ui` CSS declaration uses the operating system default font for text. +description: "The `font-family: system-ui` CSS declaration uses the operating system default font for text." spec: https://drafts.csswg.org/css-fonts-4/#system-ui-def caniuse: font-family-system-ui compat_features: diff --git a/features/font-metric-overrides.yml b/features/font-metric-overrides.yml index 0a108c2d98d..aceec91cb85 100644 --- a/features/font-metric-overrides.yml +++ b/features/font-metric-overrides.yml @@ -1,5 +1,5 @@ name: Font metric overrides -description: The `ascent-override`, `descent-override` and `line-gap-override` descriptors adjust the display of a font declared in an `@font-face`. This can help make fallback fonts look the same size. +description: The `ascent-override`, `descent-override`, and `line-gap-override` descriptors adjust the display of a font declared in an `@font-face` statement. This can help make fallback fonts look the same size. spec: https://drafts.csswg.org/css-fonts-4/#font-metrics-override-desc group: fonts compat_features: diff --git a/features/font-size.yml b/features/font-size.yml index 659c030897d..fd33c6d2068 100644 --- a/features/font-size.yml +++ b/features/font-size.yml @@ -1,5 +1,5 @@ name: font-size -description: The `font-size` CSS property sets the text size. +description: The `font-size` CSS property sets the text height. spec: https://drafts.csswg.org/css-fonts-4/#font-size-prop group: fonts status: diff --git a/features/font-stretch.yml b/features/font-stretch.yml index ebe47250871..6aa105ef054 100644 --- a/features/font-stretch.yml +++ b/features/font-stretch.yml @@ -1,5 +1,6 @@ name: font-stretch -description: The `font-stretch` CSS property selects a font face from a font family based on width, either by a keyword such as "condensed" or a percentage. The `font-stretch` property will be replaced by `font-width`. +description: The `font-stretch` CSS property selects a font face from a font family based on width, either by a keyword such as `condensed` or a percentage. +# Note: `font-stretch` will become an alias to `font-width`: https://drafts.csswg.org/css-fonts/#font-stretch-desc spec: https://drafts.csswg.org/css-fonts-4/#font-stretch-prop group: fonts caniuse: css-font-stretch