Skip to content

Commit 692e827

Browse files
feat: Add data for the path-length property (#1081)
* Add data for the path-length property * Add new syntaxes to schema lists
1 parent 318c8da commit 692e827

3 files changed

Lines changed: 24 additions & 0 deletions

File tree

css/properties.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9245,6 +9245,22 @@
92459245
"status": "standard",
92469246
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/paint-order"
92479247
},
9248+
"path-length": {
9249+
"syntax": "none | <length> [0,∞]",
9250+
"media": "visual",
9251+
"inherited": false,
9252+
"animationType": "byComputedValue",
9253+
"percentages": "no",
9254+
"groups": [
9255+
"Scalable Vector Graphics"
9256+
],
9257+
"initial": "none",
9258+
"appliesto": "pathCircleEllipseLinePolygonPolylineRect",
9259+
"computed": "noneOrAbsoluteLength",
9260+
"order": "uniqueOrder",
9261+
"status": "standard",
9262+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/path-length"
9263+
},
92489264
"perspective": {
92499265
"syntax": "none | <length>",
92509266
"media": "visual",

css/properties.schema.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@
154154
"listEachItemIdentifierOrNoneAuto",
155155
"listEachItemTwoKeywordsOriginOffsets",
156156
"listOfNoneAutoIdentScrollOrView",
157+
"noneOrAbsoluteLength",
157158
"noneOrImageWithAbsoluteURI",
158159
"noneOrOrderedListOfIdentifiers",
159160
"normalizedAngle",
@@ -284,6 +285,7 @@
284285
"nonReplacedBlockElements",
285286
"nonReplacedElements",
286287
"nonReplacedInlineElements",
288+
"pathCircleEllipseLinePolygonPolylineRect",
287289
"positionedElements",
288290
"positionedElementsWithADefaultAnchorElement",
289291
"replacedElements",

l10n/css.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1286,6 +1286,9 @@
12861286
"ru": "<code>none</code> (но это значение перезаписано в дефолтном CSS браузера)",
12871287
"zh-TW": "<code>none</code>(但此值會在使用者代理 CSS 中被覆寫)"
12881288
},
1289+
"noneOrAbsoluteLength": {
1290+
"en-US": "The keyword <code>none</code> or an absolute length."
1291+
},
12891292
"noneOrImageWithAbsoluteURI": {
12901293
"de": "<code>none</code> oder das Bild mit absoluter URI",
12911294
"en-US": "<code>none</code> or the image with its URI made absolute",
@@ -1410,6 +1413,9 @@
14101413
"ja": "形式文法における値の出現順",
14111414
"ru": "порядок появления в формальной грамматике значений"
14121415
},
1416+
"pathCircleEllipseLinePolygonPolylineRect": {
1417+
"en-US": "The SVG {{SVGElement(\"path\")}}, {{SVGElement(\"circle\")}}, {{SVGElement(\"ellipse\")}}, {{SVGElement(\"line\")}}, {{SVGElement(\"polygon\")}}, {{SVGElement(\"polyline\")}}, and {{SVGElement(\"rect\")}} elements."
1418+
},
14131419
"percentage": {
14141420
"en-US": "percentage",
14151421
"fr": "pourcentage"

0 commit comments

Comments
 (0)