cssstyle 4.0.1 → 4.1.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.
@@ -1,11 +1,6 @@
1
1
  'use strict';
2
-
3
- // autogenerated - 1/22/2023
4
-
5
- /*
6
- *
7
- * https://www.w3.org/Style/CSS/all-properties.en.html
8
- */
2
+ // autogenerated - 2024-09-07
3
+ // https://www.w3.org/Style/CSS/all-properties.en.html
9
4
 
10
5
  module.exports = new Set([
11
6
  '-webkit-line-clamp',
@@ -15,10 +10,11 @@ module.exports = new Set([
15
10
  'align-self',
16
11
  'alignment-baseline',
17
12
  'all',
13
+ 'anchor-name',
14
+ 'anchor-scope',
18
15
  'animation',
16
+ 'animation-composition',
19
17
  'animation-delay',
20
- 'animation-delay-end',
21
- 'animation-delay-start',
22
18
  'animation-direction',
23
19
  'animation-duration',
24
20
  'animation-fill-mode',
@@ -26,6 +22,9 @@ module.exports = new Set([
26
22
  'animation-name',
27
23
  'animation-play-state',
28
24
  'animation-range',
25
+ 'animation-range-end',
26
+ 'animation-range-start',
27
+ 'animation-timeline',
29
28
  'animation-timing-function',
30
29
  'appearance',
31
30
  'aspect-ratio',
@@ -122,7 +121,6 @@ module.exports = new Set([
122
121
  'caret',
123
122
  'caret-color',
124
123
  'caret-shape',
125
- 'chains',
126
124
  'clear',
127
125
  'clip',
128
126
  'clip-path',
@@ -176,7 +174,6 @@ module.exports = new Set([
176
174
  'float',
177
175
  'flood-color',
178
176
  'flood-opacity',
179
- 'flow',
180
177
  'flow-from',
181
178
  'flow-into',
182
179
  'font',
@@ -191,6 +188,7 @@ module.exports = new Set([
191
188
  'font-stretch',
192
189
  'font-style',
193
190
  'font-synthesis',
191
+ 'font-synthesis-position',
194
192
  'font-synthesis-small-caps',
195
193
  'font-synthesis-style',
196
194
  'font-synthesis-weight',
@@ -204,6 +202,7 @@ module.exports = new Set([
204
202
  'font-variant-position',
205
203
  'font-variation-settings',
206
204
  'font-weight',
205
+ 'font-width',
207
206
  'footnote-display',
208
207
  'footnote-policy',
209
208
  'forced-color-adjust',
@@ -241,6 +240,7 @@ module.exports = new Set([
241
240
  'inline-size',
242
241
  'inline-sizing',
243
242
  'inset',
243
+ 'inset-area',
244
244
  'inset-block',
245
245
  'inset-block-end',
246
246
  'inset-block-start',
@@ -251,12 +251,12 @@ module.exports = new Set([
251
251
  'justify-content',
252
252
  'justify-items',
253
253
  'justify-self',
254
- 'leading-trim',
255
254
  'left',
256
255
  'letter-spacing',
257
256
  'lighting-color',
258
257
  'line-break',
259
258
  'line-clamp',
259
+ 'line-fit-edge',
260
260
  'line-grid',
261
261
  'line-height',
262
262
  'line-padding',
@@ -371,6 +371,10 @@ module.exports = new Set([
371
371
  'place-self',
372
372
  'play-during',
373
373
  'position',
374
+ 'position-anchor',
375
+ 'position-try',
376
+ 'position-try-options',
377
+ 'position-try-order',
374
378
  'print-color-adjust',
375
379
  'quotes',
376
380
  'region-fragment',
@@ -440,6 +444,10 @@ module.exports = new Set([
440
444
  'text-align',
441
445
  'text-align-all',
442
446
  'text-align-last',
447
+ 'text-autospace',
448
+ 'text-box',
449
+ 'text-box-edge',
450
+ 'text-box-trim',
443
451
  'text-combine-upright',
444
452
  'text-decoration',
445
453
  'text-decoration-color',
@@ -452,7 +460,6 @@ module.exports = new Set([
452
460
  'text-decoration-skip-spaces',
453
461
  'text-decoration-style',
454
462
  'text-decoration-thickness',
455
- 'text-edge',
456
463
  'text-emphasis',
457
464
  'text-emphasis-color',
458
465
  'text-emphasis-position',
@@ -464,13 +471,15 @@ module.exports = new Set([
464
471
  'text-orientation',
465
472
  'text-overflow',
466
473
  'text-shadow',
467
- 'text-space-collapse',
468
- 'text-space-trim',
469
474
  'text-spacing',
475
+ 'text-spacing-trim',
470
476
  'text-transform',
471
477
  'text-underline-offset',
472
478
  'text-underline-position',
473
479
  'text-wrap',
480
+ 'text-wrap-mode',
481
+ 'text-wrap-style',
482
+ 'timeline-scope',
474
483
  'top',
475
484
  'transform',
476
485
  'transform-box',
@@ -501,12 +510,13 @@ module.exports = new Set([
501
510
  'voice-volume',
502
511
  'volume',
503
512
  'white-space',
513
+ 'white-space-collapse',
514
+ 'white-space-trim',
504
515
  'widows',
505
516
  'width',
506
517
  'will-change',
507
- 'word-boundary-detection',
508
- 'word-boundary-expansion',
509
518
  'word-break',
519
+ 'word-space-transform',
510
520
  'word-spacing',
511
521
  'word-wrap',
512
522
  'wrap-after',
@@ -1,90 +1,86 @@
1
- 'use strict';
2
-
3
- // autogenerated - 12/28/2023
4
1
 
5
- /*
6
- *
7
- * https://www.w3.org/Style/CSS/all-properties.en.html
8
- */
2
+ 'use strict';
3
+ // autogenerated - 2024-09-07
4
+ // https://www.w3.org/Style/CSS/all-properties.en.html
9
5
 
10
- var implementedProperties = new Set();
11
- implementedProperties.add("azimuth");
12
- implementedProperties.add("background");
13
- implementedProperties.add("background-attachment");
14
- implementedProperties.add("background-color");
15
- implementedProperties.add("background-image");
16
- implementedProperties.add("background-position");
17
- implementedProperties.add("background-repeat");
18
- implementedProperties.add("border");
19
- implementedProperties.add("border-bottom");
20
- implementedProperties.add("border-bottom-color");
21
- implementedProperties.add("border-bottom-style");
22
- implementedProperties.add("border-bottom-width");
23
- implementedProperties.add("border-collapse");
24
- implementedProperties.add("border-color");
25
- implementedProperties.add("border-left");
26
- implementedProperties.add("border-left-color");
27
- implementedProperties.add("border-left-style");
28
- implementedProperties.add("border-left-width");
29
- implementedProperties.add("border-right");
30
- implementedProperties.add("border-right-color");
31
- implementedProperties.add("border-right-style");
32
- implementedProperties.add("border-right-width");
33
- implementedProperties.add("border-spacing");
34
- implementedProperties.add("border-style");
35
- implementedProperties.add("border-top");
36
- implementedProperties.add("border-top-color");
37
- implementedProperties.add("border-top-style");
38
- implementedProperties.add("border-top-width");
39
- implementedProperties.add("border-width");
40
- implementedProperties.add("bottom");
41
- implementedProperties.add("clear");
42
- implementedProperties.add("clip");
43
- implementedProperties.add("color");
44
- implementedProperties.add("css-float");
45
- implementedProperties.add("flex");
46
- implementedProperties.add("flex-basis");
47
- implementedProperties.add("flex-grow");
48
- implementedProperties.add("flex-shrink");
49
- implementedProperties.add("float");
50
- implementedProperties.add("flood-color");
51
- implementedProperties.add("font");
52
- implementedProperties.add("font-family");
53
- implementedProperties.add("font-size");
54
- implementedProperties.add("font-style");
55
- implementedProperties.add("font-variant");
56
- implementedProperties.add("font-weight");
57
- implementedProperties.add("height");
58
- implementedProperties.add("left");
59
- implementedProperties.add("lighting-color");
60
- implementedProperties.add("line-height");
61
- implementedProperties.add("margin");
62
- implementedProperties.add("margin-bottom");
63
- implementedProperties.add("margin-left");
64
- implementedProperties.add("margin-right");
65
- implementedProperties.add("margin-top");
66
- implementedProperties.add("opacity");
67
- implementedProperties.add("outline-color");
68
- implementedProperties.add("padding");
69
- implementedProperties.add("padding-bottom");
70
- implementedProperties.add("padding-left");
71
- implementedProperties.add("padding-right");
72
- implementedProperties.add("padding-top");
73
- implementedProperties.add("right");
74
- implementedProperties.add("stop-color");
75
- implementedProperties.add("text-line-through-color");
76
- implementedProperties.add("text-overline-color");
77
- implementedProperties.add("text-underline-color");
78
- implementedProperties.add("top");
79
- implementedProperties.add("webkit-border-after-color");
80
- implementedProperties.add("webkit-border-before-color");
81
- implementedProperties.add("webkit-border-end-color");
82
- implementedProperties.add("webkit-border-start-color");
83
- implementedProperties.add("webkit-column-rule-color");
84
- implementedProperties.add("webkit-match-nearest-mail-blockquote-color");
85
- implementedProperties.add("webkit-tap-highlight-color");
86
- implementedProperties.add("webkit-text-emphasis-color");
87
- implementedProperties.add("webkit-text-fill-color");
88
- implementedProperties.add("webkit-text-stroke-color");
89
- implementedProperties.add("width");
90
- module.exports = implementedProperties;
6
+ module.exports = new Set([
7
+ "azimuth",
8
+ "background",
9
+ "background-attachment",
10
+ "background-color",
11
+ "background-image",
12
+ "background-position",
13
+ "background-repeat",
14
+ "border",
15
+ "border-bottom",
16
+ "border-bottom-color",
17
+ "border-bottom-style",
18
+ "border-bottom-width",
19
+ "border-collapse",
20
+ "border-color",
21
+ "border-left",
22
+ "border-left-color",
23
+ "border-left-style",
24
+ "border-left-width",
25
+ "border-right",
26
+ "border-right-color",
27
+ "border-right-style",
28
+ "border-right-width",
29
+ "border-spacing",
30
+ "border-style",
31
+ "border-top",
32
+ "border-top-color",
33
+ "border-top-style",
34
+ "border-top-width",
35
+ "border-width",
36
+ "bottom",
37
+ "clear",
38
+ "clip",
39
+ "color",
40
+ "css-float",
41
+ "flex",
42
+ "flex-basis",
43
+ "flex-grow",
44
+ "flex-shrink",
45
+ "float",
46
+ "flood-color",
47
+ "font",
48
+ "font-family",
49
+ "font-size",
50
+ "font-style",
51
+ "font-variant",
52
+ "font-weight",
53
+ "height",
54
+ "left",
55
+ "lighting-color",
56
+ "line-height",
57
+ "margin",
58
+ "margin-bottom",
59
+ "margin-left",
60
+ "margin-right",
61
+ "margin-top",
62
+ "opacity",
63
+ "outline-color",
64
+ "padding",
65
+ "padding-bottom",
66
+ "padding-left",
67
+ "padding-right",
68
+ "padding-top",
69
+ "right",
70
+ "stop-color",
71
+ "text-line-through-color",
72
+ "text-overline-color",
73
+ "text-underline-color",
74
+ "top",
75
+ "webkit-border-after-color",
76
+ "webkit-border-before-color",
77
+ "webkit-border-end-color",
78
+ "webkit-border-start-color",
79
+ "webkit-column-rule-color",
80
+ "webkit-match-nearest-mail-blockquote-color",
81
+ "webkit-tap-highlight-color",
82
+ "webkit-text-emphasis-color",
83
+ "webkit-text-fill-color",
84
+ "webkit-text-stroke-color",
85
+ "width"
86
+ ]);
@@ -12,6 +12,7 @@ var isValid = function (v) {
12
12
  type === TYPES.NULL_OR_EMPTY_STR ||
13
13
  type === TYPES.LENGTH ||
14
14
  type === TYPES.PERCENT ||
15
+ type === TYPES.CALC ||
15
16
  (type === TYPES.INTEGER && (v === '0' || v === 0))
16
17
  );
17
18
  };
@@ -9,6 +9,7 @@ var isValid = function (v) {
9
9
  type === TYPES.NULL_OR_EMPTY_STR ||
10
10
  type === TYPES.LENGTH ||
11
11
  type === TYPES.PERCENT ||
12
+ type === TYPES.CALC ||
12
13
  (type === TYPES.INTEGER && (v === '0' || v === 0))
13
14
  );
14
15
  };