@eslint/css-tree 3.6.8 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +4 -4
- package/cjs/definition-syntax/parse.cjs +63 -23
- package/cjs/generator/create.cjs +10 -2
- package/cjs/generator/token-before.cjs +9 -10
- package/cjs/lexer/generic.cjs +44 -1
- package/cjs/parser/create.cjs +37 -13
- package/cjs/syntax/atrule/layer.cjs +2 -2
- package/cjs/syntax/node/Block.cjs +40 -0
- package/data/patch.json +40 -1
- package/dist/csstree.esm.js +9 -9
- package/dist/csstree.js +9 -9
- package/dist/data.cjs +101 -42
- package/dist/data.js +101 -42
- package/dist/version.cjs +1 -1
- package/dist/version.js +1 -1
- package/lib/definition-syntax/parse.js +63 -23
- package/lib/generator/create.js +10 -2
- package/lib/generator/token-before.js +9 -11
- package/lib/lexer/generic.js +32 -1
- package/lib/parser/create.js +37 -13
- package/lib/syntax/atrule/layer.js +2 -2
- package/lib/syntax/node/Block.js +41 -0
- package/package.json +8 -8
package/dist/data.cjs
CHANGED
|
@@ -105,13 +105,15 @@ module.exports = {
|
|
|
105
105
|
"angular-color-stop": "<color> <color-stop-angle>?",
|
|
106
106
|
"angular-color-stop-list": "<angular-color-stop> , [<angular-color-hint>? , <angular-color-stop>]#?",
|
|
107
107
|
"animateable-feature": "scroll-position|contents|<custom-ident>",
|
|
108
|
+
"animation-action": "none|play|play-once|play-forwards|play-backwards|pause|reset|replay",
|
|
108
109
|
"asin()": "asin( <calc-sum> )",
|
|
109
110
|
"atan()": "atan( <calc-sum> )",
|
|
110
111
|
"atan2()": "atan2( <calc-sum> , <calc-sum> )",
|
|
111
112
|
"attachment": "scroll|fixed|local",
|
|
112
|
-
"attr()": "attr( <attr-name> <type
|
|
113
|
+
"attr()": "attr( <attr-name> <attr-type>? , <declaration-value>? )",
|
|
113
114
|
"attr-matcher": "['~'|'|'|'^'|'$'|'*']? '='",
|
|
114
115
|
"attr-modifier": "i|s",
|
|
116
|
+
"attr-type": "type( <syntax> )|raw-string|number|<attr-unit>",
|
|
115
117
|
"attribute-selector": "'[' <wq-name> ']'|'[' <wq-name> <attr-matcher> [<string-token>|<ident-token>] <attr-modifier>? ']'",
|
|
116
118
|
"auto-repeat": "repeat( [auto-fill|auto-fit] , [<line-names>? <fixed-size>]+ <line-names>? )",
|
|
117
119
|
"auto-track-list": "[<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>? <auto-repeat> [<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>?",
|
|
@@ -120,10 +122,10 @@ module.exports = {
|
|
|
120
122
|
"basic-shape": "<inset()>|<xywh()>|<rect()>|<circle()>|<ellipse()>|<polygon()>|<path()>",
|
|
121
123
|
"basic-shape-rect": "<inset()>|<rect()>|<xywh()>",
|
|
122
124
|
"bg-clip": "<visual-box>|border-area|text",
|
|
123
|
-
"bg-image": "none
|
|
125
|
+
"bg-image": "<image>|none",
|
|
124
126
|
"bg-layer": "<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<visual-box>||<visual-box>",
|
|
125
127
|
"bg-position": "[[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>?]]",
|
|
126
|
-
"bg-size": "[<length-percentage>|auto]{1,2}|cover|contain",
|
|
128
|
+
"bg-size": "[<length-percentage [0,∞]>|auto]{1,2}|cover|contain",
|
|
127
129
|
"blend-mode": "normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity",
|
|
128
130
|
"blur()": "blur( <length>? )",
|
|
129
131
|
"brightness()": "brightness( [<number>|<percentage>]? )",
|
|
@@ -143,7 +145,7 @@ module.exports = {
|
|
|
143
145
|
"color": "<color-base>|currentColor|<system-color>|<device-cmyk()>|<light-dark()>|<-non-standard-color>",
|
|
144
146
|
"color()": "color( <colorspace-params> [/ [<alpha-value>|none]]? )",
|
|
145
147
|
"color-base": "<hex-color>|<color-function>|<named-color>|<color-mix()>|transparent",
|
|
146
|
-
"color-function": "<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<oklab()>|<oklch()>|<color()>",
|
|
148
|
+
"color-function": "<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<oklab()>|<oklch()>|<alpha()>|<color()>",
|
|
147
149
|
"color-interpolation-method": "in [<rectangular-color-space>|<polar-color-space> <hue-interpolation-method>?|<custom-color-space>]",
|
|
148
150
|
"color-mix()": "color-mix( <color-interpolation-method> , [<color>&&<percentage [0,100]>?]#{2} )",
|
|
149
151
|
"color-stop": "<color-stop-length>|<color-stop-angle>",
|
|
@@ -153,7 +155,8 @@ module.exports = {
|
|
|
153
155
|
"colorspace-params": "[<predefined-rgb-params>|<xyz-params>]",
|
|
154
156
|
"combinator": "'>'|'+'|'~'|['|' '|']",
|
|
155
157
|
"common-lig-values": "[common-ligatures|no-common-ligatures]",
|
|
156
|
-
"compat-auto": "searchfield|textarea|
|
|
158
|
+
"compat-auto": "searchfield|textarea|checkbox|radio|menulist|listbox|meter|progress-bar|button",
|
|
159
|
+
"compat-special": "textfield|menulist-button",
|
|
157
160
|
"complex-selector": "<complex-selector-unit> [<combinator>? <complex-selector-unit>]*",
|
|
158
161
|
"complex-selector-list": "<complex-selector>#",
|
|
159
162
|
"composite-style": "clear|copy|source-over|source-in|source-out|source-atop|destination-over|destination-in|destination-out|destination-atop|xor",
|
|
@@ -172,6 +175,7 @@ module.exports = {
|
|
|
172
175
|
"contextual-alt-values": "[contextual|no-contextual]",
|
|
173
176
|
"contrast()": "contrast( [<number>|<percentage>]? )",
|
|
174
177
|
"coord-box": "content-box|padding-box|border-box|fill-box|stroke-box|view-box",
|
|
178
|
+
"corner-shape-value": "round|scoop|bevel|notch|square|squircle|<superellipse()>",
|
|
175
179
|
"cos()": "cos( <calc-sum> )",
|
|
176
180
|
"counter": "<counter()>|<counters()>",
|
|
177
181
|
"counter()": "counter( <counter-name> , <counter-style>? )",
|
|
@@ -182,6 +186,7 @@ module.exports = {
|
|
|
182
186
|
"cross-fade()": "cross-fade( <cf-mixing-image> , <cf-final-image>? )",
|
|
183
187
|
"cubic-bezier()": "cubic-bezier( [<number [0,1]> , <number>]#{2} )",
|
|
184
188
|
"cubic-bezier-easing-function": "ease|ease-in|ease-out|ease-in-out|cubic-bezier( <number [0,1]> , <number> , <number [0,1]> , <number> )",
|
|
189
|
+
"cursor-predefined": "auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing",
|
|
185
190
|
"custom-color-space": "<dashed-ident>",
|
|
186
191
|
"custom-params": "<dashed-ident> [<number>|<percentage>|none]+",
|
|
187
192
|
"dasharray": "[[<length-percentage>|<number>]+]#",
|
|
@@ -195,6 +200,7 @@ module.exports = {
|
|
|
195
200
|
"display-listitem": "<display-outside>?&&[flow|flow-root]?&&list-item",
|
|
196
201
|
"display-outside": "block|inline|run-in",
|
|
197
202
|
"drop-shadow()": "drop-shadow( [<color>?&&<length>{2,3}] )",
|
|
203
|
+
"dynamic-range-limit-mix()": "dynamic-range-limit-mix( [<'dynamic-range-limit'>&&<percentage [0,100]>]#{2,} )",
|
|
198
204
|
"easing-function": "<linear-easing-function>|<cubic-bezier-easing-function>|<step-easing-function>",
|
|
199
205
|
"east-asian-variant-values": "[jis78|jis83|jis90|jis04|simplified|traditional]",
|
|
200
206
|
"east-asian-width-values": "[full-width|proportional-width]",
|
|
@@ -213,7 +219,7 @@ module.exports = {
|
|
|
213
219
|
"feature-value-name": "<custom-ident>",
|
|
214
220
|
"filter-function": "<blur()>|<brightness()>|<contrast()>|<drop-shadow()>|<grayscale()>|<hue-rotate()>|<invert()>|<opacity()>|<saturate()>|<sepia()>",
|
|
215
221
|
"filter-value-list": "[<filter-function>|<url>]+",
|
|
216
|
-
"final-bg-layer": "<
|
|
222
|
+
"final-bg-layer": "<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<visual-box>||<visual-box>||<'background-color'>",
|
|
217
223
|
"fit-content()": "fit-content( <length-percentage [0,∞]> )",
|
|
218
224
|
"fixed-breadth": "<length-percentage>",
|
|
219
225
|
"fixed-repeat": "repeat( [<integer [1,∞]>] , [<line-names>? <fixed-size>]+ <line-names>? )",
|
|
@@ -335,7 +341,7 @@ module.exports = {
|
|
|
335
341
|
"position": "[[left|center|right]||[top|center|bottom]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]?|[[left|right] <length-percentage>]&&[[top|bottom] <length-percentage>]]",
|
|
336
342
|
"position-area": "[[left|center|right|span-left|span-right|x-start|x-end|span-x-start|span-x-end|x-self-start|x-self-end|span-x-self-start|span-x-self-end|span-all]||[top|center|bottom|span-top|span-bottom|y-start|y-end|span-y-start|span-y-end|y-self-start|y-self-end|span-y-self-start|span-y-self-end|span-all]|[block-start|center|block-end|span-block-start|span-block-end|span-all]||[inline-start|center|inline-end|span-inline-start|span-inline-end|span-all]|[self-block-start|center|self-block-end|span-self-block-start|span-self-block-end|span-all]||[self-inline-start|center|self-inline-end|span-self-inline-start|span-self-inline-end|span-all]|[start|center|end|span-start|span-end|span-all]{1,2}|[self-start|center|self-end|span-self-start|span-self-end|span-all]{1,2}]",
|
|
337
343
|
"pow()": "pow( <calc-sum> , <calc-sum> )",
|
|
338
|
-
"predefined-rgb": "srgb|srgb-linear|display-p3|a98-rgb|prophoto-rgb|rec2020",
|
|
344
|
+
"predefined-rgb": "srgb|srgb-linear|display-p3|display-p3-linear|a98-rgb|prophoto-rgb|rec2020",
|
|
339
345
|
"predefined-rgb-params": "<predefined-rgb> [<number>|<percentage>|none]{3}",
|
|
340
346
|
"pseudo-class-selector": "':' <ident-token>|':' <function-token> <any-value> ')'",
|
|
341
347
|
"pseudo-element-selector": "':' <pseudo-class-selector>|<legacy-pseudo-element-selector>",
|
|
@@ -351,7 +357,7 @@ module.exports = {
|
|
|
351
357
|
"ray()": "ray( <angle>&&<ray-size>?&&contain?&&[at <position>]? )",
|
|
352
358
|
"ray-size": "closest-side|closest-corner|farthest-side|farthest-corner|sides",
|
|
353
359
|
"rect()": "rect( [<length-percentage>|auto]{4} [round <'border-radius'>]? )",
|
|
354
|
-
"rectangular-color-space": "srgb|srgb-linear|display-p3|a98-rgb|prophoto-rgb|rec2020|lab|oklab|xyz|xyz-d50|xyz-d65",
|
|
360
|
+
"rectangular-color-space": "srgb|srgb-linear|display-p3|display-p3-linear|a98-rgb|prophoto-rgb|rec2020|lab|oklab|xyz|xyz-d50|xyz-d65",
|
|
355
361
|
"relative-selector": "<combinator>? <complex-selector>",
|
|
356
362
|
"relative-selector-list": "<relative-selector>#",
|
|
357
363
|
"relative-size": "larger|smaller",
|
|
@@ -417,6 +423,7 @@ module.exports = {
|
|
|
417
423
|
"style-in-parens": "( <style-condition> )|( <style-feature> )|<general-enclosed>",
|
|
418
424
|
"style-query": "<style-condition>|<style-feature>",
|
|
419
425
|
"subclass-selector": "<id-selector>|<class-selector>|<attribute-selector>|<pseudo-class-selector>",
|
|
426
|
+
"superellipse()": "superellipse( [<number>|infinity|-infinity] )",
|
|
420
427
|
"supports-condition": "not <supports-in-parens>|<supports-in-parens> [and <supports-in-parens>]*|<supports-in-parens> [or <supports-in-parens>]*",
|
|
421
428
|
"supports-decl": "( <declaration> )",
|
|
422
429
|
"supports-feature": "<supports-decl>|<supports-selector-fn>",
|
|
@@ -486,6 +493,7 @@ module.exports = {
|
|
|
486
493
|
"age": "child|young|old",
|
|
487
494
|
"attr-name": "<wq-name>",
|
|
488
495
|
"attr-fallback": "<any-value>",
|
|
496
|
+
"autospace": "no-autospace|[ideograph-alpha||ideograph-numeric||punctuation]||[insert|replace]",
|
|
489
497
|
"bottom": "<length>|auto",
|
|
490
498
|
"generic-voice": "[<age>? <gender> <integer>?]",
|
|
491
499
|
"gender": "male|female|neutral",
|
|
@@ -544,10 +552,18 @@ module.exports = {
|
|
|
544
552
|
"modern-lch-syntax": "lch( from <color> [<number>|<percentage>|<lch-component>]{3} [/ [<alpha-value>|<lch-component>]]? )",
|
|
545
553
|
"legacy-oklch-syntax": "oklch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )",
|
|
546
554
|
"modern-oklch-syntax": "oklch( from <color> [<number>|<percentage>|<lch-component>]{3} [/ [<alpha-value>|<lch-component>]]? )",
|
|
555
|
+
"alpha()": "alpha( [from <color>] [/ [<alpha-value>|none]]? )",
|
|
547
556
|
"xyz-space": "xyz|xyz-d50|xyz-d65",
|
|
548
557
|
"style-condition": "not <style-in-parens>|<style-in-parens> [[and <style-in-parens>]*|[or <style-in-parens>]*]",
|
|
549
558
|
"-non-standard-display": "-ms-inline-flexbox|-ms-grid|-ms-inline-grid|-webkit-flex|-webkit-inline-flex|-webkit-box|-webkit-inline-box|-moz-inline-stack|-moz-box|-moz-inline-box",
|
|
550
|
-
"inset-area": "[[left|center|right|span-left|span-right|x-start|x-end|span-x-start|span-x-end|x-self-start|x-self-end|span-x-self-start|span-x-self-end|span-all]||[top|center|bottom|span-top|span-bottom|y-start|y-end|span-y-start|span-y-end|y-self-start|y-self-end|span-y-self-start|span-y-self-end|span-all]|[block-start|center|block-end|span-block-start|span-block-end|span-all]||[inline-start|center|inline-end|span-inline-start|span-inline-end|span-all]|[self-block-start|self-block-end|span-self-block-start|span-self-block-end|span-all]||[self-inline-start|self-inline-end|span-self-inline-start|span-self-inline-end|span-all]|[start|center|end|span-start|span-end|span-all]{1,2}|[self-start|center|self-end|span-self-start|span-self-end|span-all]{1,2}]"
|
|
559
|
+
"inset-area": "[[left|center|right|span-left|span-right|x-start|x-end|span-x-start|span-x-end|x-self-start|x-self-end|span-x-self-start|span-x-self-end|span-all]||[top|center|bottom|span-top|span-bottom|y-start|y-end|span-y-start|span-y-end|y-self-start|y-self-end|span-y-self-start|span-y-self-end|span-all]|[block-start|center|block-end|span-block-start|span-block-end|span-all]||[inline-start|center|inline-end|span-inline-start|span-inline-end|span-all]|[self-block-start|self-block-end|span-self-block-start|span-self-block-end|span-all]||[self-inline-start|self-inline-end|span-self-inline-start|span-self-inline-end|span-all]|[start|center|end|span-start|span-end|span-all]{1,2}|[self-start|center|self-end|span-self-start|span-self-end|span-all]{1,2}]",
|
|
560
|
+
"syntax": "'*'|<syntax-component> [<syntax-combinator> <syntax-component>]*|<syntax-string>",
|
|
561
|
+
"syntax-component": "<syntax-single-component> <syntax-multiplier>?|'<' transform-list '>'",
|
|
562
|
+
"syntax-single-component": "'<' <syntax-type-name> '>'|<ident>",
|
|
563
|
+
"syntax-type-name": "angle|color|custom-ident|image|integer|length|length-percentage|number|percentage|resolution|string|time|url|transform-function",
|
|
564
|
+
"syntax-combinator": "'|'",
|
|
565
|
+
"syntax-multiplier": "'#'|'+'",
|
|
566
|
+
"syntax-string": "<string>"
|
|
551
567
|
},
|
|
552
568
|
"properties": {
|
|
553
569
|
"--*": "<declaration-value>",
|
|
@@ -652,8 +668,8 @@ module.exports = {
|
|
|
652
668
|
"-webkit-user-select": "auto|none|text|all",
|
|
653
669
|
"accent-color": "auto|<color>",
|
|
654
670
|
"align-content": "normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>",
|
|
655
|
-
"align-items": "normal|stretch|<baseline-position>|[<overflow-position>? <self-position>]",
|
|
656
|
-
"align-self": "auto|normal|stretch|<baseline-position>|<overflow-position>? <self-position
|
|
671
|
+
"align-items": "normal|stretch|<baseline-position>|[<overflow-position>? <self-position>]|anchor-center",
|
|
672
|
+
"align-self": "auto|normal|stretch|<baseline-position>|<overflow-position>? <self-position>|anchor-center",
|
|
657
673
|
"align-tracks": "[normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>]#",
|
|
658
674
|
"alignment-baseline": "auto|baseline|before-edge|text-before-edge|middle|central|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical",
|
|
659
675
|
"all": "initial|inherit|unset|revert|revert-layer",
|
|
@@ -673,11 +689,12 @@ module.exports = {
|
|
|
673
689
|
"animation-range-start": "[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#",
|
|
674
690
|
"animation-timeline": "<single-animation-timeline>#",
|
|
675
691
|
"animation-timing-function": "<easing-function>#",
|
|
676
|
-
"
|
|
692
|
+
"animation-trigger": "[none|[<dashed-ident> <animation-action>+]+]#",
|
|
693
|
+
"appearance": "none|auto|<compat-auto>|<compat-special>",
|
|
677
694
|
"aspect-ratio": "auto||<ratio>",
|
|
678
695
|
"backdrop-filter": "none|<filter-value-list>",
|
|
679
696
|
"backface-visibility": "visible|hidden",
|
|
680
|
-
"background": "
|
|
697
|
+
"background": "<bg-layer>#? , <final-bg-layer>",
|
|
681
698
|
"background-attachment": "<attachment>#",
|
|
682
699
|
"background-blend-mode": "<blend-mode>#",
|
|
683
700
|
"background-clip": "<bg-clip>#",
|
|
@@ -690,6 +707,7 @@ module.exports = {
|
|
|
690
707
|
"background-repeat": "<repeat-style>#",
|
|
691
708
|
"background-size": "<bg-size>#",
|
|
692
709
|
"baseline-shift": "baseline|sub|super|<svg-length>",
|
|
710
|
+
"baseline-source": "auto|first|last",
|
|
693
711
|
"block-size": "<'width'>",
|
|
694
712
|
"border": "<line-width>||<line-style>||<color>",
|
|
695
713
|
"border-block": "<'border-block-start'>",
|
|
@@ -706,20 +724,20 @@ module.exports = {
|
|
|
706
724
|
"border-block-width": "<'border-top-width'>{1,2}",
|
|
707
725
|
"border-bottom": "<line-width>||<line-style>||<color>",
|
|
708
726
|
"border-bottom-color": "<'border-top-color'>",
|
|
709
|
-
"border-bottom-left-radius": "<length-percentage>{1,2}",
|
|
710
|
-
"border-bottom-right-radius": "<length-percentage>{1,2}",
|
|
727
|
+
"border-bottom-left-radius": "<length-percentage [0,∞]>{1,2}",
|
|
728
|
+
"border-bottom-right-radius": "<length-percentage [0,∞]>{1,2}",
|
|
711
729
|
"border-bottom-style": "<line-style>",
|
|
712
730
|
"border-bottom-width": "<line-width>",
|
|
713
|
-
"border-collapse": "collapse
|
|
731
|
+
"border-collapse": "separate|collapse",
|
|
714
732
|
"border-color": "<color>{1,4}",
|
|
715
733
|
"border-end-end-radius": "<'border-top-left-radius'>",
|
|
716
734
|
"border-end-start-radius": "<'border-top-left-radius'>",
|
|
717
735
|
"border-image": "<'border-image-source'>||<'border-image-slice'> [/ <'border-image-width'>|/ <'border-image-width'>? / <'border-image-outset'>]?||<'border-image-repeat'>",
|
|
718
|
-
"border-image-outset": "[<length>|<number>]{1,4}",
|
|
736
|
+
"border-image-outset": "[<length [0,∞]>|<number [0,∞]>]{1,4}",
|
|
719
737
|
"border-image-repeat": "[stretch|repeat|round|space]{1,2}",
|
|
720
|
-
"border-image-slice": "<number
|
|
738
|
+
"border-image-slice": "[<number [0,∞]>|<percentage [0,∞]>]{1,4}&&fill?",
|
|
721
739
|
"border-image-source": "none|<image>",
|
|
722
|
-
"border-image-width": "[<length-percentage>|<number>|auto]{1,4}",
|
|
740
|
+
"border-image-width": "[<length-percentage [0,∞]>|<number [0,∞]>|auto]{1,4}",
|
|
723
741
|
"border-inline": "<'border-block-start'>",
|
|
724
742
|
"border-inline-color": "<'border-top-color'>{1,2}",
|
|
725
743
|
"border-inline-end": "<'border-top-width'>||<'border-top-style'>||<color>",
|
|
@@ -736,23 +754,23 @@ module.exports = {
|
|
|
736
754
|
"border-left-color": "<color>",
|
|
737
755
|
"border-left-style": "<line-style>",
|
|
738
756
|
"border-left-width": "<line-width>",
|
|
739
|
-
"border-radius": "<length-percentage>{1,4} [/ <length-percentage>{1,4}]?",
|
|
757
|
+
"border-radius": "<length-percentage [0,∞]>{1,4} [/ <length-percentage [0,∞]>{1,4}]?",
|
|
740
758
|
"border-right": "<line-width>||<line-style>||<color>",
|
|
741
759
|
"border-right-color": "<color>",
|
|
742
760
|
"border-right-style": "<line-style>",
|
|
743
761
|
"border-right-width": "<line-width>",
|
|
744
|
-
"border-spacing": "<length>
|
|
762
|
+
"border-spacing": "<length>{1,2}",
|
|
745
763
|
"border-start-end-radius": "<'border-top-left-radius'>",
|
|
746
764
|
"border-start-start-radius": "<'border-top-left-radius'>",
|
|
747
765
|
"border-style": "<line-style>{1,4}",
|
|
748
766
|
"border-top": "<line-width>||<line-style>||<color>",
|
|
749
767
|
"border-top-color": "<color>",
|
|
750
|
-
"border-top-left-radius": "<length-percentage>{1,2}",
|
|
751
|
-
"border-top-right-radius": "<length-percentage>{1,2}",
|
|
768
|
+
"border-top-left-radius": "<length-percentage [0,∞]>{1,2}",
|
|
769
|
+
"border-top-right-radius": "<length-percentage [0,∞]>{1,2}",
|
|
752
770
|
"border-top-style": "<line-style>",
|
|
753
771
|
"border-top-width": "<line-width>",
|
|
754
772
|
"border-width": "<line-width>{1,4}",
|
|
755
|
-
"bottom": "
|
|
773
|
+
"bottom": "auto|<length-percentage>|<anchor()>|<anchor-size()>",
|
|
756
774
|
"box-align": "start|center|end|baseline|stretch",
|
|
757
775
|
"box-decoration-break": "slice|clone",
|
|
758
776
|
"box-direction": "normal|reverse|inherit",
|
|
@@ -768,7 +786,8 @@ module.exports = {
|
|
|
768
786
|
"break-before": "auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region",
|
|
769
787
|
"break-inside": "auto|avoid|avoid-page|avoid-column|avoid-region",
|
|
770
788
|
"caption-side": "top|bottom",
|
|
771
|
-
"caret": "<'caret-color'>||<'caret-shape'>",
|
|
789
|
+
"caret": "<'caret-color'>||<'caret-animation'>||<'caret-shape'>",
|
|
790
|
+
"caret-animation": "auto|manual",
|
|
772
791
|
"caret-color": "auto|<color>",
|
|
773
792
|
"caret-shape": "auto|bar|block|underscore",
|
|
774
793
|
"clear": "none|left|right|both|inline-start|inline-end",
|
|
@@ -781,13 +800,15 @@ module.exports = {
|
|
|
781
800
|
"column-count": "<integer>|auto",
|
|
782
801
|
"column-fill": "auto|balance",
|
|
783
802
|
"column-gap": "normal|<length-percentage>",
|
|
803
|
+
"column-height": "auto|<length [0,∞]>",
|
|
784
804
|
"column-rule": "<'column-rule-width'>||<'column-rule-style'>||<'column-rule-color'>",
|
|
785
805
|
"column-rule-color": "<color>",
|
|
786
806
|
"column-rule-style": "<'border-style'>",
|
|
787
807
|
"column-rule-width": "<'border-width'>",
|
|
788
808
|
"column-span": "none|all",
|
|
789
|
-
"column-width": "
|
|
790
|
-
"
|
|
809
|
+
"column-width": "auto|<length [0,∞]>",
|
|
810
|
+
"column-wrap": "auto|nowrap|wrap",
|
|
811
|
+
"columns": "[<'column-width'>||<'column-count'>] [/ <'column-height'>]?",
|
|
791
812
|
"contain": "none|strict|content|[[size||inline-size]||layout||style||paint]",
|
|
792
813
|
"contain-intrinsic-block-size": "auto? [none|<length>]",
|
|
793
814
|
"contain-intrinsic-height": "auto? [none|<length>]",
|
|
@@ -797,8 +818,25 @@ module.exports = {
|
|
|
797
818
|
"container": "<'container-name'> [/ <'container-type'>]?",
|
|
798
819
|
"container-name": "none|<custom-ident>+",
|
|
799
820
|
"container-type": "normal||[size|inline-size]",
|
|
800
|
-
"content": "normal|none|[<content-replacement>|<content-list>] [/ [<string>|<counter>]+]?",
|
|
821
|
+
"content": "normal|none|[<content-replacement>|<content-list>] [/ [<string>|<counter>|<attr()>]+]?",
|
|
801
822
|
"content-visibility": "visible|auto|hidden",
|
|
823
|
+
"corner-block-end-shape": "<corner-shape-value>{1,2}",
|
|
824
|
+
"corner-block-start-shape": "<corner-shape-value>{1,2}",
|
|
825
|
+
"corner-bottom-shape": "<corner-shape-value>{1,2}",
|
|
826
|
+
"corner-bottom-left-shape": "<corner-shape-value>",
|
|
827
|
+
"corner-bottom-right-shape": "<corner-shape-value>",
|
|
828
|
+
"corner-end-end-shape": "<corner-shape-value>",
|
|
829
|
+
"corner-end-start-shape": "<corner-shape-value>",
|
|
830
|
+
"corner-inline-end-shape": "<corner-shape-value>{1,2}",
|
|
831
|
+
"corner-inline-start-shape": "<corner-shape-value>{1,2}",
|
|
832
|
+
"corner-left-shape": "<corner-shape-value>{1,2}",
|
|
833
|
+
"corner-right-shape": "<corner-shape-value>{1,2}",
|
|
834
|
+
"corner-shape": "<corner-shape-value>{1,4}",
|
|
835
|
+
"corner-start-start-shape": "<corner-shape-value>",
|
|
836
|
+
"corner-start-end-shape": "<corner-shape-value>",
|
|
837
|
+
"corner-top-shape": "<corner-shape-value>{1,2}",
|
|
838
|
+
"corner-top-left-shape": "<corner-shape-value>",
|
|
839
|
+
"corner-top-right-shape": "<corner-shape-value>",
|
|
802
840
|
"counter-increment": "[<counter-name> <integer>?]+|none",
|
|
803
841
|
"counter-reset": "[<counter-name> <integer>?|<reversed-counter-name> <integer>?]+|none",
|
|
804
842
|
"counter-set": "[<counter-name> <integer>?]+|none",
|
|
@@ -809,10 +847,11 @@ module.exports = {
|
|
|
809
847
|
"direction": "ltr|rtl",
|
|
810
848
|
"display": "[<display-outside>||<display-inside>]|<display-listitem>|<display-internal>|<display-box>|<display-legacy>|<-non-standard-display>",
|
|
811
849
|
"dominant-baseline": "auto|use-script|no-change|reset-size|ideographic|alphabetic|hanging|mathematical|central|middle|text-after-edge|text-before-edge",
|
|
850
|
+
"dynamic-range-limit": "standard|no-limit|constrained|<dynamic-range-limit-mix()>",
|
|
812
851
|
"empty-cells": "show|hide",
|
|
813
852
|
"field-sizing": "content|fixed",
|
|
814
853
|
"fill": "<paint>",
|
|
815
|
-
"fill-opacity": "<number-zero-one>",
|
|
854
|
+
"fill-opacity": "<number-zero-one>|<percentage>",
|
|
816
855
|
"fill-rule": "nonzero|evenodd",
|
|
817
856
|
"filter": "none|<filter-value-list>|<-ms-filter-function-list>",
|
|
818
857
|
"flex": "none|[<'flex-grow'> <'flex-shrink'>?||<'flex-basis'>]",
|
|
@@ -894,11 +933,15 @@ module.exports = {
|
|
|
894
933
|
"inset-inline-start": "<'top'>",
|
|
895
934
|
"interpolate-size": "numeric-only|allow-keywords",
|
|
896
935
|
"isolation": "auto|isolate",
|
|
936
|
+
"interactivity": "auto|inert",
|
|
937
|
+
"interest-delay": "<'interest-delay-start'>{1,2}",
|
|
938
|
+
"interest-delay-end": "normal|<time>",
|
|
939
|
+
"interest-delay-start": "normal|<time>",
|
|
897
940
|
"justify-content": "normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]",
|
|
898
|
-
"justify-items": "normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|legacy|legacy&&[left|right|center]",
|
|
899
|
-
"justify-self": "auto|normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]",
|
|
941
|
+
"justify-items": "normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|legacy|legacy&&[left|right|center]|anchor-center",
|
|
942
|
+
"justify-self": "auto|normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|anchor-center",
|
|
900
943
|
"justify-tracks": "[normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]]#",
|
|
901
|
-
"left": "
|
|
944
|
+
"left": "auto|<length-percentage>|<anchor()>|<anchor-size()>",
|
|
902
945
|
"letter-spacing": "normal|<length-percentage>",
|
|
903
946
|
"lighting-color": "<color>",
|
|
904
947
|
"line-break": "auto|loose|normal|strict|anywhere",
|
|
@@ -913,13 +956,13 @@ module.exports = {
|
|
|
913
956
|
"margin-block": "<'margin-top'>{1,2}",
|
|
914
957
|
"margin-block-end": "<'margin-top'>",
|
|
915
958
|
"margin-block-start": "<'margin-top'>",
|
|
916
|
-
"margin-bottom": "<length-percentage>|auto",
|
|
959
|
+
"margin-bottom": "<length-percentage>|auto|<anchor-size()>",
|
|
917
960
|
"margin-inline": "<'margin-top'>{1,2}",
|
|
918
961
|
"margin-inline-end": "<'margin-top'>",
|
|
919
962
|
"margin-inline-start": "<'margin-top'>",
|
|
920
|
-
"margin-left": "<length-percentage>|auto",
|
|
921
|
-
"margin-right": "<length-percentage>|auto",
|
|
922
|
-
"margin-top": "<length-percentage>|auto",
|
|
963
|
+
"margin-left": "<length-percentage>|auto|<anchor-size()>",
|
|
964
|
+
"margin-right": "<length-percentage>|auto|<anchor-size()>",
|
|
965
|
+
"margin-top": "<length-percentage>|auto|<anchor-size()>",
|
|
923
966
|
"margin-trim": "none|in-flow|all",
|
|
924
967
|
"marker": "none|<url>",
|
|
925
968
|
"marker-end": "none|<url>",
|
|
@@ -955,7 +998,7 @@ module.exports = {
|
|
|
955
998
|
"min-height": "auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>",
|
|
956
999
|
"min-inline-size": "<'min-width'>",
|
|
957
1000
|
"min-width": "auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>",
|
|
958
|
-
"mix-blend-mode": "<blend-mode>|plus-lighter",
|
|
1001
|
+
"mix-blend-mode": "<blend-mode>|plus-darker|plus-lighter",
|
|
959
1002
|
"object-fit": "fill|contain|cover|none|scale-down",
|
|
960
1003
|
"object-position": "<position>",
|
|
961
1004
|
"object-view-box": "none|<basic-shape-rect>",
|
|
@@ -975,10 +1018,10 @@ module.exports = {
|
|
|
975
1018
|
"outline-width": "<line-width>",
|
|
976
1019
|
"overflow": "[visible|hidden|clip|scroll|auto]{1,2}|<-non-standard-overflow>",
|
|
977
1020
|
"overflow-anchor": "auto|none",
|
|
978
|
-
"overflow-block": "visible|hidden|clip|scroll|auto",
|
|
1021
|
+
"overflow-block": "visible|hidden|clip|scroll|auto|<-non-standard-overflow>",
|
|
979
1022
|
"overflow-clip-box": "padding-box|content-box",
|
|
980
1023
|
"overflow-clip-margin": "<visual-box>||<length [0,∞]>",
|
|
981
|
-
"overflow-inline": "visible|hidden|clip|scroll|auto",
|
|
1024
|
+
"overflow-inline": "visible|hidden|clip|scroll|auto|<-non-standard-overflow>",
|
|
982
1025
|
"overflow-wrap": "normal|break-word|anywhere",
|
|
983
1026
|
"overflow-x": "visible|hidden|clip|scroll|auto|<-non-standard-overflow>",
|
|
984
1027
|
"overflow-y": "visible|hidden|clip|scroll|auto|<-non-standard-overflow>",
|
|
@@ -1011,7 +1054,7 @@ module.exports = {
|
|
|
1011
1054
|
"place-self": "<'align-self'> <'justify-self'>?",
|
|
1012
1055
|
"pointer-events": "auto|none|visiblePainted|visibleFill|visibleStroke|visible|painted|fill|stroke|all|inherit",
|
|
1013
1056
|
"position": "static|relative|absolute|sticky|fixed|-webkit-sticky",
|
|
1014
|
-
"position-anchor": "auto|<anchor-name>",
|
|
1057
|
+
"position-anchor": "auto|none|<anchor-name>",
|
|
1015
1058
|
"position-area": "none|<position-area>",
|
|
1016
1059
|
"position-try": "<'position-try-order'>? <'position-try-fallbacks'>",
|
|
1017
1060
|
"position-try-fallbacks": "none|[[<dashed-ident>||<try-tactic>]|<'position-area'>]#",
|
|
@@ -1020,8 +1063,10 @@ module.exports = {
|
|
|
1020
1063
|
"print-color-adjust": "economy|exact",
|
|
1021
1064
|
"quotes": "none|auto|[<string> <string>]+",
|
|
1022
1065
|
"r": "<length>|<percentage>",
|
|
1066
|
+
"reading-flow": "normal|source-order|flex-visual|flex-flow|grid-rows|grid-columns|grid-order",
|
|
1067
|
+
"reading-order": "<integer>",
|
|
1023
1068
|
"resize": "none|both|horizontal|vertical|block|inline",
|
|
1024
|
-
"right": "
|
|
1069
|
+
"right": "auto|<length-percentage>|<anchor()>|<anchor-size()>",
|
|
1025
1070
|
"rotate": "none|<angle>|[x|y|z|<number>{3}]&&<angle>",
|
|
1026
1071
|
"row-gap": "normal|<length-percentage>",
|
|
1027
1072
|
"ruby-align": "start|center|space-between|space-around",
|
|
@@ -1044,6 +1089,7 @@ module.exports = {
|
|
|
1044
1089
|
"scroll-margin-left": "<length>",
|
|
1045
1090
|
"scroll-margin-right": "<length>",
|
|
1046
1091
|
"scroll-margin-top": "<length>",
|
|
1092
|
+
"scroll-marker-group": "none|before|after",
|
|
1047
1093
|
"scroll-padding": "[auto|<length-percentage>]{1,4}",
|
|
1048
1094
|
"scroll-padding-block": "[auto|<length-percentage>]{1,2}",
|
|
1049
1095
|
"scroll-padding-block-end": "auto|<length-percentage>",
|
|
@@ -1064,6 +1110,7 @@ module.exports = {
|
|
|
1064
1110
|
"scroll-snap-type": "none|[x|y|block|inline|both] [mandatory|proximity]?",
|
|
1065
1111
|
"scroll-snap-type-x": "none|mandatory|proximity",
|
|
1066
1112
|
"scroll-snap-type-y": "none|mandatory|proximity",
|
|
1113
|
+
"scroll-target-group": "none|auto",
|
|
1067
1114
|
"scroll-timeline": "[<'scroll-timeline-name'> <'scroll-timeline-axis'>?]#",
|
|
1068
1115
|
"scroll-timeline-axis": "[block|inline|x|y]#",
|
|
1069
1116
|
"scroll-timeline-name": "[none|<dashed-ident>]#",
|
|
@@ -1091,12 +1138,14 @@ module.exports = {
|
|
|
1091
1138
|
"text-align": "start|end|left|right|center|justify|match-parent",
|
|
1092
1139
|
"text-align-last": "auto|start|end|left|right|center|justify",
|
|
1093
1140
|
"text-anchor": "start|middle|end",
|
|
1141
|
+
"text-autospace": "normal|<autospace>|auto",
|
|
1094
1142
|
"text-box": "normal|<'text-box-trim'>||<'text-box-edge'>",
|
|
1095
1143
|
"text-box-edge": "auto|<text-edge>",
|
|
1096
1144
|
"text-box-trim": "none|trim-start|trim-end|trim-both",
|
|
1097
1145
|
"text-combine-upright": "none|all|[digits <integer>?]",
|
|
1098
1146
|
"text-decoration": "<'text-decoration-line'>||<'text-decoration-style'>||<'text-decoration-color'>||<'text-decoration-thickness'>",
|
|
1099
1147
|
"text-decoration-color": "<color>",
|
|
1148
|
+
"text-decoration-inset": "<length>{1,2}|auto",
|
|
1100
1149
|
"text-decoration-line": "none|[underline||overline||line-through||blink]|spelling-error|grammar-error",
|
|
1101
1150
|
"text-decoration-skip": "none|[objects||[spaces|[leading-spaces||trailing-spaces]]||edges||box-decoration]",
|
|
1102
1151
|
"text-decoration-skip-ink": "auto|all|none",
|
|
@@ -1121,7 +1170,16 @@ module.exports = {
|
|
|
1121
1170
|
"text-wrap-mode": "wrap|nowrap",
|
|
1122
1171
|
"text-wrap-style": "auto|balance|stable|pretty",
|
|
1123
1172
|
"timeline-scope": "none|<dashed-ident>#",
|
|
1124
|
-
"
|
|
1173
|
+
"timeline-trigger": "none|[<'timeline-trigger-name'> <'timeline-trigger-source'> <'timeline-trigger-range'> ['/' <'timeline-trigger-exit-range'>]?]#",
|
|
1174
|
+
"timeline-trigger-name": "none|<dashed-ident>#",
|
|
1175
|
+
"timeline-trigger-exit-range": "[<'timeline-trigger-exit-range-start'> <'timeline-trigger-exit-range-end'>?]#",
|
|
1176
|
+
"timeline-trigger-exit-range-end": "[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#",
|
|
1177
|
+
"timeline-trigger-exit-range-start": "[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#",
|
|
1178
|
+
"timeline-trigger-range": "[<'timeline-trigger-range-start'> <'timeline-trigger-range-end'>?]#",
|
|
1179
|
+
"timeline-trigger-range-end": "[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#",
|
|
1180
|
+
"timeline-trigger-range-start": "[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#",
|
|
1181
|
+
"timeline-trigger-source": "<single-animation-timeline>#",
|
|
1182
|
+
"top": "auto|<length-percentage>|<anchor()>|<anchor-size()>",
|
|
1125
1183
|
"touch-action": "auto|none|[[pan-x|pan-left|pan-right]||[pan-y|pan-up|pan-down]||pinch-zoom]|manipulation",
|
|
1126
1184
|
"transform": "none|<transform-list>",
|
|
1127
1185
|
"transform-box": "content-box|border-box|fill-box|stroke-box|view-box",
|
|
@@ -1134,6 +1192,7 @@ module.exports = {
|
|
|
1134
1192
|
"transition-property": "none|<single-transition-property>#",
|
|
1135
1193
|
"transition-timing-function": "<easing-function>#",
|
|
1136
1194
|
"translate": "none|<length-percentage> [<length-percentage> <length>?]?",
|
|
1195
|
+
"trigger-scope": "none|all|<dashed-ident>#",
|
|
1137
1196
|
"unicode-bidi": "normal|embed|isolate|bidi-override|isolate-override|plaintext|-moz-isolate|-moz-isolate-override|-moz-plaintext|-webkit-isolate|-webkit-isolate-override|-webkit-plaintext",
|
|
1138
1197
|
"user-select": "auto|text|none|all",
|
|
1139
1198
|
"vector-effect": "none|non-scaling-stroke|non-scaling-size|non-rotation|fixed-position",
|