From a55d079277644250b885b8c1093011b57dcbf08a Mon Sep 17 00:00:00 2001 From: yarusome <97945148+yarusome@users.noreply.github.com> Date: Wed, 29 Mar 2023 22:32:48 +0800 Subject: [PATCH 1/6] Add `noneOrOrderedListOfIdentifiers` --- l10n/css.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/l10n/css.json b/l10n/css.json index 06a5d1833..60496a67d 100644 --- a/l10n/css.json +++ b/l10n/css.json @@ -1047,6 +1047,9 @@ "ja": "none または画像の絶対化した URI", "ru": "none или изображение с абсолютным URI" }, + "noneOrOrderedListOfIdentifiers": { + "en-US": "none or an ordered list of identifiers" + }, "nonReplacedBlockAndInlineBlockElements": { "de": "nicht ersetzte Blocklevel Elemente und nicht ersetzte Inlineblock Elemente", "en-US": "non-replaced block-level elements and non-replaced inline-block elements", From 8f1f4b1a4020f63481539c39fec1a4ba82c29e7b Mon Sep 17 00:00:00 2001 From: yarusome <97945148+yarusome@users.noreply.github.com> Date: Wed, 29 Mar 2023 22:35:40 +0800 Subject: [PATCH 2/6] Add `container*` --- css/properties.json | 60 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/css/properties.json b/css/properties.json index e57ff9175..ca67d3247 100644 --- a/css/properties.json +++ b/css/properties.json @@ -4348,6 +4348,66 @@ "status": "experimental", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-width" }, + "container": { + "syntax": "<'container-name'> [ / <'container-type'> ]?", + "media": "visual", + "inherited": false, + "animationType": [ + "container-name", + "container-type" + ], + "percentages": [ + "container-name", + "container-type" + ], + "groups": [ + "CSS Containment" + ], + "initial": [ + "container-name", + "container-type" + ], + "appliesto": "allElements", + "computed": [ + "container-name", + "container-type" + ], + "order": "perGrammar", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/container" + }, + "container-name": { + "syntax": "none | +", + "media": "visual", + "inherited": false, + "animationType": "notAnimatable", + "percentages": "no", + "groups": [ + "CSS Containment" + ], + "initial": "none", + "appliesto": "allElements", + "computed": "noneOrOrderedListOfIdentifiers", + "order": "perGrammar", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/container-name" + }, + "container-type": { + "syntax": "normal | size | inline-size", + "media": "visual", + "inherited": false, + "animationType": "color", + "percentages": "no", + "groups": [ + "CSS Containment" + ], + "initial": "normal", + "appliesto": "allElements", + "computed": "asSpecified", + "order": "perGrammar", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/container-type" + }, "content": { "syntax": "normal | none | [ | ] [/ [ | ]+ ]?", "media": "all", From fb2d78045b3298c547fcad179bd971ec16b16ee7 Mon Sep 17 00:00:00 2001 From: yarusome <97945148+yarusome@users.noreply.github.com> Date: Wed, 29 Mar 2023 22:44:53 +0800 Subject: [PATCH 3/6] Correct key's spelling --- l10n/css.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l10n/css.json b/l10n/css.json index 60496a67d..387bcf096 100644 --- a/l10n/css.json +++ b/l10n/css.json @@ -923,7 +923,7 @@ "ja": "1 つの方向につき 2 つのキーワードで構成される項目のリスト", "ru": "список, каждый элемент которого содержит 2 ключевых слова, по одному на размер" }, - "listEachItemIdentifyerOrNoneAuto": { + "listEachItemIdentifierOrNoneAuto": { "en-US": "a list, each item either a case-sensitive CSS identifier or the keywords none, auto" }, "listEachItemTwoKeywordsOriginOffsets": { From e55908aad6ca0f5c3e1d8b27d2747b8022190a18 Mon Sep 17 00:00:00 2001 From: yarusome <97945148+yarusome@users.noreply.github.com> Date: Wed, 29 Mar 2023 22:45:37 +0800 Subject: [PATCH 4/6] Correct key's spelling --- css/properties.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/properties.json b/css/properties.json index ca67d3247..370be144d 100644 --- a/css/properties.json +++ b/css/properties.json @@ -1974,7 +1974,7 @@ ], "initial": "auto", "appliesto": "allElements", - "computed": "listEachItemIdentifyerOrNoneAuto", + "computed": "listEachItemIdentifierOrNoneAuto", "order": "uniqueOrder", "status": "experimental", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/animation-timeline" From 137b3a638ecfcd394771fb4807fe0847377a2eff Mon Sep 17 00:00:00 2001 From: Jean-Yves Perrier Date: Wed, 29 Mar 2023 21:03:22 +0200 Subject: [PATCH 5/6] Fix listEachItemIdentifierOrNoneAuto in schema --- css/properties.schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/properties.schema.json b/css/properties.schema.json index e777d5ee0..67c120baf 100644 --- a/css/properties.schema.json +++ b/css/properties.schema.json @@ -134,7 +134,7 @@ "lengthAbsolutePercentageAsSpecifiedOtherwiseAuto", "listEachItemConsistingOfAbsoluteLengthPercentageAndOrigin", "listEachItemHasTwoKeywordsOnePerDimension", - "listEachItemIdentifyerOrNoneAuto", + "listEachItemIdentifierOrNoneAuto", "listEachItemTwoKeywordsOriginOffsets", "noneOrImageWithAbsoluteURI", "normalizedAngle", From cf8af17c195e01dd2124f8d56c533f28ca2d72ac Mon Sep 17 00:00:00 2001 From: Jean-Yves Perrier Date: Thu, 30 Mar 2023 07:17:46 +0200 Subject: [PATCH 6/6] Update schema --- css/properties.schema.json | 1 + 1 file changed, 1 insertion(+) diff --git a/css/properties.schema.json b/css/properties.schema.json index 67c120baf..5a8cc42bf 100644 --- a/css/properties.schema.json +++ b/css/properties.schema.json @@ -137,6 +137,7 @@ "listEachItemIdentifierOrNoneAuto", "listEachItemTwoKeywordsOriginOffsets", "noneOrImageWithAbsoluteURI", + "noneOrOrderedListOfIdentifiers", "normalizedAngle", "normalOnElementsForPseudosNoneAbsoluteURIStringOrAsSpecified", "oneToFourPercentagesOrAbsoluteLengthsPlusFill",