From 57b11d685a7a030f4fdb79f020aa74afa0d81adc Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sat, 21 Dec 2024 19:36:53 +0800 Subject: [PATCH] feat(css): Replace `` type with `` type (#842) --- css/properties.json | 2 +- css/syntaxes.json | 9 +++------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/css/properties.json b/css/properties.json index b991bbbe..698978d6 100644 --- a/css/properties.json +++ b/css/properties.json @@ -1330,7 +1330,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp" }, "-webkit-mask": { - "syntax": "[ || [ / ]? || || [ | border | padding | content | text ] || [ | border | padding | content ] ]#", + "syntax": "[ || [ / ]? || || [ | border | padding | content | text ] || [ | border | padding | content ] ]#", "media": "visual", "inherited": false, "animationType": "discrete", diff --git a/css/syntaxes.json b/css/syntaxes.json index 283633df..8d075acb 100644 --- a/css/syntaxes.json +++ b/css/syntaxes.json @@ -81,7 +81,7 @@ "syntax": "none | " }, "bg-layer": { - "syntax": " || [ / ]? || || || || " + "syntax": " || [ / ]? || || || || " }, "bg-position": { "syntax": "[ [ left | center | right | top | bottom | ] | [ left | center | right | ] [ top | center | bottom | ] | [ center | [ left | right ] ? ] && [ center | [ top | bottom ] ? ] ]" @@ -95,9 +95,6 @@ "blur()": { "syntax": "blur( )" }, - "box": { - "syntax": "border-box | padding-box | content-box" - }, "brightness()": { "syntax": "brightness( )" }, @@ -327,7 +324,7 @@ "syntax": "[ | ]+" }, "final-bg-layer": { - "syntax": "<'background-color'> || || [ / ]? || || || || " + "syntax": "<'background-color'> || || [ / ]? || || || || " }, "fit-content()": { "syntax": "fit-content( )" @@ -801,7 +798,7 @@ "syntax": "rect(, , , )" }, "shape-box": { - "syntax": " | margin-box" + "syntax": " | margin-box" }, "shape-radius": { "syntax": " | closest-side | farthest-side"