@eslint/css-tree 3.3.3 → 3.4.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/cjs/generator/create.cjs +8 -8
- package/cjs/lexer/prepare-tokens.cjs +5 -4
- package/cjs/parser/create.cjs +4 -3
- package/cjs/syntax/config/mix.cjs +6 -0
- package/cjs/syntax/config/parser.cjs +3 -1
- package/cjs/syntax/create.cjs +2 -2
- package/cjs/syntax/node/CDC.cjs +1 -1
- package/cjs/syntax/node/CDO.cjs +1 -1
- package/cjs/utils/get-tokenizer.cjs +22 -0
- package/data/patch.json +8 -43
- package/dist/csstree.esm.js +8 -8
- package/dist/csstree.js +8 -8
- package/dist/data.cjs +57 -45
- package/dist/data.js +57 -45
- package/dist/version.cjs +1 -1
- package/dist/version.js +1 -1
- package/lib/generator/create.js +9 -8
- package/lib/index.d.ts +10 -7
- package/lib/lexer/prepare-tokens.js +4 -3
- package/lib/parser/create.js +4 -3
- package/lib/syntax/config/mix.js +6 -0
- package/lib/syntax/config/parser.js +3 -1
- package/lib/syntax/create.js +2 -2
- package/lib/syntax/node/CDC.js +1 -1
- package/lib/syntax/node/CDO.js +1 -1
- package/lib/utils/get-tokenizer.js +18 -0
- package/package.json +2 -2
package/dist/data.cjs
CHANGED
|
@@ -95,15 +95,15 @@ module.exports = {
|
|
|
95
95
|
"acos()": "acos( <calc-sum> )",
|
|
96
96
|
"alpha-value": "<number>|<percentage>",
|
|
97
97
|
"an+b": "odd|even|<integer>|<n-dimension>|'+'? † n|-n|<ndashdigit-dimension>|'+'? † <ndashdigit-ident>|<dashndashdigit-ident>|<n-dimension> <signed-integer>|'+'? † n <signed-integer>|-n <signed-integer>|<ndash-dimension> <signless-integer>|'+'? † n- <signless-integer>|-n- <signless-integer>|<n-dimension> ['+'|'-'] <signless-integer>|'+'? † n ['+'|'-'] <signless-integer>|-n ['+'|'-'] <signless-integer>",
|
|
98
|
-
"anchor()": "anchor( <anchor-
|
|
98
|
+
"anchor()": "anchor( <anchor-name>?&&<anchor-side> , <length-percentage>? )",
|
|
99
99
|
"anchor-name": "<dashed-ident>",
|
|
100
100
|
"anchor-side": "inside|outside|top|left|right|bottom|start|end|self-start|self-end|<percentage>|center",
|
|
101
101
|
"anchor-size": "width|height|block|inline|self-block|self-inline",
|
|
102
|
-
"anchor-size()": "anchor-size( [<anchor-
|
|
102
|
+
"anchor-size()": "anchor-size( [<anchor-name>||<anchor-size>]? , <length-percentage>? )",
|
|
103
103
|
"angle-percentage": "<angle>|<percentage>",
|
|
104
|
-
"angular-color-hint": "<angle-percentage>",
|
|
105
|
-
"angular-color-stop": "<color
|
|
106
|
-
"angular-color-stop-list": "
|
|
104
|
+
"angular-color-hint": "<angle-percentage>|<zero>",
|
|
105
|
+
"angular-color-stop": "<color> <color-stop-angle>?",
|
|
106
|
+
"angular-color-stop-list": "<angular-color-stop> , [<angular-color-hint>? , <angular-color-stop>]#?",
|
|
107
107
|
"animateable-feature": "scroll-position|contents|<custom-ident>",
|
|
108
108
|
"asin()": "asin( <calc-sum> )",
|
|
109
109
|
"atan()": "atan( <calc-sum> )",
|
|
@@ -118,6 +118,7 @@ module.exports = {
|
|
|
118
118
|
"axis": "block|inline|x|y",
|
|
119
119
|
"baseline-position": "[first|last]? baseline",
|
|
120
120
|
"basic-shape": "<inset()>|<xywh()>|<rect()>|<circle()>|<ellipse()>|<polygon()>|<path()>",
|
|
121
|
+
"basic-shape-rect": "<inset()>|<rect()>|<xywh()>",
|
|
121
122
|
"bg-clip": "<visual-box>|border-area|text",
|
|
122
123
|
"bg-image": "none|<image>",
|
|
123
124
|
"bg-layer": "<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<visual-box>||<visual-box>",
|
|
@@ -146,9 +147,9 @@ module.exports = {
|
|
|
146
147
|
"color-interpolation-method": "in [<rectangular-color-space>|<polar-color-space> <hue-interpolation-method>?|<custom-color-space>]",
|
|
147
148
|
"color-mix()": "color-mix( <color-interpolation-method> , [<color>&&<percentage [0,100]>?]#{2} )",
|
|
148
149
|
"color-stop": "<color-stop-length>|<color-stop-angle>",
|
|
149
|
-
"color-stop-angle": "<angle-percentage>{1,2}",
|
|
150
|
+
"color-stop-angle": "[<angle-percentage>|<zero>]{1,2}",
|
|
150
151
|
"color-stop-length": "<length-percentage>{1,2}",
|
|
151
|
-
"color-stop-list": "
|
|
152
|
+
"color-stop-list": "<linear-color-stop> , [<linear-color-hint>? , <linear-color-stop>]#?",
|
|
152
153
|
"colorspace-params": "[<predefined-rgb-params>|<xyz-params>]",
|
|
153
154
|
"combinator": "'>'|'+'|'~'|['|' '|']",
|
|
154
155
|
"common-lig-values": "[common-ligatures|no-common-ligatures]",
|
|
@@ -159,7 +160,11 @@ module.exports = {
|
|
|
159
160
|
"compositing-operator": "add|subtract|intersect|exclude",
|
|
160
161
|
"compound-selector": "[<type-selector>? <subclass-selector>*]!",
|
|
161
162
|
"compound-selector-list": "<compound-selector>#",
|
|
162
|
-
"conic-gradient()": "conic-gradient( [
|
|
163
|
+
"conic-gradient()": "conic-gradient( [<conic-gradient-syntax>] )",
|
|
164
|
+
"conic-gradient-syntax": "[[[from [<angle>|<zero>]]? [at <position>]?]||<color-interpolation-method>]? , <angular-color-stop-list>",
|
|
165
|
+
"container-condition": "not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]",
|
|
166
|
+
"container-name": "<custom-ident>",
|
|
167
|
+
"container-query": "not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]",
|
|
163
168
|
"content-distribution": "space-between|space-around|space-evenly|stretch",
|
|
164
169
|
"content-list": "[<string>|contents|<image>|<counter>|<quote>|<target>|<leader()>|<attr()>]+",
|
|
165
170
|
"content-position": "center|start|end|flex-start|flex-end",
|
|
@@ -175,7 +180,8 @@ module.exports = {
|
|
|
175
180
|
"counter-style-name": "<custom-ident>",
|
|
176
181
|
"counters()": "counters( <counter-name> , <string> , <counter-style>? )",
|
|
177
182
|
"cross-fade()": "cross-fade( <cf-mixing-image> , <cf-final-image>? )",
|
|
178
|
-
"cubic-bezier
|
|
183
|
+
"cubic-bezier()": "cubic-bezier( [<number [0,1]> , <number>]#{2} )",
|
|
184
|
+
"cubic-bezier-timing-function": "ease|ease-in|ease-out|ease-in-out|<cubic-bezier()>",
|
|
179
185
|
"custom-color-space": "<dashed-ident>",
|
|
180
186
|
"custom-params": "<dashed-ident> [<number>|<percentage>|none]+",
|
|
181
187
|
"dasharray": "[[<length-percentage>|<number>]+]#",
|
|
@@ -189,12 +195,11 @@ module.exports = {
|
|
|
189
195
|
"display-listitem": "<display-outside>?&&[flow|flow-root]?&&list-item",
|
|
190
196
|
"display-outside": "block|inline|run-in",
|
|
191
197
|
"drop-shadow()": "drop-shadow( [<color>?&&<length>{2,3}] )",
|
|
192
|
-
"easing-function": "linear
|
|
198
|
+
"easing-function": "<linear-easing-function>|<cubic-bezier-easing-function>|<step-easing-function>",
|
|
193
199
|
"east-asian-variant-values": "[jis78|jis83|jis90|jis04|simplified|traditional]",
|
|
194
200
|
"east-asian-width-values": "[full-width|proportional-width]",
|
|
195
201
|
"element()": "element( <custom-ident> , [first|start|last|first-except]? )|element( <id-selector> )",
|
|
196
202
|
"ellipse()": "ellipse( <radial-size>? [at <position>]? )",
|
|
197
|
-
"ending-shape": "circle|ellipse",
|
|
198
203
|
"env()": "env( <custom-ident> , <declaration-value>? )",
|
|
199
204
|
"exp()": "exp( <calc-sum> )",
|
|
200
205
|
"explicit-track-list": "[<line-names>? <track-size>]+ <line-names>?",
|
|
@@ -216,10 +221,12 @@ module.exports = {
|
|
|
216
221
|
"font-stretch-absolute": "normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded|<percentage>",
|
|
217
222
|
"font-variant-css21": "[normal|small-caps]",
|
|
218
223
|
"font-weight-absolute": "normal|bold|<number [1,1000]>",
|
|
224
|
+
"form-control-identifier": "select",
|
|
219
225
|
"frequency-percentage": "<frequency>|<percentage>",
|
|
226
|
+
"generic-complete": "serif|sans-serif|system-ui|cursive|fantasy|math|monospace",
|
|
220
227
|
"general-enclosed": "[<function-token> <any-value>? )]|[( <any-value>? )]",
|
|
221
228
|
"generic-family": "<generic-script-specific>|<generic-complete>|<generic-incomplete>|<-non-standard-generic-family>",
|
|
222
|
-
"generic-
|
|
229
|
+
"generic-incomplete": "ui-serif|ui-sans-serif|ui-monospace|ui-rounded",
|
|
223
230
|
"geometry-box": "<shape-box>|fill-box|stroke-box|view-box",
|
|
224
231
|
"gradient": "<linear-gradient()>|<repeating-linear-gradient()>|<radial-gradient()>|<repeating-radial-gradient()>|<conic-gradient()>|<repeating-conic-gradient()>|<-legacy-gradient>",
|
|
225
232
|
"grayscale()": "grayscale( [<number>|<percentage>]? )",
|
|
@@ -242,8 +249,7 @@ module.exports = {
|
|
|
242
249
|
"inset()": "inset( <length-percentage>{1,4} [round <'border-radius'>]? )",
|
|
243
250
|
"invert()": "invert( [<number>|<percentage>]? )",
|
|
244
251
|
"keyframe-block": "<keyframe-selector># { <declaration-list> }",
|
|
245
|
-
"keyframe-
|
|
246
|
-
"keyframe-selector": "from|to|<percentage>|<timeline-range-name> <percentage>",
|
|
252
|
+
"keyframe-selector": "from|to|<percentage [0,100]>|<timeline-range-name> <percentage>",
|
|
247
253
|
"keyframes-name": "<custom-ident>|<string>",
|
|
248
254
|
"lab()": "lab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )",
|
|
249
255
|
"layer()": "layer( <layer-name> )",
|
|
@@ -257,9 +263,12 @@ module.exports = {
|
|
|
257
263
|
"line-names": "'[' <custom-ident>* ']'",
|
|
258
264
|
"line-style": "none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset",
|
|
259
265
|
"line-width": "<length>|thin|medium|thick",
|
|
266
|
+
"linear()": "linear( [<number>&&<percentage>{0,2}]# )",
|
|
260
267
|
"linear-color-hint": "<length-percentage>",
|
|
261
268
|
"linear-color-stop": "<color> <color-stop-length>?",
|
|
262
|
-
"linear-
|
|
269
|
+
"linear-easing-function": "linear|<linear()>",
|
|
270
|
+
"linear-gradient()": "linear-gradient( [<linear-gradient-syntax>] )",
|
|
271
|
+
"linear-gradient-syntax": "[[<angle>|<zero>|to <side-or-corner>]||<color-interpolation-method>]? , <color-stop-list>",
|
|
263
272
|
"log()": "log( <calc-sum> , <calc-sum>? )",
|
|
264
273
|
"mask-layer": "<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||<geometry-box>||[<geometry-box>|no-clip]||<compositing-operator>||<masking-mode>",
|
|
265
274
|
"mask-position": "[<length-percentage>|left|center|right] [<length-percentage>|top|center|bottom]?",
|
|
@@ -288,12 +297,12 @@ module.exports = {
|
|
|
288
297
|
"minmax()": "minmax( [<length-percentage>|min-content|max-content|auto] , [<length-percentage>|<flex>|min-content|max-content|auto] )",
|
|
289
298
|
"mod()": "mod( <calc-sum> , <calc-sum> )",
|
|
290
299
|
"n-dimension": "<dimension-token>",
|
|
291
|
-
"ndash-dimension": "<dimension-token>",
|
|
292
|
-
"ndashdigit-dimension": "<dimension-token>",
|
|
293
|
-
"ndashdigit-ident": "<ident-token>",
|
|
294
300
|
"name-repeat": "repeat( [<integer [1,∞]>|auto-fill] , <line-names>+ )",
|
|
295
301
|
"named-color": "aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen",
|
|
296
302
|
"namespace-prefix": "<ident>",
|
|
303
|
+
"ndash-dimension": "<dimension-token>",
|
|
304
|
+
"ndashdigit-dimension": "<dimension-token>",
|
|
305
|
+
"ndashdigit-ident": "<ident-token>",
|
|
297
306
|
"ns-prefix": "[<ident-token>|'*']? '|'",
|
|
298
307
|
"number-percentage": "<number>|<percentage>",
|
|
299
308
|
"numeric-figure-values": "[lining-nums|oldstyle-nums]",
|
|
@@ -330,23 +339,26 @@ module.exports = {
|
|
|
330
339
|
"pseudo-class-selector": "':' <ident-token>|':' <function-token> <any-value> ')'",
|
|
331
340
|
"pseudo-element-selector": "':' <pseudo-class-selector>|<legacy-pseudo-element-selector>",
|
|
332
341
|
"pseudo-page": ": [left|right|first|blank]",
|
|
342
|
+
"query-in-parens": "( <container-condition> )|( <size-feature> )|style( <style-query> )|<general-enclosed>",
|
|
333
343
|
"quote": "open-quote|close-quote|no-open-quote|no-close-quote",
|
|
334
344
|
"radial-extent": "closest-corner|closest-side|farthest-corner|farthest-side",
|
|
335
|
-
"radial-gradient()": "radial-gradient( [<
|
|
345
|
+
"radial-gradient()": "radial-gradient( [<radial-gradient-syntax>] )",
|
|
346
|
+
"radial-gradient-syntax": "[[[<radial-shape>||<radial-size>]? [at <position>]?]||<color-interpolation-method>]? , <color-stop-list>",
|
|
347
|
+
"radial-shape": "circle|ellipse",
|
|
336
348
|
"radial-size": "<radial-extent>|<length [0,∞]>|<length-percentage [0,∞]>{2}",
|
|
337
349
|
"ratio": "<number [0,∞]> [/ <number [0,∞]>]?",
|
|
338
350
|
"ray()": "ray( <angle>&&<ray-size>?&&contain?&&[at <position>]? )",
|
|
339
351
|
"ray-size": "closest-side|closest-corner|farthest-side|farthest-corner|sides",
|
|
352
|
+
"rect()": "rect( [<length-percentage>|auto]{4} [round <'border-radius'>]? )",
|
|
340
353
|
"rectangular-color-space": "srgb|srgb-linear|display-p3|a98-rgb|prophoto-rgb|rec2020|lab|oklab|xyz|xyz-d50|xyz-d65",
|
|
341
354
|
"relative-selector": "<combinator>? <complex-selector>",
|
|
342
355
|
"relative-selector-list": "<relative-selector>#",
|
|
343
356
|
"relative-size": "larger|smaller",
|
|
344
|
-
"rect()": "rect( [<length-percentage>|auto]{4} [round <'border-radius'>]? )",
|
|
345
357
|
"rem()": "rem( <calc-sum> , <calc-sum> )",
|
|
346
358
|
"repeat-style": "repeat-x|repeat-y|[repeat|space|round|no-repeat]{1,2}",
|
|
347
|
-
"repeating-conic-gradient()": "repeating-conic-gradient( [
|
|
348
|
-
"repeating-linear-gradient()": "repeating-linear-gradient( [<
|
|
349
|
-
"repeating-radial-gradient()": "repeating-radial-gradient( [<
|
|
359
|
+
"repeating-conic-gradient()": "repeating-conic-gradient( [<conic-gradient-syntax>] )",
|
|
360
|
+
"repeating-linear-gradient()": "repeating-linear-gradient( [<linear-gradient-syntax>] )",
|
|
361
|
+
"repeating-radial-gradient()": "repeating-radial-gradient( [<radial-gradient-syntax>] )",
|
|
350
362
|
"reversed-counter-name": "reversed( <counter-name> )",
|
|
351
363
|
"rgb()": "rgb( <percentage>#{3} , <alpha-value>? )|rgb( <number>#{3} , <alpha-value>? )|rgb( [<number>|<percentage>|none]{3} [/ [<alpha-value>|none]]? )",
|
|
352
364
|
"rgba()": "rgba( <percentage>#{3} , <alpha-value>? )|rgba( <number>#{3} , <alpha-value>? )|rgba( [<number>|<percentage>|none]{3} [/ [<alpha-value>|none]]? )",
|
|
@@ -367,6 +379,9 @@ module.exports = {
|
|
|
367
379
|
"scope-start": "<forgiving-selector-list>",
|
|
368
380
|
"scroll()": "scroll( [<scroller>||<axis>]? )",
|
|
369
381
|
"scroller": "root|nearest|self",
|
|
382
|
+
"scroll-state-feature": "<media-query-list>",
|
|
383
|
+
"scroll-state-in-parens": "( <scroll-state-query> )|( <scroll-state-feature> )|<general-enclosed>",
|
|
384
|
+
"scroll-state-query": "not <scroll-state-in-parens>|<scroll-state-in-parens> [[and <scroll-state-in-parens>]*|[or <scroll-state-in-parens>]*]|<scroll-state-feature>",
|
|
370
385
|
"selector-list": "<complex-selector-list>",
|
|
371
386
|
"self-position": "center|start|end|self-start|self-end|flex-start|flex-end",
|
|
372
387
|
"sepia()": "sepia( [<number>|<percentage>]? )",
|
|
@@ -389,12 +404,17 @@ module.exports = {
|
|
|
389
404
|
"single-transition": "[none|<single-transition-property>]||<time>||<easing-function>||<time>||<transition-behavior-value>",
|
|
390
405
|
"single-transition-property": "all|<custom-ident>",
|
|
391
406
|
"size": "closest-side|farthest-side|closest-corner|farthest-corner|<length>|<length-percentage>{2}",
|
|
407
|
+
"size-feature": "<mf-plain>|<mf-boolean>|<mf-range>",
|
|
392
408
|
"skew()": "skew( [<angle>|<zero>] , [<angle>|<zero>]? )",
|
|
393
409
|
"skewX()": "skewX( [<angle>|<zero>] )",
|
|
394
410
|
"skewY()": "skewY( [<angle>|<zero>] )",
|
|
395
411
|
"sqrt()": "sqrt( <calc-sum> )",
|
|
396
412
|
"step-position": "jump-start|jump-end|jump-none|jump-both|start|end",
|
|
397
|
-
"step-
|
|
413
|
+
"step-easing-function": "step-start|step-end|<steps()>",
|
|
414
|
+
"steps()": "steps( <integer> , <step-position>? )",
|
|
415
|
+
"style-feature": "<declaration>",
|
|
416
|
+
"style-in-parens": "( <style-condition> )|( <style-feature> )|<general-enclosed>",
|
|
417
|
+
"style-query": "<style-condition>|<style-feature>",
|
|
398
418
|
"subclass-selector": "<id-selector>|<class-selector>|<attribute-selector>|<pseudo-class-selector>",
|
|
399
419
|
"supports-condition": "not <supports-in-parens>|<supports-in-parens> [and <supports-in-parens>]*|<supports-in-parens> [or <supports-in-parens>]*",
|
|
400
420
|
"supports-decl": "( <declaration> )",
|
|
@@ -461,20 +481,14 @@ module.exports = {
|
|
|
461
481
|
"-ms-filter-function": "<-ms-filter-function-progid>|<-ms-filter-function-legacy>",
|
|
462
482
|
"-ms-filter-function-progid": "'progid:' [<ident-token> '.']* [<ident-token>|<function-token> <any-value>? )]",
|
|
463
483
|
"-ms-filter-function-legacy": "<ident-token>|<function-token> <any-value>? )",
|
|
464
|
-
"absolute-color-base": "<hex-color>|<absolute-color-function>|<named-color>|transparent",
|
|
465
|
-
"absolute-color-function": "<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<oklab()>|<oklch()>|<color()>",
|
|
466
484
|
"age": "child|young|old",
|
|
467
485
|
"attr-name": "<wq-name>",
|
|
468
486
|
"attr-fallback": "<any-value>",
|
|
469
487
|
"bottom": "<length>|auto",
|
|
470
|
-
"container-name": "<custom-ident>",
|
|
471
|
-
"container-condition": "not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]",
|
|
472
488
|
"cubic-bezier-easing-function": "ease|ease-in|ease-out|ease-in-out|cubic-bezier( <number [0,1]> , <number> , <number [0,1]> , <number> )",
|
|
473
489
|
"generic-voice": "[<age>? <gender> <integer>?]",
|
|
474
490
|
"gender": "male|female|neutral",
|
|
475
491
|
"generic-script-specific": "generic( kai )|generic( fangsong )|generic( nastaliq )",
|
|
476
|
-
"generic-complete": "serif|sans-serif|system-ui|cursive|fantasy|math|monospace",
|
|
477
|
-
"generic-incomplete": "ui-serif|ui-sans-serif|ui-monospace|ui-rounded",
|
|
478
492
|
"-non-standard-generic-family": "-apple-system|BlinkMacSystemFont",
|
|
479
493
|
"intrinsic-size-keyword": "min-content|max-content|fit-content",
|
|
480
494
|
"left": "<length>|auto",
|
|
@@ -507,15 +521,9 @@ module.exports = {
|
|
|
507
521
|
"number-zero-one": "<number [0,1]>",
|
|
508
522
|
"number-one-or-greater": "<number [1,∞]>",
|
|
509
523
|
"xyz-space": "xyz|xyz-d50|xyz-d65",
|
|
510
|
-
"query-in-parens": "( <container-condition> )|( <size-feature> )|style( <style-query> )|<general-enclosed>",
|
|
511
|
-
"size-feature": "<mf-plain>|<mf-boolean>|<mf-range>",
|
|
512
|
-
"style-feature": "<declaration>",
|
|
513
|
-
"style-query": "<style-condition>|<style-feature>",
|
|
514
524
|
"style-condition": "not <style-in-parens>|<style-in-parens> [[and <style-in-parens>]*|[or <style-in-parens>]*]",
|
|
515
|
-
"style-in-parens": "( <style-condition> )|( <style-feature> )|<general-enclosed>",
|
|
516
525
|
"-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",
|
|
517
526
|
"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}]",
|
|
518
|
-
"anchor-element": "<dashed-ident>",
|
|
519
527
|
"font-variant-css2": "normal|small-caps",
|
|
520
528
|
"font-width-css3": "normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded",
|
|
521
529
|
"system-family-name": "caption|icon|menu|message-box|small-caption|status-bar"
|
|
@@ -627,6 +635,7 @@ module.exports = {
|
|
|
627
635
|
"align-items": "normal|stretch|<baseline-position>|[<overflow-position>? <self-position>]",
|
|
628
636
|
"align-self": "auto|normal|stretch|<baseline-position>|<overflow-position>? <self-position>",
|
|
629
637
|
"align-tracks": "[normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>]#",
|
|
638
|
+
"alignment-baseline": "auto|baseline|before-edge|text-before-edge|middle|central|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical",
|
|
630
639
|
"all": "initial|inherit|unset|revert|revert-layer",
|
|
631
640
|
"anchor-name": "none|<dashed-ident>#",
|
|
632
641
|
"anchor-scope": "none|all|<dashed-ident>#",
|
|
@@ -660,6 +669,7 @@ module.exports = {
|
|
|
660
669
|
"background-position-y": "[center|[[top|bottom|y-start|y-end]? <length-percentage>?]!]#",
|
|
661
670
|
"background-repeat": "<repeat-style>#",
|
|
662
671
|
"background-size": "<bg-size>#",
|
|
672
|
+
"baseline-shift": "baseline|sub|super|<svg-length>",
|
|
663
673
|
"block-size": "<'width'>",
|
|
664
674
|
"border": "<line-width>||<line-style>||<color>",
|
|
665
675
|
"border-block": "<'border-block-start'>",
|
|
@@ -802,7 +812,7 @@ module.exports = {
|
|
|
802
812
|
"font-language-override": "normal|<string>",
|
|
803
813
|
"font-optical-sizing": "auto|none",
|
|
804
814
|
"font-palette": "normal|light|dark|<palette-identifier>|<palette-mix()>",
|
|
805
|
-
"font-size": "<absolute-size>|<relative-size>|<length-percentage
|
|
815
|
+
"font-size": "<absolute-size>|<relative-size>|<length-percentage [0,∞]>|math",
|
|
806
816
|
"font-size-adjust": "none|[ex-height|cap-height|ch-width|ic-width|ic-height]? [from-font|<number>]",
|
|
807
817
|
"font-smooth": "auto|never|always|<absolute-size>|<length>",
|
|
808
818
|
"font-stretch": "<font-stretch-absolute>",
|
|
@@ -927,6 +937,7 @@ module.exports = {
|
|
|
927
937
|
"mix-blend-mode": "<blend-mode>|plus-lighter",
|
|
928
938
|
"object-fit": "fill|contain|cover|none|scale-down",
|
|
929
939
|
"object-position": "<position>",
|
|
940
|
+
"object-view-box": "none|<basic-shape-rect>",
|
|
930
941
|
"offset": "[<'offset-position'>? [<'offset-path'> [<'offset-distance'>||<'offset-rotate'>]?]?]! [/ <'offset-anchor'>]?",
|
|
931
942
|
"offset-anchor": "auto|<position>",
|
|
932
943
|
"offset-distance": "<length-percentage>",
|
|
@@ -999,6 +1010,7 @@ module.exports = {
|
|
|
999
1010
|
"ry": "<length>|<percentage>",
|
|
1000
1011
|
"scale": "none|[<number>|<percentage>]{1,3}",
|
|
1001
1012
|
"scroll-behavior": "auto|smooth",
|
|
1013
|
+
"scroll-initial-target": "none|nearest",
|
|
1002
1014
|
"scroll-margin": "<length>{1,4}",
|
|
1003
1015
|
"scroll-margin-block": "<length>{1,2}",
|
|
1004
1016
|
"scroll-margin-block-end": "<length>",
|
|
@@ -1103,10 +1115,10 @@ module.exports = {
|
|
|
1103
1115
|
"user-select": "auto|text|none|all",
|
|
1104
1116
|
"vector-effect": "none|non-scaling-stroke|non-scaling-size|non-rotation|fixed-position",
|
|
1105
1117
|
"vertical-align": "baseline|sub|super|text-top|text-bottom|middle|top|bottom|<percentage>|<length>",
|
|
1106
|
-
"view-timeline": "[<'view-timeline-name'> <'view-timeline-axis'
|
|
1118
|
+
"view-timeline": "[<'view-timeline-name'> [<'view-timeline-axis'>||<'view-timeline-inset'>]?]#",
|
|
1107
1119
|
"view-timeline-axis": "[block|inline|x|y]#",
|
|
1108
1120
|
"view-timeline-inset": "[[auto|<length-percentage>]{1,2}]#",
|
|
1109
|
-
"view-timeline-name": "none|<dashed-ident
|
|
1121
|
+
"view-timeline-name": "[none|<dashed-ident>]#",
|
|
1110
1122
|
"view-transition-class": "none|<custom-ident>+",
|
|
1111
1123
|
"view-transition-name": "none|<custom-ident>",
|
|
1112
1124
|
"visibility": "visible|hidden|collapse",
|
|
@@ -1123,6 +1135,7 @@ module.exports = {
|
|
|
1123
1135
|
"y": "<length>|<percentage>",
|
|
1124
1136
|
"z-index": "auto|<integer>",
|
|
1125
1137
|
"zoom": "normal|reset|<number [0,∞]>||<percentage [0,∞]>",
|
|
1138
|
+
"-moz-background-clip": "padding|border",
|
|
1126
1139
|
"-moz-border-radius-bottomleft": "<'border-bottom-left-radius'>",
|
|
1127
1140
|
"-moz-border-radius-bottomright": "<'border-bottom-right-radius'>",
|
|
1128
1141
|
"-moz-border-radius-topleft": "<'border-top-left-radius'>",
|
|
@@ -1142,6 +1155,7 @@ module.exports = {
|
|
|
1142
1155
|
"-ms-grid-column-align": "start|end|center|stretch",
|
|
1143
1156
|
"-ms-grid-row-align": "start|end|center|stretch",
|
|
1144
1157
|
"-ms-hyphenate-limit-last": "none|always|column|page|spread",
|
|
1158
|
+
"-webkit-background-clip": "[<visual-box>|border|padding|content|text]#",
|
|
1145
1159
|
"-webkit-column-break-after": "always|auto|avoid",
|
|
1146
1160
|
"-webkit-column-break-before": "always|auto|avoid",
|
|
1147
1161
|
"-webkit-column-break-inside": "always|auto|avoid",
|
|
@@ -1150,8 +1164,6 @@ module.exports = {
|
|
|
1150
1164
|
"-webkit-print-color-adjust": "economy|exact",
|
|
1151
1165
|
"-webkit-text-security": "none|circle|disc|square",
|
|
1152
1166
|
"-webkit-user-drag": "none|element|auto",
|
|
1153
|
-
"alignment-baseline": "auto|baseline|before-edge|text-before-edge|middle|central|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical",
|
|
1154
|
-
"baseline-shift": "baseline|sub|super|<svg-length>",
|
|
1155
1167
|
"behavior": "<url>+",
|
|
1156
1168
|
"cue": "<'cue-before'> <'cue-after'>?",
|
|
1157
1169
|
"cue-after": "<url> <decibel>?|none",
|
|
@@ -1197,6 +1209,10 @@ module.exports = {
|
|
|
1197
1209
|
"system": "cyclic|numeric|alphabetic|symbolic|additive|[fixed <integer>?]|[extends <counter-style-name>]"
|
|
1198
1210
|
}
|
|
1199
1211
|
},
|
|
1212
|
+
"container": {
|
|
1213
|
+
"prelude": "[<container-name>]? <container-condition>",
|
|
1214
|
+
"descriptors": null
|
|
1215
|
+
},
|
|
1200
1216
|
"document": {
|
|
1201
1217
|
"prelude": "[<url>|url-prefix( <string> )|domain( <string> )|media-document( <string> )|regexp( <string> )]#",
|
|
1202
1218
|
"descriptors": null
|
|
@@ -1328,10 +1344,6 @@ module.exports = {
|
|
|
1328
1344
|
"types": "none|<custom-ident>+"
|
|
1329
1345
|
}
|
|
1330
1346
|
},
|
|
1331
|
-
"container": {
|
|
1332
|
-
"prelude": "[<container-name>]? <container-condition>",
|
|
1333
|
-
"descriptors": null
|
|
1334
|
-
},
|
|
1335
1347
|
"nest": {
|
|
1336
1348
|
"prelude": "<complex-selector-list>",
|
|
1337
1349
|
"descriptors": null
|