diff --git a/css/functions.json b/css/functions.json index fa4a71c6..0e5b049d 100644 --- a/css/functions.json +++ b/css/functions.json @@ -464,7 +464,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" @@ -481,7 +481,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 965edc64..7520bf2f 100644 --- a/css/syntaxes.json +++ b/css/syntaxes.json @@ -329,9 +329,6 @@ "feature-value-name": { "syntax": "" }, - "fill-rule": { - "syntax": "nonzero | evenodd" - }, "filter-function": { "syntax": " | | | | | | | | | " }, @@ -663,7 +660,7 @@ "syntax": "palette-mix( , [ [normal | light | dark | | ] && ? ]#{2})" }, "path()": { - "syntax": "path( [ , ]? )" + "syntax": "path( <'fill-rule'>? , )" }, "perspective()": { "syntax": "perspective( [ | none ] )" @@ -672,7 +669,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 ] ] ]"