@webref/css 6.4.0 → 6.4.2
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/css-backgrounds-4.json +8 -0
- package/css-backgrounds.json +37 -21
- package/css-box.json +8 -0
- package/css-cascade-6.json +5 -5
- package/css-color-5.json +95 -60
- package/css-color.json +47 -7
- package/css-conditional-5.json +0 -7
- package/css-display.json +1 -1
- package/css-easing.json +1 -1
- package/css-fonts-5.json +1 -1
- package/css-fonts.json +1 -1
- package/css-grid.json +12 -12
- package/css-logical.json +30 -0
- package/css-multicol.json +1 -1
- package/css-nav.json +3 -0
- package/css-overflow-4.json +12 -4
- package/css-overflow.json +5 -1
- package/css-overscroll.json +4 -0
- package/css-position.json +8 -0
- package/css-rhythm.json +0 -5
- package/css-scroll-snap.json +16 -0
- package/css-shapes.json +3 -3
- package/css-sizing-4.json +4 -0
- package/css-sizing.json +10 -4
- package/css-speech.json +18 -18
- package/css-text-4.json +133 -74
- package/css-ui.json +1 -1
- package/motion.json +28 -18
- package/package.json +1 -1
- package/scroll-animations.json +19 -3
package/css-backgrounds-4.json
CHANGED
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
"computedValue": "A list, each item consisting of: an offset given as a computed <length-percentage> value, plus an origin keyword",
|
|
30
30
|
"canonicalOrder": "per grammar",
|
|
31
31
|
"animationType": "repeatable list",
|
|
32
|
+
"logicalPropertyGroup": "background-position",
|
|
32
33
|
"styleDeclaration": [
|
|
33
34
|
"background-position-x",
|
|
34
35
|
"backgroundPositionX"
|
|
@@ -44,6 +45,7 @@
|
|
|
44
45
|
"computedValue": "A list, each item consisting of: an offset given as a computed <length-percentage> value, plus an origin keyword",
|
|
45
46
|
"canonicalOrder": "per grammar",
|
|
46
47
|
"animationType": "repeatable list",
|
|
48
|
+
"logicalPropertyGroup": "background-position",
|
|
47
49
|
"styleDeclaration": [
|
|
48
50
|
"background-position-y",
|
|
49
51
|
"backgroundPositionY"
|
|
@@ -59,6 +61,7 @@
|
|
|
59
61
|
"computedValue": "A list, each item consisting of: an offset given as a computed <length-percentage> value, plus an origin keyword",
|
|
60
62
|
"canonicalOrder": "per grammar",
|
|
61
63
|
"animationType": "repeatable list",
|
|
64
|
+
"logicalPropertyGroup": "background-position",
|
|
62
65
|
"styleDeclaration": [
|
|
63
66
|
"background-position-inline",
|
|
64
67
|
"backgroundPositionInline"
|
|
@@ -74,6 +77,7 @@
|
|
|
74
77
|
"computedValue": "A list, each item consisting of: an offset given as a computed <length-percentage> value, plus an origin keyword",
|
|
75
78
|
"canonicalOrder": "per grammar",
|
|
76
79
|
"animationType": "repeatable list",
|
|
80
|
+
"logicalPropertyGroup": "background-position",
|
|
77
81
|
"styleDeclaration": [
|
|
78
82
|
"background-position-block",
|
|
79
83
|
"backgroundPositionBlock"
|
|
@@ -104,6 +108,7 @@
|
|
|
104
108
|
"computedValue": "the computed color and/or a one-dimensional image function",
|
|
105
109
|
"canonicalOrder": "per grammar",
|
|
106
110
|
"animationType": "see prose",
|
|
111
|
+
"logicalPropertyGroup": "border-color",
|
|
107
112
|
"styleDeclaration": [
|
|
108
113
|
"border-top-color",
|
|
109
114
|
"borderTopColor"
|
|
@@ -119,6 +124,7 @@
|
|
|
119
124
|
"computedValue": "the computed color and/or a one-dimensional image function",
|
|
120
125
|
"canonicalOrder": "per grammar",
|
|
121
126
|
"animationType": "see prose",
|
|
127
|
+
"logicalPropertyGroup": "border-color",
|
|
122
128
|
"styleDeclaration": [
|
|
123
129
|
"border-right-color",
|
|
124
130
|
"borderRightColor"
|
|
@@ -134,6 +140,7 @@
|
|
|
134
140
|
"computedValue": "the computed color and/or a one-dimensional image function",
|
|
135
141
|
"canonicalOrder": "per grammar",
|
|
136
142
|
"animationType": "see prose",
|
|
143
|
+
"logicalPropertyGroup": "border-color",
|
|
137
144
|
"styleDeclaration": [
|
|
138
145
|
"border-bottom-color",
|
|
139
146
|
"borderBottomColor"
|
|
@@ -149,6 +156,7 @@
|
|
|
149
156
|
"computedValue": "the computed color and/or a one-dimensional image function",
|
|
150
157
|
"canonicalOrder": "per grammar",
|
|
151
158
|
"animationType": "see prose",
|
|
159
|
+
"logicalPropertyGroup": "border-color",
|
|
152
160
|
"styleDeclaration": [
|
|
153
161
|
"border-left-color",
|
|
154
162
|
"borderLeftColor"
|
package/css-backgrounds.json
CHANGED
|
@@ -324,6 +324,7 @@
|
|
|
324
324
|
"computedValue": "computed color",
|
|
325
325
|
"canonicalOrder": "per grammar",
|
|
326
326
|
"animationType": "by computed value",
|
|
327
|
+
"logicalPropertyGroup": "border-color",
|
|
327
328
|
"styleDeclaration": [
|
|
328
329
|
"border-top-color",
|
|
329
330
|
"borderTopColor"
|
|
@@ -339,6 +340,7 @@
|
|
|
339
340
|
"computedValue": "computed color",
|
|
340
341
|
"canonicalOrder": "per grammar",
|
|
341
342
|
"animationType": "by computed value",
|
|
343
|
+
"logicalPropertyGroup": "border-color",
|
|
342
344
|
"styleDeclaration": [
|
|
343
345
|
"border-right-color",
|
|
344
346
|
"borderRightColor"
|
|
@@ -354,6 +356,7 @@
|
|
|
354
356
|
"computedValue": "computed color",
|
|
355
357
|
"canonicalOrder": "per grammar",
|
|
356
358
|
"animationType": "by computed value",
|
|
359
|
+
"logicalPropertyGroup": "border-color",
|
|
357
360
|
"styleDeclaration": [
|
|
358
361
|
"border-bottom-color",
|
|
359
362
|
"borderBottomColor"
|
|
@@ -369,6 +372,7 @@
|
|
|
369
372
|
"computedValue": "computed color",
|
|
370
373
|
"canonicalOrder": "per grammar",
|
|
371
374
|
"animationType": "by computed value",
|
|
375
|
+
"logicalPropertyGroup": "border-color",
|
|
372
376
|
"styleDeclaration": [
|
|
373
377
|
"border-left-color",
|
|
374
378
|
"borderLeftColor"
|
|
@@ -383,7 +387,7 @@
|
|
|
383
387
|
"percentages": "N/A",
|
|
384
388
|
"computedValue": "see individual properties",
|
|
385
389
|
"canonicalOrder": "per grammar",
|
|
386
|
-
"
|
|
390
|
+
"animationType": "see individual properties",
|
|
387
391
|
"styleDeclaration": [
|
|
388
392
|
"border-color",
|
|
389
393
|
"borderColor"
|
|
@@ -399,6 +403,7 @@
|
|
|
399
403
|
"computedValue": "specified keyword",
|
|
400
404
|
"canonicalOrder": "per grammar",
|
|
401
405
|
"animationType": "discrete",
|
|
406
|
+
"logicalPropertyGroup": "border-style",
|
|
402
407
|
"styleDeclaration": [
|
|
403
408
|
"border-top-style",
|
|
404
409
|
"borderTopStyle"
|
|
@@ -414,6 +419,7 @@
|
|
|
414
419
|
"computedValue": "specified keyword",
|
|
415
420
|
"canonicalOrder": "per grammar",
|
|
416
421
|
"animationType": "discrete",
|
|
422
|
+
"logicalPropertyGroup": "border-style",
|
|
417
423
|
"styleDeclaration": [
|
|
418
424
|
"border-right-style",
|
|
419
425
|
"borderRightStyle"
|
|
@@ -429,6 +435,7 @@
|
|
|
429
435
|
"computedValue": "specified keyword",
|
|
430
436
|
"canonicalOrder": "per grammar",
|
|
431
437
|
"animationType": "discrete",
|
|
438
|
+
"logicalPropertyGroup": "border-style",
|
|
432
439
|
"styleDeclaration": [
|
|
433
440
|
"border-bottom-style",
|
|
434
441
|
"borderBottomStyle"
|
|
@@ -444,6 +451,7 @@
|
|
|
444
451
|
"computedValue": "specified keyword",
|
|
445
452
|
"canonicalOrder": "per grammar",
|
|
446
453
|
"animationType": "discrete",
|
|
454
|
+
"logicalPropertyGroup": "border-style",
|
|
447
455
|
"styleDeclaration": [
|
|
448
456
|
"border-left-style",
|
|
449
457
|
"borderLeftStyle"
|
|
@@ -471,9 +479,10 @@
|
|
|
471
479
|
"appliesTo": "all elements except ruby base containers and ruby annotation containers",
|
|
472
480
|
"inherited": "no",
|
|
473
481
|
"percentages": "N/A",
|
|
474
|
-
"computedValue": "absolute length; zero if the border style is none or hidden",
|
|
482
|
+
"computedValue": "absolute length, snapped as a border width; zero if the border style is none or hidden",
|
|
475
483
|
"canonicalOrder": "per grammar",
|
|
476
|
-
"
|
|
484
|
+
"animationType": "by computed value",
|
|
485
|
+
"logicalPropertyGroup": "border-width",
|
|
477
486
|
"styleDeclaration": [
|
|
478
487
|
"border-top-width",
|
|
479
488
|
"borderTopWidth"
|
|
@@ -486,9 +495,10 @@
|
|
|
486
495
|
"appliesTo": "all elements except ruby base containers and ruby annotation containers",
|
|
487
496
|
"inherited": "no",
|
|
488
497
|
"percentages": "N/A",
|
|
489
|
-
"computedValue": "absolute length; zero if the border style is none or hidden",
|
|
498
|
+
"computedValue": "absolute length, snapped as a border width; zero if the border style is none or hidden",
|
|
490
499
|
"canonicalOrder": "per grammar",
|
|
491
|
-
"
|
|
500
|
+
"animationType": "by computed value",
|
|
501
|
+
"logicalPropertyGroup": "border-width",
|
|
492
502
|
"styleDeclaration": [
|
|
493
503
|
"border-right-width",
|
|
494
504
|
"borderRightWidth"
|
|
@@ -501,9 +511,10 @@
|
|
|
501
511
|
"appliesTo": "all elements except ruby base containers and ruby annotation containers",
|
|
502
512
|
"inherited": "no",
|
|
503
513
|
"percentages": "N/A",
|
|
504
|
-
"computedValue": "absolute length; zero if the border style is none or hidden",
|
|
514
|
+
"computedValue": "absolute length, snapped as a border width; zero if the border style is none or hidden",
|
|
505
515
|
"canonicalOrder": "per grammar",
|
|
506
|
-
"
|
|
516
|
+
"animationType": "by computed value",
|
|
517
|
+
"logicalPropertyGroup": "border-width",
|
|
507
518
|
"styleDeclaration": [
|
|
508
519
|
"border-bottom-width",
|
|
509
520
|
"borderBottomWidth"
|
|
@@ -516,9 +527,10 @@
|
|
|
516
527
|
"appliesTo": "all elements except ruby base containers and ruby annotation containers",
|
|
517
528
|
"inherited": "no",
|
|
518
529
|
"percentages": "N/A",
|
|
519
|
-
"computedValue": "absolute length; zero if the border style is none or hidden",
|
|
530
|
+
"computedValue": "absolute length, snapped as a border width; zero if the border style is none or hidden",
|
|
520
531
|
"canonicalOrder": "per grammar",
|
|
521
|
-
"
|
|
532
|
+
"animationType": "by computed value",
|
|
533
|
+
"logicalPropertyGroup": "border-width",
|
|
522
534
|
"styleDeclaration": [
|
|
523
535
|
"border-left-width",
|
|
524
536
|
"borderLeftWidth"
|
|
@@ -533,7 +545,7 @@
|
|
|
533
545
|
"percentages": "see individual properties",
|
|
534
546
|
"computedValue": "see individual properties",
|
|
535
547
|
"canonicalOrder": "per grammar",
|
|
536
|
-
"
|
|
548
|
+
"animationType": "see individual properties",
|
|
537
549
|
"styleDeclaration": [
|
|
538
550
|
"border-width",
|
|
539
551
|
"borderWidth"
|
|
@@ -548,7 +560,7 @@
|
|
|
548
560
|
"percentages": "N/A",
|
|
549
561
|
"computedValue": "see individual properties",
|
|
550
562
|
"canonicalOrder": "per grammar",
|
|
551
|
-
"
|
|
563
|
+
"animationType": "see individual properties",
|
|
552
564
|
"styleDeclaration": [
|
|
553
565
|
"border-top",
|
|
554
566
|
"borderTop"
|
|
@@ -563,7 +575,7 @@
|
|
|
563
575
|
"percentages": "N/A",
|
|
564
576
|
"computedValue": "see individual properties",
|
|
565
577
|
"canonicalOrder": "per grammar",
|
|
566
|
-
"
|
|
578
|
+
"animationType": "see individual properties",
|
|
567
579
|
"styleDeclaration": [
|
|
568
580
|
"border-right",
|
|
569
581
|
"borderRight"
|
|
@@ -578,7 +590,7 @@
|
|
|
578
590
|
"percentages": "N/A",
|
|
579
591
|
"computedValue": "see individual properties",
|
|
580
592
|
"canonicalOrder": "per grammar",
|
|
581
|
-
"
|
|
593
|
+
"animationType": "see individual properties",
|
|
582
594
|
"styleDeclaration": [
|
|
583
595
|
"border-bottom",
|
|
584
596
|
"borderBottom"
|
|
@@ -593,7 +605,7 @@
|
|
|
593
605
|
"percentages": "N/A",
|
|
594
606
|
"computedValue": "see individual properties",
|
|
595
607
|
"canonicalOrder": "per grammar",
|
|
596
|
-
"
|
|
608
|
+
"animationType": "see individual properties",
|
|
597
609
|
"styleDeclaration": [
|
|
598
610
|
"border-left",
|
|
599
611
|
"borderLeft"
|
|
@@ -608,7 +620,7 @@
|
|
|
608
620
|
"percentages": "N/A",
|
|
609
621
|
"computedValue": "see individual properties",
|
|
610
622
|
"canonicalOrder": "per grammar",
|
|
611
|
-
"
|
|
623
|
+
"animationType": "see individual properties",
|
|
612
624
|
"styleDeclaration": [
|
|
613
625
|
"border"
|
|
614
626
|
]
|
|
@@ -622,7 +634,8 @@
|
|
|
622
634
|
"percentages": "Refer to corresponding dimension of the border box.",
|
|
623
635
|
"computedValue": "pair of computed <length-percentage> values",
|
|
624
636
|
"canonicalOrder": "per grammar",
|
|
625
|
-
"
|
|
637
|
+
"animationType": "by computed value",
|
|
638
|
+
"logicalPropertyGroup": "border-radius",
|
|
626
639
|
"styleDeclaration": [
|
|
627
640
|
"border-top-left-radius",
|
|
628
641
|
"borderTopLeftRadius"
|
|
@@ -637,7 +650,8 @@
|
|
|
637
650
|
"percentages": "Refer to corresponding dimension of the border box.",
|
|
638
651
|
"computedValue": "pair of computed <length-percentage> values",
|
|
639
652
|
"canonicalOrder": "per grammar",
|
|
640
|
-
"
|
|
653
|
+
"animationType": "by computed value",
|
|
654
|
+
"logicalPropertyGroup": "border-radius",
|
|
641
655
|
"styleDeclaration": [
|
|
642
656
|
"border-top-right-radius",
|
|
643
657
|
"borderTopRightRadius"
|
|
@@ -652,7 +666,8 @@
|
|
|
652
666
|
"percentages": "Refer to corresponding dimension of the border box.",
|
|
653
667
|
"computedValue": "pair of computed <length-percentage> values",
|
|
654
668
|
"canonicalOrder": "per grammar",
|
|
655
|
-
"
|
|
669
|
+
"animationType": "by computed value",
|
|
670
|
+
"logicalPropertyGroup": "border-radius",
|
|
656
671
|
"styleDeclaration": [
|
|
657
672
|
"border-bottom-right-radius",
|
|
658
673
|
"borderBottomRightRadius"
|
|
@@ -667,7 +682,8 @@
|
|
|
667
682
|
"percentages": "Refer to corresponding dimension of the border box.",
|
|
668
683
|
"computedValue": "pair of computed <length-percentage> values",
|
|
669
684
|
"canonicalOrder": "per grammar",
|
|
670
|
-
"
|
|
685
|
+
"animationType": "by computed value",
|
|
686
|
+
"logicalPropertyGroup": "border-radius",
|
|
671
687
|
"styleDeclaration": [
|
|
672
688
|
"border-bottom-left-radius",
|
|
673
689
|
"borderBottomLeftRadius"
|
|
@@ -682,7 +698,7 @@
|
|
|
682
698
|
"percentages": "Refer to corresponding dimension of the border box.",
|
|
683
699
|
"computedValue": "see individual properties",
|
|
684
700
|
"canonicalOrder": "per grammar",
|
|
685
|
-
"
|
|
701
|
+
"animationType": "see individual properties",
|
|
686
702
|
"styleDeclaration": [
|
|
687
703
|
"border-radius",
|
|
688
704
|
"borderRadius"
|
|
@@ -838,7 +854,7 @@
|
|
|
838
854
|
"percentages": "N/A",
|
|
839
855
|
"computedValue": "See individual properties",
|
|
840
856
|
"canonicalOrder": "per grammar",
|
|
841
|
-
"
|
|
857
|
+
"animationType": "See individual properties",
|
|
842
858
|
"styleDeclaration": [
|
|
843
859
|
"border-image",
|
|
844
860
|
"borderImage"
|
package/css-box.json
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"computedValue": "the keyword auto or a computed <length-percentage> value",
|
|
15
15
|
"canonicalOrder": "per grammar",
|
|
16
16
|
"animationType": "by computed value type",
|
|
17
|
+
"logicalPropertyGroup": "margin",
|
|
17
18
|
"styleDeclaration": [
|
|
18
19
|
"margin-top",
|
|
19
20
|
"marginTop"
|
|
@@ -29,6 +30,7 @@
|
|
|
29
30
|
"computedValue": "the keyword auto or a computed <length-percentage> value",
|
|
30
31
|
"canonicalOrder": "per grammar",
|
|
31
32
|
"animationType": "by computed value type",
|
|
33
|
+
"logicalPropertyGroup": "margin",
|
|
32
34
|
"styleDeclaration": [
|
|
33
35
|
"margin-right",
|
|
34
36
|
"marginRight"
|
|
@@ -44,6 +46,7 @@
|
|
|
44
46
|
"computedValue": "the keyword auto or a computed <length-percentage> value",
|
|
45
47
|
"canonicalOrder": "per grammar",
|
|
46
48
|
"animationType": "by computed value type",
|
|
49
|
+
"logicalPropertyGroup": "margin",
|
|
47
50
|
"styleDeclaration": [
|
|
48
51
|
"margin-bottom",
|
|
49
52
|
"marginBottom"
|
|
@@ -59,6 +62,7 @@
|
|
|
59
62
|
"computedValue": "the keyword auto or a computed <length-percentage> value",
|
|
60
63
|
"canonicalOrder": "per grammar",
|
|
61
64
|
"animationType": "by computed value type",
|
|
65
|
+
"logicalPropertyGroup": "margin",
|
|
62
66
|
"styleDeclaration": [
|
|
63
67
|
"margin-left",
|
|
64
68
|
"marginLeft"
|
|
@@ -147,6 +151,7 @@
|
|
|
147
151
|
"computedValue": "a computed <length-percentage> value",
|
|
148
152
|
"canonicalOrder": "per grammar",
|
|
149
153
|
"animationType": "by computed value type",
|
|
154
|
+
"logicalPropertyGroup": "padding",
|
|
150
155
|
"styleDeclaration": [
|
|
151
156
|
"padding-top",
|
|
152
157
|
"paddingTop"
|
|
@@ -162,6 +167,7 @@
|
|
|
162
167
|
"computedValue": "a computed <length-percentage> value",
|
|
163
168
|
"canonicalOrder": "per grammar",
|
|
164
169
|
"animationType": "by computed value type",
|
|
170
|
+
"logicalPropertyGroup": "padding",
|
|
165
171
|
"styleDeclaration": [
|
|
166
172
|
"padding-right",
|
|
167
173
|
"paddingRight"
|
|
@@ -177,6 +183,7 @@
|
|
|
177
183
|
"computedValue": "a computed <length-percentage> value",
|
|
178
184
|
"canonicalOrder": "per grammar",
|
|
179
185
|
"animationType": "by computed value type",
|
|
186
|
+
"logicalPropertyGroup": "padding",
|
|
180
187
|
"styleDeclaration": [
|
|
181
188
|
"padding-bottom",
|
|
182
189
|
"paddingBottom"
|
|
@@ -192,6 +199,7 @@
|
|
|
192
199
|
"computedValue": "a computed <length-percentage> value",
|
|
193
200
|
"canonicalOrder": "per grammar",
|
|
194
201
|
"animationType": "by computed value type",
|
|
202
|
+
"logicalPropertyGroup": "padding",
|
|
195
203
|
"styleDeclaration": [
|
|
196
204
|
"padding-left",
|
|
197
205
|
"paddingLeft"
|
package/css-cascade-6.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"atrules": [
|
|
8
8
|
{
|
|
9
9
|
"name": "@scope",
|
|
10
|
-
"prose": "
|
|
10
|
+
"prose": "Scoped styles are described in CSS using the @scope block at-rule, which declares a scoping root and optional scoping limits associated with a set of style rules.",
|
|
11
11
|
"descriptors": [],
|
|
12
12
|
"value": "@scope [(<scope-start>)]? [to (<scope-end>)]? { <stylesheet> }"
|
|
13
13
|
}
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
"values": [
|
|
17
17
|
{
|
|
18
18
|
"name": "<scope-start>",
|
|
19
|
-
"
|
|
20
|
-
"
|
|
19
|
+
"prose": "<scope-start> is a <forgiving-selector-list> selector used to identify the scoping root(s).",
|
|
20
|
+
"type": "type"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
"name": "<scope-end>",
|
|
24
|
-
"
|
|
25
|
-
"
|
|
24
|
+
"prose": "<scope-end> is a <forgiving-selector-list> selector used to identify any scoping limits.",
|
|
25
|
+
"type": "type"
|
|
26
26
|
}
|
|
27
27
|
]
|
|
28
28
|
}
|
package/css-color-5.json
CHANGED
|
@@ -59,77 +59,46 @@
|
|
|
59
59
|
],
|
|
60
60
|
"selectors": [],
|
|
61
61
|
"values": [
|
|
62
|
+
{
|
|
63
|
+
"name": "<color>",
|
|
64
|
+
"prose": "Colors in CSS are represented by the <color> type:",
|
|
65
|
+
"type": "type",
|
|
66
|
+
"value": "<absolute-color-base> | currentcolor | <system-color> | <device-cmyk()>"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "<absolute-color-base>",
|
|
70
|
+
"type": "type",
|
|
71
|
+
"value": "<hex-color> | <absolute-color-function> | <named-color> | transparent"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "<absolute-color-function>",
|
|
75
|
+
"type": "type",
|
|
76
|
+
"value": "<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hwb()> | <lab()> | <lch()> | <oklab()> | <oklch()> | <color()>"
|
|
77
|
+
},
|
|
62
78
|
{
|
|
63
79
|
"name": "color-mix()",
|
|
64
80
|
"type": "function",
|
|
65
81
|
"value": "color-mix( <color-interpolation-method> , [ <color> && <percentage [0,100]>? ]#{2})"
|
|
66
82
|
},
|
|
67
83
|
{
|
|
68
|
-
"name": "rgb
|
|
69
|
-
"type": "
|
|
70
|
-
"value": "rgb( [
|
|
71
|
-
"values": [
|
|
72
|
-
{
|
|
73
|
-
"name": "r",
|
|
74
|
-
"prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after conversion, if required to sRGB. 255.0 is equivalent to 100%.",
|
|
75
|
-
"type": "value",
|
|
76
|
-
"value": "r"
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"name": "g",
|
|
80
|
-
"prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after conversion, if required to sRGB. 255.0 is equivalent to 100%.",
|
|
81
|
-
"type": "value",
|
|
82
|
-
"value": "g"
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
"name": "b",
|
|
86
|
-
"prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after conversion, if required to sRGB. 255.0 is equivalent to 100%.",
|
|
87
|
-
"type": "value",
|
|
88
|
-
"value": "b"
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"name": "alpha",
|
|
92
|
-
"prose": "alpha is a <number> that corresponds to the origin color’s alpha transparency",
|
|
93
|
-
"type": "value",
|
|
94
|
-
"value": "alpha"
|
|
95
|
-
}
|
|
96
|
-
]
|
|
84
|
+
"name": "<modern-rgb-syntax>",
|
|
85
|
+
"type": "type",
|
|
86
|
+
"value": "rgb( [ from <color> ]? [ <number> | <percentage> | none]{3} [ / [<alpha-value> | none] ]? )"
|
|
97
87
|
},
|
|
98
88
|
{
|
|
99
|
-
"name": "<
|
|
89
|
+
"name": "<modern-rgba-syntax>",
|
|
100
90
|
"type": "type",
|
|
101
|
-
"value": "<number> | <percentage>"
|
|
91
|
+
"value": "rgba( [ from <color> ]? [ <number> | <percentage> | none]{3} [ / [<alpha-value> | none] ]? )"
|
|
102
92
|
},
|
|
103
93
|
{
|
|
104
|
-
"name": "hsl
|
|
105
|
-
"type": "
|
|
106
|
-
"value": "hsl([from <color>]? [<hue> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )"
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
"value": "h"
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"name": "s",
|
|
116
|
-
"prose": "s and l are <percentage>s that correspond to the origin color’s HSL saturation and lightness, after conversion, if required to sRGB",
|
|
117
|
-
"type": "value",
|
|
118
|
-
"value": "s"
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
"name": "l",
|
|
122
|
-
"prose": "s and l are <percentage>s that correspond to the origin color’s HSL saturation and lightness, after conversion, if required to sRGB",
|
|
123
|
-
"type": "value",
|
|
124
|
-
"value": "l"
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"name": "alpha",
|
|
128
|
-
"prose": "alpha is a <number> that corresponds to the origin color’s alpha transparency",
|
|
129
|
-
"type": "value",
|
|
130
|
-
"value": "alpha"
|
|
131
|
-
}
|
|
132
|
-
]
|
|
94
|
+
"name": "<modern-hsl-syntax>",
|
|
95
|
+
"type": "type",
|
|
96
|
+
"value": "hsl([from <color>]? [<hue> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "<modern-hsla-syntax>",
|
|
100
|
+
"type": "type",
|
|
101
|
+
"value": "hsla([from <color>]? [<hue> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )"
|
|
133
102
|
},
|
|
134
103
|
{
|
|
135
104
|
"name": "hwb()",
|
|
@@ -399,5 +368,71 @@
|
|
|
399
368
|
"type": "type",
|
|
400
369
|
"value": "in [ <rectangular-color-space> | <polar-color-space> <hue-interpolation-method>? | <custom-color-space> ]"
|
|
401
370
|
}
|
|
371
|
+
],
|
|
372
|
+
"warnings": [
|
|
373
|
+
{
|
|
374
|
+
"msg": "Dangling value",
|
|
375
|
+
"name": "r",
|
|
376
|
+
"prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after conversion, if required to sRGB. 255.0 is equivalent to 100%.",
|
|
377
|
+
"type": "value",
|
|
378
|
+
"value": "r",
|
|
379
|
+
"for": "rgb()"
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
"msg": "Dangling value",
|
|
383
|
+
"name": "g",
|
|
384
|
+
"prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after conversion, if required to sRGB. 255.0 is equivalent to 100%.",
|
|
385
|
+
"type": "value",
|
|
386
|
+
"value": "g",
|
|
387
|
+
"for": "rgb()"
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"msg": "Dangling value",
|
|
391
|
+
"name": "b",
|
|
392
|
+
"prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after conversion, if required to sRGB. 255.0 is equivalent to 100%.",
|
|
393
|
+
"type": "value",
|
|
394
|
+
"value": "b",
|
|
395
|
+
"for": "rgb()"
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"msg": "Dangling value",
|
|
399
|
+
"name": "alpha",
|
|
400
|
+
"prose": "alpha is a <number> that corresponds to the origin color’s alpha transparency",
|
|
401
|
+
"type": "value",
|
|
402
|
+
"value": "alpha",
|
|
403
|
+
"for": "rgb()"
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"msg": "Dangling value",
|
|
407
|
+
"name": "h",
|
|
408
|
+
"prose": "h is an <angle> that corresponds to the origin color’s HSL hue after conversion, if required to sRGB, normalized to a [0, 360] range",
|
|
409
|
+
"type": "value",
|
|
410
|
+
"value": "h",
|
|
411
|
+
"for": "hsl()"
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"msg": "Dangling value",
|
|
415
|
+
"name": "s",
|
|
416
|
+
"prose": "s and l are <percentage>s that correspond to the origin color’s HSL saturation and lightness, after conversion, if required to sRGB",
|
|
417
|
+
"type": "value",
|
|
418
|
+
"value": "s",
|
|
419
|
+
"for": "hsl()"
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"msg": "Dangling value",
|
|
423
|
+
"name": "l",
|
|
424
|
+
"prose": "s and l are <percentage>s that correspond to the origin color’s HSL saturation and lightness, after conversion, if required to sRGB",
|
|
425
|
+
"type": "value",
|
|
426
|
+
"value": "l",
|
|
427
|
+
"for": "hsl()"
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"msg": "Dangling value",
|
|
431
|
+
"name": "alpha",
|
|
432
|
+
"prose": "alpha is a <number> that corresponds to the origin color’s alpha transparency",
|
|
433
|
+
"type": "value",
|
|
434
|
+
"value": "alpha",
|
|
435
|
+
"for": "hsl()"
|
|
436
|
+
}
|
|
402
437
|
]
|
|
403
438
|
}
|
package/css-color.json
CHANGED
|
@@ -825,12 +825,32 @@
|
|
|
825
825
|
{
|
|
826
826
|
"name": "rgb()",
|
|
827
827
|
"type": "function",
|
|
828
|
-
"value": "
|
|
828
|
+
"value": "[ <legacy-rgb-syntax> | <modern-rgb-syntax> ]"
|
|
829
829
|
},
|
|
830
830
|
{
|
|
831
831
|
"name": "rgba()",
|
|
832
|
-
"
|
|
833
|
-
"
|
|
832
|
+
"type": "function",
|
|
833
|
+
"value": "[ <legacy-rgba-syntax> | <modern-rgba-syntax> ]"
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
"name": "<legacy-rgb-syntax>",
|
|
837
|
+
"type": "type",
|
|
838
|
+
"value": "rgb( <percentage>#{3} , <alpha-value>? ) | rgb( <number>#{3} , <alpha-value>? )"
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
"name": "<legacy-rgba-syntax>",
|
|
842
|
+
"type": "type",
|
|
843
|
+
"value": "rgba( <percentage>#{3} , <alpha-value>? ) | rgba( <number>#{3} , <alpha-value>? )"
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
"name": "<modern-rgb-syntax>",
|
|
847
|
+
"type": "type",
|
|
848
|
+
"value": "rgb( [ <number> | <percentage> | none]{3} [ / [<alpha-value> | none] ]? )"
|
|
849
|
+
},
|
|
850
|
+
{
|
|
851
|
+
"name": "<modern-rgba-syntax>",
|
|
852
|
+
"type": "type",
|
|
853
|
+
"value": "rgba( [ <number> | <percentage> | none]{3} [ / [<alpha-value> | none] ]? )"
|
|
834
854
|
},
|
|
835
855
|
{
|
|
836
856
|
"name": "<hex-color>",
|
|
@@ -966,11 +986,11 @@
|
|
|
966
986
|
{
|
|
967
987
|
"name": "hsl()",
|
|
968
988
|
"type": "function",
|
|
969
|
-
"value": "
|
|
989
|
+
"value": "[ <legacy-hsl-syntax> | <modern-hsl-syntax> ]",
|
|
970
990
|
"values": [
|
|
971
991
|
{
|
|
972
992
|
"name": "HSL",
|
|
973
|
-
"prose": "HSL colors are specified as a triplet of hue, saturation, and lightness. The syntax of the hsl()
|
|
993
|
+
"prose": "HSL colors are specified as a triplet of hue, saturation, and lightness. The syntax of the hsl() and hsla() functions is:",
|
|
974
994
|
"type": "value",
|
|
975
995
|
"value": "HSL"
|
|
976
996
|
}
|
|
@@ -978,8 +998,28 @@
|
|
|
978
998
|
},
|
|
979
999
|
{
|
|
980
1000
|
"name": "hsla()",
|
|
981
|
-
"
|
|
982
|
-
"
|
|
1001
|
+
"type": "function",
|
|
1002
|
+
"value": "[ <legacy-hsla-syntax> | <modern-hsla-syntax> ]"
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
"name": "<modern-hsl-syntax>",
|
|
1006
|
+
"type": "type",
|
|
1007
|
+
"value": "hsl( [<hue> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )"
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
"name": "<modern-hsla-syntax>",
|
|
1011
|
+
"type": "type",
|
|
1012
|
+
"value": "hsla( [<hue> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )"
|
|
1013
|
+
},
|
|
1014
|
+
{
|
|
1015
|
+
"name": "<legacy-hsl-syntax>",
|
|
1016
|
+
"type": "type",
|
|
1017
|
+
"value": "hsl( <hue>, <percentage>, <percentage>, <alpha-value>? )"
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
"name": "<legacy-hsla-syntax>",
|
|
1021
|
+
"type": "type",
|
|
1022
|
+
"value": "hsla( <hue>, <percentage>, <percentage>, <alpha-value>? )"
|
|
983
1023
|
},
|
|
984
1024
|
{
|
|
985
1025
|
"name": "hwb()",
|
package/css-conditional-5.json
CHANGED
|
@@ -45,12 +45,5 @@
|
|
|
45
45
|
"type": "function",
|
|
46
46
|
"value": "supports( <declaration> )"
|
|
47
47
|
}
|
|
48
|
-
],
|
|
49
|
-
"warnings": [
|
|
50
|
-
{
|
|
51
|
-
"msg": "Missing definition",
|
|
52
|
-
"name": "<font-format",
|
|
53
|
-
"value": "[ collection | embedded-opentype | opentype | svg | truetype | woff | woff2 ]"
|
|
54
|
-
}
|
|
55
48
|
]
|
|
56
49
|
}
|