diff --git a/features/draft/text-box-trim.yml b/features/draft/text-box-trim.yml deleted file mode 100644 index 461cfdfb89b..00000000000 --- a/features/draft/text-box-trim.yml +++ /dev/null @@ -1,5 +0,0 @@ -# TODO: Publish when supported by some browser. -draft_date: 2024-04-30 -name: text-box-trim -description: The `text-box-trim` CSS property removes the additional space above and below text which is normally reserved for ascenders and descenders. -spec: https://drafts.csswg.org/css-inline-3/#leading-trim diff --git a/features/draft/text-box-trim.yml.dist b/features/draft/text-box-trim.yml.dist deleted file mode 100644 index 48fbdd95df5..00000000000 --- a/features/draft/text-box-trim.yml.dist +++ /dev/null @@ -1,6 +0,0 @@ -# Generated from: text-box-trim.yml -# Do not edit this file by hand. Edit the source file instead! - -status: - baseline: false - support: {} diff --git a/features/text-box.yml b/features/text-box.yml new file mode 100644 index 00000000000..c669c87034a --- /dev/null +++ b/features/text-box.yml @@ -0,0 +1,15 @@ +name: text-box +description: "The `text-box` CSS property sets the spacing above and below text based on a font's typographic features. For example, `text-box: trim-both ex alphabetic` trims the top to the top of the letter x and the bottom to the bottom of most letters, without descenders." +spec: https://drafts.csswg.org/css-inline-3/#leading-trim +group: text +caniuse: css-text-box-trim +compat_features: + - css.properties.text-box + - css.properties.text-box-edge + - css.properties.text-box-edge.auto + - css.properties.text-box-trim + - css.properties.text-box-trim.none + - css.properties.text-box-trim.trim-both + - css.properties.text-box-trim.trim-end + - css.properties.text-box-trim.trim-start + - css.properties.text-box.normal diff --git a/features/text-box.yml.dist b/features/text-box.yml.dist new file mode 100644 index 00000000000..67b23ec9d1d --- /dev/null +++ b/features/text-box.yml.dist @@ -0,0 +1,16 @@ +# Generated from: text-box.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: {} +compat_features: + - css.properties.text-box + - css.properties.text-box-edge + - css.properties.text-box-edge.auto + - css.properties.text-box-trim + - css.properties.text-box-trim.none + - css.properties.text-box-trim.trim-both + - css.properties.text-box-trim.trim-end + - css.properties.text-box-trim.trim-start + - css.properties.text-box.normal