From 3df37e7c4aa9044dc0634821ec1b10e656074a07 Mon Sep 17 00:00:00 2001 From: Chris Mills Date: Thu, 25 Apr 2024 16:57:51 +0100 Subject: [PATCH] feat(css): add field-sizing property (#718) * Add field-sizing property * Add group to field-sizing * Update field-sizing initial and appliesto fields --- css/properties.json | 16 ++++++++++++++++ css/properties.schema.json | 1 + l10n/css.json | 3 +++ 3 files changed, 20 insertions(+) diff --git a/css/properties.json b/css/properties.json index 2a2ff357..a8391542 100644 --- a/css/properties.json +++ b/css/properties.json @@ -4637,6 +4637,22 @@ "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/empty-cells" }, + "field-sizing": { + "syntax": "content | fixed", + "media": "visual", + "inherited": false, + "animationType": "discrete", + "percentages": "no", + "groups": [ + "CSS Basic User Interface" + ], + "initial": "fixed", + "appliesto": "elementsWithDefaultPreferredSize", + "computed": "asSpecified", + "order": "perGrammar", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/field-sizing" + }, "filter": { "syntax": "none | ", "media": "visual", diff --git a/css/properties.schema.json b/css/properties.schema.json index e08b1ba0..98672695 100644 --- a/css/properties.schema.json +++ b/css/properties.schema.json @@ -211,6 +211,7 @@ "elementsForWhichLayoutContainmentCanApply", "elementsForWhichSizeContainmentCanApply", "elementsThatAcceptInput", + "elementsWithDefaultPreferredSize", "elementsWithDisplayBoxOrInlineBox", "elementsWithDisplayMarker", "elementsWithDisplayMozBoxMozInlineBox", diff --git a/l10n/css.json b/l10n/css.json index 5e5a021b..18111a4f 100644 --- a/l10n/css.json +++ b/l10n/css.json @@ -676,6 +676,9 @@ "elementsForWhichSizeContainmentCanApply": { "en-US": "elements for which size containment can apply" }, + "elementsWithDefaultPreferredSize": { + "en-US": "Elements with default preferred size" + }, "elementsWithDisplayBoxOrInlineBox": { "de": "Elemente mit einem CSS {{cssxref(\"display\")}} Wert von box oder inline-box", "en-US": "elements with a CSS {{cssxref(\"display\")}} value of box or inline-box",