From e0244abb100bb2f144f02e8c55fc247636d98ddc Mon Sep 17 00:00:00 2001 From: James Stuckey Weber Date: Fri, 1 Nov 2024 09:43:21 -0400 Subject: [PATCH 1/2] Add rhythmic sizing --- features/rhythmic-sizing.yml | 6 ++++++ features/rhythmic-sizing.yml.dist | 8 ++++++++ 2 files changed, 14 insertions(+) create mode 100644 features/rhythmic-sizing.yml create mode 100644 features/rhythmic-sizing.yml.dist diff --git a/features/rhythmic-sizing.yml b/features/rhythmic-sizing.yml new file mode 100644 index 00000000000..a899069e14f --- /dev/null +++ b/features/rhythmic-sizing.yml @@ -0,0 +1,6 @@ +name: Rhythmic sizing +description: The `line-height-step` CSS property sets the spacing between body text baselines and rounds the spacing for taller lines like headings up to the next multiple of the body text spacing to create vertical rhythm. Also called rhythmic sizing. +spec: https://drafts.csswg.org/css-rhythm-1/ +group: text +compat_features: + - css.properties.line-height-step diff --git a/features/rhythmic-sizing.yml.dist b/features/rhythmic-sizing.yml.dist new file mode 100644 index 00000000000..42b904eaf87 --- /dev/null +++ b/features/rhythmic-sizing.yml.dist @@ -0,0 +1,8 @@ +# Generated from: rhythmic-sizing.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: {} +compat_features: + - css.properties.line-height-step From b2c8a0a98e4d091e921615968f03b6b860a2bffd Mon Sep 17 00:00:00 2001 From: James Stuckey Weber Date: Mon, 4 Nov 2024 12:30:46 -0500 Subject: [PATCH 2/2] Update features/rhythmic-sizing.yml Co-authored-by: Daniel D. Beck --- features/rhythmic-sizing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/rhythmic-sizing.yml b/features/rhythmic-sizing.yml index a899069e14f..cb61aa6d0a3 100644 --- a/features/rhythmic-sizing.yml +++ b/features/rhythmic-sizing.yml @@ -1,5 +1,5 @@ name: Rhythmic sizing -description: The `line-height-step` CSS property sets the spacing between body text baselines and rounds the spacing for taller lines like headings up to the next multiple of the body text spacing to create vertical rhythm. Also called rhythmic sizing. +description: The `line-height-step` CSS property creates consistent vertical rhythm by setting the spacing between body text baselines. It rounds taller lines like headings up to the next multiple of the body text spacing. spec: https://drafts.csswg.org/css-rhythm-1/ group: text compat_features: