From 52ba57c4ecbaeb90abdf97c2f09a8bc9c7eea80b Mon Sep 17 00:00:00 2001 From: "Daniel D. Beck" Date: Wed, 5 Feb 2025 14:04:56 +0100 Subject: [PATCH 1/2] Add a feature for `ui-` `font-family` values --- features/font-family-ui.yml | 9 +++++++++ features/font-family-ui.yml.dist | 13 +++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 features/font-family-ui.yml create mode 100644 features/font-family-ui.yml.dist diff --git a/features/font-family-ui.yml b/features/font-family-ui.yml new file mode 100644 index 00000000000..cd3d3cbca21 --- /dev/null +++ b/features/font-family-ui.yml @@ -0,0 +1,9 @@ +name: UI fonts +description: The `ui-serif`, `ui-sans-serif`, `ui-monospace` and `ui-rounded` values for the `font-family` CSS property use device-default user interface fonts for text. +spec: https://drafts.csswg.org/css-fonts-4/#ui-serif-def +caniuse: extended-system-fonts +compat_features: + - css.properties.font-family.ui-monospace + - css.properties.font-family.ui-rounded + - css.properties.font-family.ui-sans-serif + - css.properties.font-family.ui-serif diff --git a/features/font-family-ui.yml.dist b/features/font-family-ui.yml.dist new file mode 100644 index 00000000000..7973d518a22 --- /dev/null +++ b/features/font-family-ui.yml.dist @@ -0,0 +1,13 @@ +# Generated from: font-family-ui.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: + safari: "13.1" + safari_ios: "13.4" +compat_features: + - css.properties.font-family.ui-monospace + - css.properties.font-family.ui-rounded + - css.properties.font-family.ui-sans-serif + - css.properties.font-family.ui-serif From 8b49a833d0b15a6fbad563f18b6773e56b4ee660 Mon Sep 17 00:00:00 2001 From: "Daniel D. Beck" Date: Thu, 6 Feb 2025 17:46:00 +0100 Subject: [PATCH 2/2] Group with fonts Co-authored-by: James Stuckey Weber --- features/font-family-ui.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/features/font-family-ui.yml b/features/font-family-ui.yml index cd3d3cbca21..aa71aae75ec 100644 --- a/features/font-family-ui.yml +++ b/features/font-family-ui.yml @@ -2,6 +2,7 @@ name: UI fonts description: The `ui-serif`, `ui-sans-serif`, `ui-monospace` and `ui-rounded` values for the `font-family` CSS property use device-default user interface fonts for text. spec: https://drafts.csswg.org/css-fonts-4/#ui-serif-def caniuse: extended-system-fonts +group: fonts compat_features: - css.properties.font-family.ui-monospace - css.properties.font-family.ui-rounded