@webref/css 6.25.13 → 6.25.15

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-sizing-4.json CHANGED
@@ -4,30 +4,86 @@
4
4
  "url": "https://drafts.csswg.org/css-sizing-4/"
5
5
  },
6
6
  "properties": [
7
+ {
8
+ "name": "size",
9
+ "href": "https://drafts.csswg.org/css-sizing-4/#propdef-size",
10
+ "value": "<'width'> <'height'>?",
11
+ "initial": "auto",
12
+ "appliesTo": "all elements",
13
+ "inherited": "see individual properties",
14
+ "percentages": "see individual properties",
15
+ "computedValue": "see individual properties",
16
+ "animationType": "see individual properties",
17
+ "canonicalOrder": "per grammar",
18
+ "styleDeclaration": [
19
+ "size"
20
+ ],
21
+ "longhands": [
22
+ "width",
23
+ "height"
24
+ ]
25
+ },
26
+ {
27
+ "name": "min-size",
28
+ "href": "https://drafts.csswg.org/css-sizing-4/#propdef-min-size",
29
+ "value": "<'min-width'> <'min-height'>?",
30
+ "initial": "auto",
31
+ "appliesTo": "all elements",
32
+ "inherited": "see individual properties",
33
+ "percentages": "see individual properties",
34
+ "computedValue": "see individual properties",
35
+ "animationType": "see individual properties",
36
+ "canonicalOrder": "per grammar",
37
+ "styleDeclaration": [
38
+ "min-size",
39
+ "minSize"
40
+ ],
41
+ "longhands": [
42
+ "min-width",
43
+ "min-height"
44
+ ]
45
+ },
46
+ {
47
+ "name": "max-size",
48
+ "href": "https://drafts.csswg.org/css-sizing-4/#propdef-max-size",
49
+ "value": "<'max-width'> <'max-height'>?",
50
+ "initial": "none",
51
+ "appliesTo": "all elements",
52
+ "inherited": "see individual properties",
53
+ "percentages": "see individual properties",
54
+ "computedValue": "see individual properties",
55
+ "animationType": "see individual properties",
56
+ "canonicalOrder": "per grammar",
57
+ "styleDeclaration": [
58
+ "max-size",
59
+ "maxSize"
60
+ ],
61
+ "longhands": [
62
+ "max-width",
63
+ "max-height"
64
+ ]
65
+ },
7
66
  {
8
67
  "name": "width",
9
- "newValues": "stretch | fit-content | contain",
68
+ "newValues": "contain | fit-content(<length-percentage [0,∞]>)",
10
69
  "values": [
11
70
  {
12
- "name": "stretch",
13
- "prose": "Applies stretch-fit sizing, attempting to match the size of the box’s margin box to the size of its containing block. See § 6.1 Stretch-fit Sizing: filling the containing block.",
14
- "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-stretch",
15
- "type": "value",
16
- "value": "stretch"
17
- },
18
- {
19
- "name": "fit-content",
20
- "prose": "Essentially fit-content(stretch) i.e. min(max-content, max(min-content, stretch)).",
21
- "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-fit-content",
22
- "type": "value",
23
- "value": "fit-content"
71
+ "name": "fit-content()",
72
+ "value": "fit-content(<length-percentage [0,∞]>)",
73
+ "href": "https://drafts.csswg.org/css-sizing-4/#funcdef-width-fit-content",
74
+ "type": "function"
24
75
  },
25
76
  {
26
77
  "name": "contain",
27
- "prose": "If the box has a preferred aspect ratio, applies contain-fit sizing, attempting to fit into the box’s constraints while maintaining its preferred aspect ratio insofar as possible. See § 6.2 Contain-fit Sizing: stretching while maintaining an aspect ratio. If the box has no preferred aspect ratio, applies stretch-fit sizing.",
78
+ "prose": "If the box has a preferred aspect ratio, applies contain-fit sizing, attempting to fit into the box’s constraints while maintaining its preferred aspect ratio insofar as possible. See § 6.1 Contain-fit Sizing: stretching while maintaining an aspect ratio. If the box has no preferred aspect ratio, applies stretch-fit sizing.",
28
79
  "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-contain",
29
80
  "type": "value",
30
81
  "value": "contain"
82
+ },
83
+ {
84
+ "name": "calc-size()",
85
+ "href": "https://drafts.csswg.org/css-sizing-4/#funcdef-width-calc-size",
86
+ "type": "function"
31
87
  }
32
88
  ],
33
89
  "styleDeclaration": [
@@ -36,28 +92,25 @@
36
92
  },
37
93
  {
38
94
  "name": "height",
39
- "newValues": "stretch | fit-content | contain",
95
+ "newValues": "contain | fit-content(<length-percentage [0,∞]>)",
40
96
  "values": [
41
97
  {
42
- "name": "stretch",
43
- "prose": "Applies stretch-fit sizing, attempting to match the size of the box’s margin box to the size of its containing block. See § 6.1 Stretch-fit Sizing: filling the containing block.",
44
- "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-stretch",
45
- "type": "value",
46
- "value": "stretch"
47
- },
48
- {
49
- "name": "fit-content",
50
- "prose": "Essentially fit-content(stretch) i.e. min(max-content, max(min-content, stretch)).",
51
- "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-fit-content",
52
- "type": "value",
53
- "value": "fit-content"
98
+ "name": "fit-content()",
99
+ "value": "fit-content(<length-percentage [0,∞]>)",
100
+ "href": "https://drafts.csswg.org/css-sizing-4/#funcdef-width-fit-content",
101
+ "type": "function"
54
102
  },
55
103
  {
56
104
  "name": "contain",
57
- "prose": "If the box has a preferred aspect ratio, applies contain-fit sizing, attempting to fit into the box’s constraints while maintaining its preferred aspect ratio insofar as possible. See § 6.2 Contain-fit Sizing: stretching while maintaining an aspect ratio. If the box has no preferred aspect ratio, applies stretch-fit sizing.",
105
+ "prose": "If the box has a preferred aspect ratio, applies contain-fit sizing, attempting to fit into the box’s constraints while maintaining its preferred aspect ratio insofar as possible. See § 6.1 Contain-fit Sizing: stretching while maintaining an aspect ratio. If the box has no preferred aspect ratio, applies stretch-fit sizing.",
58
106
  "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-contain",
59
107
  "type": "value",
60
108
  "value": "contain"
109
+ },
110
+ {
111
+ "name": "calc-size()",
112
+ "href": "https://drafts.csswg.org/css-sizing-4/#funcdef-width-calc-size",
113
+ "type": "function"
61
114
  }
62
115
  ],
63
116
  "styleDeclaration": [
@@ -66,28 +119,25 @@
66
119
  },
67
120
  {
68
121
  "name": "min-width",
69
- "newValues": "stretch | fit-content | contain",
122
+ "newValues": "contain | fit-content(<length-percentage [0,∞]>)",
70
123
  "values": [
71
124
  {
72
- "name": "stretch",
73
- "prose": "Applies stretch-fit sizing, attempting to match the size of the box’s margin box to the size of its containing block. See § 6.1 Stretch-fit Sizing: filling the containing block.",
74
- "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-stretch",
75
- "type": "value",
76
- "value": "stretch"
77
- },
78
- {
79
- "name": "fit-content",
80
- "prose": "Essentially fit-content(stretch) i.e. min(max-content, max(min-content, stretch)).",
81
- "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-fit-content",
82
- "type": "value",
83
- "value": "fit-content"
125
+ "name": "fit-content()",
126
+ "value": "fit-content(<length-percentage [0,∞]>)",
127
+ "href": "https://drafts.csswg.org/css-sizing-4/#funcdef-width-fit-content",
128
+ "type": "function"
84
129
  },
85
130
  {
86
131
  "name": "contain",
87
- "prose": "If the box has a preferred aspect ratio, applies contain-fit sizing, attempting to fit into the box’s constraints while maintaining its preferred aspect ratio insofar as possible. See § 6.2 Contain-fit Sizing: stretching while maintaining an aspect ratio. If the box has no preferred aspect ratio, applies stretch-fit sizing.",
132
+ "prose": "If the box has a preferred aspect ratio, applies contain-fit sizing, attempting to fit into the box’s constraints while maintaining its preferred aspect ratio insofar as possible. See § 6.1 Contain-fit Sizing: stretching while maintaining an aspect ratio. If the box has no preferred aspect ratio, applies stretch-fit sizing.",
88
133
  "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-contain",
89
134
  "type": "value",
90
135
  "value": "contain"
136
+ },
137
+ {
138
+ "name": "calc-size()",
139
+ "href": "https://drafts.csswg.org/css-sizing-4/#funcdef-width-calc-size",
140
+ "type": "function"
91
141
  }
92
142
  ],
93
143
  "styleDeclaration": [
@@ -97,28 +147,25 @@
97
147
  },
98
148
  {
99
149
  "name": "min-height",
100
- "newValues": "stretch | fit-content | contain",
150
+ "newValues": "contain | fit-content(<length-percentage [0,∞]>)",
101
151
  "values": [
102
152
  {
103
- "name": "stretch",
104
- "prose": "Applies stretch-fit sizing, attempting to match the size of the box’s margin box to the size of its containing block. See § 6.1 Stretch-fit Sizing: filling the containing block.",
105
- "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-stretch",
106
- "type": "value",
107
- "value": "stretch"
108
- },
109
- {
110
- "name": "fit-content",
111
- "prose": "Essentially fit-content(stretch) i.e. min(max-content, max(min-content, stretch)).",
112
- "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-fit-content",
113
- "type": "value",
114
- "value": "fit-content"
153
+ "name": "fit-content()",
154
+ "value": "fit-content(<length-percentage [0,∞]>)",
155
+ "href": "https://drafts.csswg.org/css-sizing-4/#funcdef-width-fit-content",
156
+ "type": "function"
115
157
  },
116
158
  {
117
159
  "name": "contain",
118
- "prose": "If the box has a preferred aspect ratio, applies contain-fit sizing, attempting to fit into the box’s constraints while maintaining its preferred aspect ratio insofar as possible. See § 6.2 Contain-fit Sizing: stretching while maintaining an aspect ratio. If the box has no preferred aspect ratio, applies stretch-fit sizing.",
160
+ "prose": "If the box has a preferred aspect ratio, applies contain-fit sizing, attempting to fit into the box’s constraints while maintaining its preferred aspect ratio insofar as possible. See § 6.1 Contain-fit Sizing: stretching while maintaining an aspect ratio. If the box has no preferred aspect ratio, applies stretch-fit sizing.",
119
161
  "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-contain",
120
162
  "type": "value",
121
163
  "value": "contain"
164
+ },
165
+ {
166
+ "name": "calc-size()",
167
+ "href": "https://drafts.csswg.org/css-sizing-4/#funcdef-width-calc-size",
168
+ "type": "function"
122
169
  }
123
170
  ],
124
171
  "styleDeclaration": [
@@ -128,28 +175,25 @@
128
175
  },
129
176
  {
130
177
  "name": "max-width",
131
- "newValues": "stretch | fit-content | contain",
178
+ "newValues": "contain | fit-content(<length-percentage [0,∞]>)",
132
179
  "values": [
133
180
  {
134
- "name": "stretch",
135
- "prose": "Applies stretch-fit sizing, attempting to match the size of the box’s margin box to the size of its containing block. See § 6.1 Stretch-fit Sizing: filling the containing block.",
136
- "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-stretch",
137
- "type": "value",
138
- "value": "stretch"
139
- },
140
- {
141
- "name": "fit-content",
142
- "prose": "Essentially fit-content(stretch) i.e. min(max-content, max(min-content, stretch)).",
143
- "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-fit-content",
144
- "type": "value",
145
- "value": "fit-content"
181
+ "name": "fit-content()",
182
+ "value": "fit-content(<length-percentage [0,∞]>)",
183
+ "href": "https://drafts.csswg.org/css-sizing-4/#funcdef-width-fit-content",
184
+ "type": "function"
146
185
  },
147
186
  {
148
187
  "name": "contain",
149
- "prose": "If the box has a preferred aspect ratio, applies contain-fit sizing, attempting to fit into the box’s constraints while maintaining its preferred aspect ratio insofar as possible. See § 6.2 Contain-fit Sizing: stretching while maintaining an aspect ratio. If the box has no preferred aspect ratio, applies stretch-fit sizing.",
188
+ "prose": "If the box has a preferred aspect ratio, applies contain-fit sizing, attempting to fit into the box’s constraints while maintaining its preferred aspect ratio insofar as possible. See § 6.1 Contain-fit Sizing: stretching while maintaining an aspect ratio. If the box has no preferred aspect ratio, applies stretch-fit sizing.",
150
189
  "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-contain",
151
190
  "type": "value",
152
191
  "value": "contain"
192
+ },
193
+ {
194
+ "name": "calc-size()",
195
+ "href": "https://drafts.csswg.org/css-sizing-4/#funcdef-width-calc-size",
196
+ "type": "function"
153
197
  }
154
198
  ],
155
199
  "styleDeclaration": [
@@ -159,28 +203,25 @@
159
203
  },
160
204
  {
161
205
  "name": "max-height",
162
- "newValues": "stretch | fit-content | contain",
206
+ "newValues": "contain | fit-content(<length-percentage [0,∞]>)",
163
207
  "values": [
164
208
  {
165
- "name": "stretch",
166
- "prose": "Applies stretch-fit sizing, attempting to match the size of the box’s margin box to the size of its containing block. See § 6.1 Stretch-fit Sizing: filling the containing block.",
167
- "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-stretch",
168
- "type": "value",
169
- "value": "stretch"
170
- },
171
- {
172
- "name": "fit-content",
173
- "prose": "Essentially fit-content(stretch) i.e. min(max-content, max(min-content, stretch)).",
174
- "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-fit-content",
175
- "type": "value",
176
- "value": "fit-content"
209
+ "name": "fit-content()",
210
+ "value": "fit-content(<length-percentage [0,∞]>)",
211
+ "href": "https://drafts.csswg.org/css-sizing-4/#funcdef-width-fit-content",
212
+ "type": "function"
177
213
  },
178
214
  {
179
215
  "name": "contain",
180
- "prose": "If the box has a preferred aspect ratio, applies contain-fit sizing, attempting to fit into the box’s constraints while maintaining its preferred aspect ratio insofar as possible. See § 6.2 Contain-fit Sizing: stretching while maintaining an aspect ratio. If the box has no preferred aspect ratio, applies stretch-fit sizing.",
216
+ "prose": "If the box has a preferred aspect ratio, applies contain-fit sizing, attempting to fit into the box’s constraints while maintaining its preferred aspect ratio insofar as possible. See § 6.1 Contain-fit Sizing: stretching while maintaining an aspect ratio. If the box has no preferred aspect ratio, applies stretch-fit sizing.",
181
217
  "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-contain",
182
218
  "type": "value",
183
219
  "value": "contain"
220
+ },
221
+ {
222
+ "name": "calc-size()",
223
+ "href": "https://drafts.csswg.org/css-sizing-4/#funcdef-width-calc-size",
224
+ "type": "function"
184
225
  }
185
226
  ],
186
227
  "styleDeclaration": [
@@ -521,172 +562,213 @@
521
562
  "min-intrinsic-sizing",
522
563
  "minIntrinsicSizing"
523
564
  ]
565
+ },
566
+ {
567
+ "name": "column-width",
568
+ "newValues": "<box-size>",
569
+ "computedValue": "as specified, with <length-percentage> values computed",
570
+ "animationType": "by computed value type",
571
+ "values": [
572
+ {
573
+ "name": "stretch",
574
+ "prose": "Specifies the optimal column width as the stretch-fit inline size of the multi-column container.",
575
+ "href": "https://drafts.csswg.org/css-sizing-4/#valdef-column-width-stretch",
576
+ "type": "value",
577
+ "value": "stretch"
578
+ },
579
+ {
580
+ "name": "min-content",
581
+ "prose": "Specifies the optimal column width as the min-content inline size of the multi-column container’s contents.",
582
+ "href": "https://drafts.csswg.org/css-sizing-4/#valdef-column-width-min-content",
583
+ "type": "value",
584
+ "value": "min-content"
585
+ },
586
+ {
587
+ "name": "max-content",
588
+ "prose": "Specifies the optimal column width as the max-content inline size of the multi-column container’s contents.",
589
+ "href": "https://drafts.csswg.org/css-sizing-4/#valdef-column-width-max-content",
590
+ "type": "value",
591
+ "value": "max-content"
592
+ },
593
+ {
594
+ "name": "fit-content",
595
+ "prose": "Specifies the optimal column width as min(max-content inline size, max(min-content inline size, stretch-fit inline size)).",
596
+ "href": "https://drafts.csswg.org/css-sizing-4/#valdef-column-width-fit-content",
597
+ "type": "value",
598
+ "value": "fit-content"
599
+ },
600
+ {
601
+ "name": "fit-content()",
602
+ "value": "fit-content()",
603
+ "href": "https://drafts.csswg.org/css-sizing-4/#valdef-column-width-fit-content-length-percentage",
604
+ "type": "value"
605
+ }
606
+ ],
607
+ "styleDeclaration": [
608
+ "column-width",
609
+ "columnWidth"
610
+ ]
524
611
  }
525
612
  ],
526
613
  "atrules": [],
527
614
  "selectors": [],
528
- "values": [],
615
+ "values": [
616
+ {
617
+ "name": "<box-size>",
618
+ "href": "https://drafts.csswg.org/css-sizing-4/#typedef-box-size",
619
+ "type": "type",
620
+ "value": "<length-percentage> | stretch | contain | min-content | max-content | fit-content | fit-content() | calc-size()"
621
+ }
622
+ ],
529
623
  "warnings": [
530
624
  {
531
625
  "msg": "Dangling value",
532
- "name": "stretch",
533
- "prose": "Applies stretch-fit sizing, attempting to match the size of the box’s margin box to the size of its containing block. See § 6.1 Stretch-fit Sizing: filling the containing block.",
534
- "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-stretch",
535
- "type": "value",
536
- "value": "stretch",
626
+ "name": "fit-content()",
627
+ "value": "fit-content(<length-percentage [0,∞]>)",
628
+ "pureSyntax": false,
629
+ "href": "https://drafts.csswg.org/css-sizing-4/#funcdef-width-fit-content",
630
+ "type": "function",
537
631
  "for": "inline-size"
538
632
  },
539
633
  {
540
634
  "msg": "Dangling value",
541
- "name": "stretch",
542
- "prose": "Applies stretch-fit sizing, attempting to match the size of the box’s margin box to the size of its containing block. See § 6.1 Stretch-fit Sizing: filling the containing block.",
543
- "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-stretch",
544
- "type": "value",
545
- "value": "stretch",
635
+ "name": "fit-content()",
636
+ "value": "fit-content(<length-percentage [0,∞]>)",
637
+ "pureSyntax": false,
638
+ "href": "https://drafts.csswg.org/css-sizing-4/#funcdef-width-fit-content",
639
+ "type": "function",
546
640
  "for": "block-size"
547
641
  },
548
642
  {
549
643
  "msg": "Dangling value",
550
- "name": "stretch",
551
- "prose": "Applies stretch-fit sizing, attempting to match the size of the box’s margin box to the size of its containing block. See § 6.1 Stretch-fit Sizing: filling the containing block.",
552
- "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-stretch",
553
- "type": "value",
554
- "value": "stretch",
644
+ "name": "fit-content()",
645
+ "value": "fit-content(<length-percentage [0,∞]>)",
646
+ "pureSyntax": false,
647
+ "href": "https://drafts.csswg.org/css-sizing-4/#funcdef-width-fit-content",
648
+ "type": "function",
555
649
  "for": "min-inline-size"
556
650
  },
557
651
  {
558
652
  "msg": "Dangling value",
559
- "name": "stretch",
560
- "prose": "Applies stretch-fit sizing, attempting to match the size of the box’s margin box to the size of its containing block. See § 6.1 Stretch-fit Sizing: filling the containing block.",
561
- "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-stretch",
562
- "type": "value",
563
- "value": "stretch",
653
+ "name": "fit-content()",
654
+ "value": "fit-content(<length-percentage [0,∞]>)",
655
+ "pureSyntax": false,
656
+ "href": "https://drafts.csswg.org/css-sizing-4/#funcdef-width-fit-content",
657
+ "type": "function",
564
658
  "for": "min-block-size"
565
659
  },
566
660
  {
567
661
  "msg": "Dangling value",
568
- "name": "stretch",
569
- "prose": "Applies stretch-fit sizing, attempting to match the size of the box’s margin box to the size of its containing block. See § 6.1 Stretch-fit Sizing: filling the containing block.",
570
- "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-stretch",
571
- "type": "value",
572
- "value": "stretch",
662
+ "name": "fit-content()",
663
+ "value": "fit-content(<length-percentage [0,∞]>)",
664
+ "pureSyntax": false,
665
+ "href": "https://drafts.csswg.org/css-sizing-4/#funcdef-width-fit-content",
666
+ "type": "function",
573
667
  "for": "max-inline-size"
574
668
  },
575
669
  {
576
670
  "msg": "Dangling value",
577
- "name": "stretch",
578
- "prose": "Applies stretch-fit sizing, attempting to match the size of the box’s margin box to the size of its containing block. See § 6.1 Stretch-fit Sizing: filling the containing block.",
579
- "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-stretch",
580
- "type": "value",
581
- "value": "stretch",
671
+ "name": "fit-content()",
672
+ "value": "fit-content(<length-percentage [0,∞]>)",
673
+ "pureSyntax": false,
674
+ "href": "https://drafts.csswg.org/css-sizing-4/#funcdef-width-fit-content",
675
+ "type": "function",
582
676
  "for": "max-block-size"
583
677
  },
584
678
  {
585
679
  "msg": "Dangling value",
586
- "name": "fit-content",
587
- "prose": "Essentially fit-content(stretch) i.e. min(max-content, max(min-content, stretch)).",
588
- "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-fit-content",
680
+ "name": "contain",
681
+ "prose": "If the box has a preferred aspect ratio, applies contain-fit sizing, attempting to fit into the box’s constraints while maintaining its preferred aspect ratio insofar as possible. See § 6.1 Contain-fit Sizing: stretching while maintaining an aspect ratio. If the box has no preferred aspect ratio, applies stretch-fit sizing.",
682
+ "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-contain",
589
683
  "type": "value",
590
- "value": "fit-content",
684
+ "value": "contain",
591
685
  "for": "inline-size"
592
686
  },
593
687
  {
594
688
  "msg": "Dangling value",
595
- "name": "fit-content",
596
- "prose": "Essentially fit-content(stretch) i.e. min(max-content, max(min-content, stretch)).",
597
- "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-fit-content",
689
+ "name": "contain",
690
+ "prose": "If the box has a preferred aspect ratio, applies contain-fit sizing, attempting to fit into the box’s constraints while maintaining its preferred aspect ratio insofar as possible. See § 6.1 Contain-fit Sizing: stretching while maintaining an aspect ratio. If the box has no preferred aspect ratio, applies stretch-fit sizing.",
691
+ "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-contain",
598
692
  "type": "value",
599
- "value": "fit-content",
693
+ "value": "contain",
600
694
  "for": "block-size"
601
695
  },
602
696
  {
603
697
  "msg": "Dangling value",
604
- "name": "fit-content",
605
- "prose": "Essentially fit-content(stretch) i.e. min(max-content, max(min-content, stretch)).",
606
- "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-fit-content",
698
+ "name": "contain",
699
+ "prose": "If the box has a preferred aspect ratio, applies contain-fit sizing, attempting to fit into the box’s constraints while maintaining its preferred aspect ratio insofar as possible. See § 6.1 Contain-fit Sizing: stretching while maintaining an aspect ratio. If the box has no preferred aspect ratio, applies stretch-fit sizing.",
700
+ "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-contain",
607
701
  "type": "value",
608
- "value": "fit-content",
702
+ "value": "contain",
609
703
  "for": "min-inline-size"
610
704
  },
611
705
  {
612
706
  "msg": "Dangling value",
613
- "name": "fit-content",
614
- "prose": "Essentially fit-content(stretch) i.e. min(max-content, max(min-content, stretch)).",
615
- "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-fit-content",
707
+ "name": "contain",
708
+ "prose": "If the box has a preferred aspect ratio, applies contain-fit sizing, attempting to fit into the box’s constraints while maintaining its preferred aspect ratio insofar as possible. See § 6.1 Contain-fit Sizing: stretching while maintaining an aspect ratio. If the box has no preferred aspect ratio, applies stretch-fit sizing.",
709
+ "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-contain",
616
710
  "type": "value",
617
- "value": "fit-content",
711
+ "value": "contain",
618
712
  "for": "min-block-size"
619
713
  },
620
714
  {
621
715
  "msg": "Dangling value",
622
- "name": "fit-content",
623
- "prose": "Essentially fit-content(stretch) i.e. min(max-content, max(min-content, stretch)).",
624
- "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-fit-content",
716
+ "name": "contain",
717
+ "prose": "If the box has a preferred aspect ratio, applies contain-fit sizing, attempting to fit into the box’s constraints while maintaining its preferred aspect ratio insofar as possible. See § 6.1 Contain-fit Sizing: stretching while maintaining an aspect ratio. If the box has no preferred aspect ratio, applies stretch-fit sizing.",
718
+ "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-contain",
625
719
  "type": "value",
626
- "value": "fit-content",
720
+ "value": "contain",
627
721
  "for": "max-inline-size"
628
722
  },
629
723
  {
630
724
  "msg": "Dangling value",
631
- "name": "fit-content",
632
- "prose": "Essentially fit-content(stretch) i.e. min(max-content, max(min-content, stretch)).",
633
- "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-fit-content",
725
+ "name": "contain",
726
+ "prose": "If the box has a preferred aspect ratio, applies contain-fit sizing, attempting to fit into the box’s constraints while maintaining its preferred aspect ratio insofar as possible. See § 6.1 Contain-fit Sizing: stretching while maintaining an aspect ratio. If the box has no preferred aspect ratio, applies stretch-fit sizing.",
727
+ "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-contain",
634
728
  "type": "value",
635
- "value": "fit-content",
729
+ "value": "contain",
636
730
  "for": "max-block-size"
637
731
  },
638
732
  {
639
733
  "msg": "Dangling value",
640
- "name": "contain",
641
- "prose": "If the box has a preferred aspect ratio, applies contain-fit sizing, attempting to fit into the box’s constraints while maintaining its preferred aspect ratio insofar as possible. See § 6.2 Contain-fit Sizing: stretching while maintaining an aspect ratio. If the box has no preferred aspect ratio, applies stretch-fit sizing.",
642
- "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-contain",
643
- "type": "value",
644
- "value": "contain",
734
+ "name": "calc-size()",
735
+ "href": "https://drafts.csswg.org/css-sizing-4/#funcdef-width-calc-size",
736
+ "type": "function",
645
737
  "for": "inline-size"
646
738
  },
647
739
  {
648
740
  "msg": "Dangling value",
649
- "name": "contain",
650
- "prose": "If the box has a preferred aspect ratio, applies contain-fit sizing, attempting to fit into the box’s constraints while maintaining its preferred aspect ratio insofar as possible. See § 6.2 Contain-fit Sizing: stretching while maintaining an aspect ratio. If the box has no preferred aspect ratio, applies stretch-fit sizing.",
651
- "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-contain",
652
- "type": "value",
653
- "value": "contain",
741
+ "name": "calc-size()",
742
+ "href": "https://drafts.csswg.org/css-sizing-4/#funcdef-width-calc-size",
743
+ "type": "function",
654
744
  "for": "block-size"
655
745
  },
656
746
  {
657
747
  "msg": "Dangling value",
658
- "name": "contain",
659
- "prose": "If the box has a preferred aspect ratio, applies contain-fit sizing, attempting to fit into the box’s constraints while maintaining its preferred aspect ratio insofar as possible. See § 6.2 Contain-fit Sizing: stretching while maintaining an aspect ratio. If the box has no preferred aspect ratio, applies stretch-fit sizing.",
660
- "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-contain",
661
- "type": "value",
662
- "value": "contain",
748
+ "name": "calc-size()",
749
+ "href": "https://drafts.csswg.org/css-sizing-4/#funcdef-width-calc-size",
750
+ "type": "function",
663
751
  "for": "min-inline-size"
664
752
  },
665
753
  {
666
754
  "msg": "Dangling value",
667
- "name": "contain",
668
- "prose": "If the box has a preferred aspect ratio, applies contain-fit sizing, attempting to fit into the box’s constraints while maintaining its preferred aspect ratio insofar as possible. See § 6.2 Contain-fit Sizing: stretching while maintaining an aspect ratio. If the box has no preferred aspect ratio, applies stretch-fit sizing.",
669
- "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-contain",
670
- "type": "value",
671
- "value": "contain",
755
+ "name": "calc-size()",
756
+ "href": "https://drafts.csswg.org/css-sizing-4/#funcdef-width-calc-size",
757
+ "type": "function",
672
758
  "for": "min-block-size"
673
759
  },
674
760
  {
675
761
  "msg": "Dangling value",
676
- "name": "contain",
677
- "prose": "If the box has a preferred aspect ratio, applies contain-fit sizing, attempting to fit into the box’s constraints while maintaining its preferred aspect ratio insofar as possible. See § 6.2 Contain-fit Sizing: stretching while maintaining an aspect ratio. If the box has no preferred aspect ratio, applies stretch-fit sizing.",
678
- "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-contain",
679
- "type": "value",
680
- "value": "contain",
762
+ "name": "calc-size()",
763
+ "href": "https://drafts.csswg.org/css-sizing-4/#funcdef-width-calc-size",
764
+ "type": "function",
681
765
  "for": "max-inline-size"
682
766
  },
683
767
  {
684
768
  "msg": "Dangling value",
685
- "name": "contain",
686
- "prose": "If the box has a preferred aspect ratio, applies contain-fit sizing, attempting to fit into the box’s constraints while maintaining its preferred aspect ratio insofar as possible. See § 6.2 Contain-fit Sizing: stretching while maintaining an aspect ratio. If the box has no preferred aspect ratio, applies stretch-fit sizing.",
687
- "href": "https://drafts.csswg.org/css-sizing-4/#valdef-width-contain",
688
- "type": "value",
689
- "value": "contain",
769
+ "name": "calc-size()",
770
+ "href": "https://drafts.csswg.org/css-sizing-4/#funcdef-width-calc-size",
771
+ "type": "function",
690
772
  "for": "max-block-size"
691
773
  }
692
774
  ]