Skip to content

Commit 57b11d6

Browse files
feat(css): Replace <box> type with <visual-box> type (#842)
1 parent c73adfe commit 57b11d6

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

css/properties.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1330,7 +1330,7 @@
13301330
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp"
13311331
},
13321332
"-webkit-mask": {
1333-
"syntax": "[ <mask-reference> || <position> [ / <bg-size> ]? || <repeat-style> || [ <box> | border | padding | content | text ] || [ <box> | border | padding | content ] ]#",
1333+
"syntax": "[ <mask-reference> || <position> [ / <bg-size> ]? || <repeat-style> || [ <visual-box> | border | padding | content | text ] || [ <visual-box> | border | padding | content ] ]#",
13341334
"media": "visual",
13351335
"inherited": false,
13361336
"animationType": "discrete",

css/syntaxes.json

+3-6
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"syntax": "none | <image>"
8282
},
8383
"bg-layer": {
84-
"syntax": "<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <box> || <box>"
84+
"syntax": "<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <visual-box> || <visual-box>"
8585
},
8686
"bg-position": {
8787
"syntax": "[ [ left | center | right | top | bottom | <length-percentage> ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ] | [ center | [ left | right ] <length-percentage>? ] && [ center | [ top | bottom ] <length-percentage>? ] ]"
@@ -95,9 +95,6 @@
9595
"blur()": {
9696
"syntax": "blur( <length> )"
9797
},
98-
"box": {
99-
"syntax": "border-box | padding-box | content-box"
100-
},
10198
"brightness()": {
10299
"syntax": "brightness( <number-percentage> )"
103100
},
@@ -327,7 +324,7 @@
327324
"syntax": "[ <filter-function> | <url> ]+"
328325
},
329326
"final-bg-layer": {
330-
"syntax": "<'background-color'> || <bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <box> || <box>"
327+
"syntax": "<'background-color'> || <bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <visual-box> || <visual-box>"
331328
},
332329
"fit-content()": {
333330
"syntax": "fit-content( <length-percentage [0,∞]> )"
@@ -801,7 +798,7 @@
801798
"syntax": "rect(<top>, <right>, <bottom>, <left>)"
802799
},
803800
"shape-box": {
804-
"syntax": "<box> | margin-box"
801+
"syntax": "<visual-box> | margin-box"
805802
},
806803
"shape-radius": {
807804
"syntax": "<length-percentage> | closest-side | farthest-side"

0 commit comments

Comments
 (0)