From 082e6a36c2648045cb9a214b9cfbbcbf95853606 Mon Sep 17 00:00:00 2001 From: estelle Date: Fri, 9 Aug 2024 12:09:20 -0700 Subject: [PATCH 1/6] asColorOrAbsoluteURL --- css/properties.json | 48 ++++++++++++++++++++++++++++++++++++++ css/properties.schema.json | 2 ++ l10n/css.json | 6 +++++ 3 files changed, 56 insertions(+) diff --git a/css/properties.json b/css/properties.json index a76840de..86e55c33 100644 --- a/css/properties.json +++ b/css/properties.json @@ -4685,6 +4685,54 @@ "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/field-sizing" }, + "fill": { + "syntax": "none | | [none | ]? | context-fill | context-stroke", + "media": "visual", + "inherited": true, + "animationType": "byComputedValueType", + "percentages": "no", + "groups": [ + "Scalable Vector Graphics" + ], + "initial": "black", + "appliesto": "limitedSVGElementsShapeText", + "computed": "asColorOrAbsoluteURL", + "order": "perGrammar", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/fill" + }, + "fill-opacity": { + "syntax": "", + "media": "visual", + "inherited": false, + "animationType": "byComputedValueType", + "percentages": "mapToRange0To1", + "groups": [ + "Scalable Vector Graphics" + ], + "initial": "1", + "appliesto": "limitedSVGElementsShapeText", + "computed": "specifiedValueNumberClipped0To1", + "order": "perGrammar", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/fill-opacity" + }, + "fill-rule": { + "syntax": "nonzero | evenodd", + "media": "visual", + "inherited": true, + "animationType": "discrete", + "percentages": "no", + "groups": [ + "Scalable Vector Graphics" + ], + "initial": "nonzero", + "appliesto": "limitedSVGElementsShapeText", + "computed": "asSpecified", + "order": "perGrammar", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/fill-rule" + }, "filter": { "syntax": "none | ", "media": "visual", diff --git a/css/properties.schema.json b/css/properties.schema.json index 0a527156..0a0e5586 100644 --- a/css/properties.schema.json +++ b/css/properties.schema.json @@ -116,6 +116,7 @@ "absoluteURIOrNone", "angleRoundedToNextQuarter", "asAutoOrColor", + "asColorOrAbsoluteURL", "asDefinedForBasicShapeWithAbsoluteURIOtherwiseAsSpecified", "asLength", "asSpecified", @@ -243,6 +244,7 @@ "limitedSVGElementsEllipse", "limitedSVGElementsEllipseRect", "limitedSVGElementsGeometry", + "limitedSVGElementsShapeText", "listItems", "maskElements", "multicolElements", diff --git a/l10n/css.json b/l10n/css.json index 4a635830..026b4291 100644 --- a/l10n/css.json +++ b/l10n/css.json @@ -369,6 +369,9 @@ "de": "auto wird wie angegeben berechnet und <color> Werte werden wie für die {{cssxref(\"color\")}} Eigenschaft berechnet.", "ja": "auto は仕様通りに計算され、 <color> 値は {{cssxref(\"color\")}} プロパティで定義されたように計算される。" }, + "asColorOrAbsoluteURL": { + "en-US": "as specified, but with <color> values computed and <url> values made absolute" + }, "asDefinedForBasicShapeWithAbsoluteURIOtherwiseAsSpecified": { "de": "wie definiert für {{cssxref(\"basic-shape\")}} (gefolgt von {{cssxref(\"shape-box\")}}, falls angegeben), dem {{cssxref(\"image\")}}, dessen URI absolut gemacht wurde, ansonsten wie angegeben.", "en-US": "as defined for {{cssxref(\"basic-shape\")}} (with {{cssxref(\"shape-box\")}} following, if supplied), the {{cssxref(\"image\")}} with its URI made absolute, otherwise as specified.", @@ -959,6 +962,9 @@ "lengthsAsPercentages": { "en-US": "The lengths may be specified as percentages" }, + "limitedSVGElementsShapeText": { + "en-US": "SVG shapes and text content elements" + }, "limitedSVGElementsCircle": { "en-US": "{{SVGElement(\"circle\")}} element in {{SVGElement(\"svg\")}}" }, From f91db0096564574dfd0ad93d98613afc5ec3b670 Mon Sep 17 00:00:00 2001 From: Estelle Weyl Date: Fri, 9 Aug 2024 13:21:45 -0700 Subject: [PATCH 2/6] alphabetical order --- l10n/css.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/l10n/css.json b/l10n/css.json index 026b4291..4d96937e 100644 --- a/l10n/css.json +++ b/l10n/css.json @@ -962,20 +962,20 @@ "lengthsAsPercentages": { "en-US": "The lengths may be specified as percentages" }, - "limitedSVGElementsShapeText": { - "en-US": "SVG shapes and text content elements" - }, "limitedSVGElementsCircle": { "en-US": "{{SVGElement(\"circle\")}} element in {{SVGElement(\"svg\")}}" }, "limitedSVGElementsEllipse": { "en-US": "{{SVGElement(\"ellipse\")}} and {{SVGElement(\"circle\")}} elements in {{SVGElement(\"svg\")}}" }, + "limitedSVGElementsEllipseRect": { + "en-US": "{{SVGElement(\"ellipse\")}} and {{SVGElement(\"rect\")}} elements in {{SVGElement(\"svg\")}}" + }, "limitedSVGElementsGeometry": { "en-US": "{{SVGElement(\"svg\")}}, {{SVGElement(\"rect\")}}, {{SVGElement(\"image\")}}, and {{SVGElement(\"foreignObject\")}} elements in an svg" }, - "limitedSVGElementsEllipseRect": { - "en-US": "{{SVGElement(\"ellipse\")}} and {{SVGElement(\"rect\")}} elements in {{SVGElement(\"svg\")}}" + "limitedSVGElementsShapeText": { + "en-US": "SVG shapes and text content elements" }, "listEachItemConsistingOfAbsoluteLengthPercentageAndOrigin": { "de": "Eine Liste, bei der jeder Eintrag aus einem Versatz besteht, der durch eine Kombination aus absoluter Länge und einem Prozentsatz plus einem Ursprungsschlüsselwort definiert wird", From 945275e19ea80c58523b708c93022c2a2ce6d06c Mon Sep 17 00:00:00 2001 From: estelle Date: Fri, 9 Aug 2024 13:53:39 -0700 Subject: [PATCH 3/6] added d property --- css/properties.json | 16 ++++++++++++++++ l10n/css.json | 3 +++ 2 files changed, 19 insertions(+) diff --git a/css/properties.json b/css/properties.json index 86e55c33..8b488c9e 100644 --- a/css/properties.json +++ b/css/properties.json @@ -4589,6 +4589,22 @@ "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/cursor" }, + "d": { + "syntax": "none | path( [ , ]? )", + "media": "visual", + "inherited": false, + "animationType": "basicShape", + "percentages": "no", + "groups": [ + "Scalable Vector Graphics" + ], + "initial": "none", + "appliesto": "limitedSVGElementsPath", + "computed": "asSpecified", + "order": "perGrammar", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/d" + }, "cx": { "syntax": " | ", "media": "visual", diff --git a/l10n/css.json b/l10n/css.json index 4d96937e..5f370663 100644 --- a/l10n/css.json +++ b/l10n/css.json @@ -974,6 +974,9 @@ "limitedSVGElementsGeometry": { "en-US": "{{SVGElement(\"svg\")}}, {{SVGElement(\"rect\")}}, {{SVGElement(\"image\")}}, and {{SVGElement(\"foreignObject\")}} elements in an svg" }, + "limitedSVGElementsPath"": { + "en-US": "{{SVGElement(\"path\")}} element in {{SVGElement(\"svg\")}}" + }, "limitedSVGElementsShapeText": { "en-US": "SVG shapes and text content elements" }, From c14e37a1cfdaee00b7469387dd47f0d3ca7fb638 Mon Sep 17 00:00:00 2001 From: estelle Date: Fri, 9 Aug 2024 14:07:46 -0700 Subject: [PATCH 4/6] added d property --- css/properties.json | 2 +- l10n/css.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/css/properties.json b/css/properties.json index 8b488c9e..7a7987a1 100644 --- a/css/properties.json +++ b/css/properties.json @@ -4590,7 +4590,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/cursor" }, "d": { - "syntax": "none | path( [ , ]? )", + "syntax": "none | path()", "media": "visual", "inherited": false, "animationType": "basicShape", diff --git a/l10n/css.json b/l10n/css.json index 5f370663..6e24d69f 100644 --- a/l10n/css.json +++ b/l10n/css.json @@ -974,7 +974,7 @@ "limitedSVGElementsGeometry": { "en-US": "{{SVGElement(\"svg\")}}, {{SVGElement(\"rect\")}}, {{SVGElement(\"image\")}}, and {{SVGElement(\"foreignObject\")}} elements in an svg" }, - "limitedSVGElementsPath"": { + "limitedSVGElementsPath": { "en-US": "{{SVGElement(\"path\")}} element in {{SVGElement(\"svg\")}}" }, "limitedSVGElementsShapeText": { From 80a31012861f57360e42006dc06152a862066fe3 Mon Sep 17 00:00:00 2001 From: estelle Date: Fri, 9 Aug 2024 14:11:38 -0700 Subject: [PATCH 5/6] added d property --- css/properties.json | 2 +- css/properties.schema.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/css/properties.json b/css/properties.json index 7a7987a1..bdb7ab7a 100644 --- a/css/properties.json +++ b/css/properties.json @@ -4593,7 +4593,7 @@ "syntax": "none | path()", "media": "visual", "inherited": false, - "animationType": "basicShape", + "animationType": "basicShapeOtherwiseNo", "percentages": "no", "groups": [ "Scalable Vector Graphics" diff --git a/css/properties.schema.json b/css/properties.schema.json index 0a0e5586..bb98308f 100644 --- a/css/properties.schema.json +++ b/css/properties.schema.json @@ -244,6 +244,7 @@ "limitedSVGElementsEllipse", "limitedSVGElementsEllipseRect", "limitedSVGElementsGeometry", + "limitedSVGElementsPath", "limitedSVGElementsShapeText", "listItems", "maskElements", From db365d7b27d9724ceb3244d539d90ec500e4007a Mon Sep 17 00:00:00 2001 From: Estelle Weyl Date: Thu, 29 Aug 2024 08:35:02 -0700 Subject: [PATCH 6/6] Update css/properties.json --- css/properties.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/properties.json b/css/properties.json index 9ae202e3..102e03a9 100644 --- a/css/properties.json +++ b/css/properties.json @@ -4768,7 +4768,7 @@ "fill-opacity": { "syntax": "", "media": "visual", - "inherited": false, + "inherited": true, "animationType": "byComputedValueType", "percentages": "mapToRange0To1", "groups": [