diff --git a/css/functions.json b/css/functions.json index cd63d9f9..6974f4cd 100644 --- a/css/functions.json +++ b/css/functions.json @@ -466,7 +466,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/font-palette/palette-mix" }, "path()": { - "syntax": "path( [ , ]? )", + "syntax": "path( <'fill-rule'>? , )", "groups": [ "CSS Shapes", "CSS Motion Path" @@ -483,7 +483,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/transform-function/perspective" }, "polygon()": { - "syntax": "polygon( ? , [ ]# )", + "syntax": "polygon( <'fill-rule'>? , [ ]# )", "groups": [ "CSS Shapes" ], diff --git a/css/syntaxes.json b/css/syntaxes.json index 20e41cd8..59d0cd7b 100644 --- a/css/syntaxes.json +++ b/css/syntaxes.json @@ -341,9 +341,6 @@ "feature-value-name": { "syntax": "" }, - "fill-rule": { - "syntax": "nonzero | evenodd" - }, "filter-function": { "syntax": " | | | | | | | | | " }, @@ -675,7 +672,7 @@ "syntax": "palette-mix( , [ [normal | light | dark | | ] && ? ]#{2})" }, "path()": { - "syntax": "path( [ , ]? )" + "syntax": "path( <'fill-rule'>? , )" }, "perspective()": { "syntax": "perspective( [ | none ] )" @@ -684,7 +681,7 @@ "syntax": "hsl | hwb | lch | oklch" }, "polygon()": { - "syntax": "polygon( ? , [ ]# )" + "syntax": "polygon( <'fill-rule'>? , [ ]# )" }, "position": { "syntax": "[ [ left | center | right ] || [ top | center | bottom ] | [ left | center | right | ] [ top | center | bottom | ]? | [ [ left | right ] ] && [ [ top | bottom ] ] ]"