forked from w3c/webref
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcss-sizing.json
127 lines (127 loc) · 4.57 KB
/
css-sizing.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"spec": {
"title": "CSS Box Sizing Module Level 3",
"url": "https://www.w3.org/TR/css-sizing-3/"
},
"properties": {
"width": {
"name": "width",
"value": "auto | <length-percentage> | min-content | max-content | fit-content(<length-percentage>)",
"initial": "auto",
"appliesTo": "all elements except non-replaced inlines",
"inherited": "no",
"percentages": "relative to width/height of containing block",
"computedValue": "as specified, with <length-percentage> values computed",
"canonicalOrder": "per grammar",
"animationType": "by computed value type, recursing into fit-content()",
"styleDeclaration": [
"width"
]
},
"height": {
"name": "height",
"value": "auto | <length-percentage> | min-content | max-content | fit-content(<length-percentage>)",
"initial": "auto",
"appliesTo": "all elements except non-replaced inlines",
"inherited": "no",
"percentages": "relative to width/height of containing block",
"computedValue": "as specified, with <length-percentage> values computed",
"canonicalOrder": "per grammar",
"animationType": "by computed value type, recursing into fit-content()",
"styleDeclaration": [
"height"
]
},
"min-width": {
"name": "min-width",
"value": "auto | <length-percentage> | min-content | max-content | fit-content(<length-percentage>)",
"initial": "auto",
"appliesTo": "all elements that accept width or height",
"inherited": "no",
"percentages": "relative to width/height of containing block",
"computedValue": "as specified, with <length-percentage> values computed",
"canonicalOrder": "per grammar",
"animatable": "by computed value, recursing into fit-content()",
"styleDeclaration": [
"min-width",
"minWidth"
]
},
"min-height": {
"name": "min-height",
"value": "auto | <length-percentage> | min-content | max-content | fit-content(<length-percentage>)",
"initial": "auto",
"appliesTo": "all elements that accept width or height",
"inherited": "no",
"percentages": "relative to width/height of containing block",
"computedValue": "as specified, with <length-percentage> values computed",
"canonicalOrder": "per grammar",
"animatable": "by computed value, recursing into fit-content()",
"styleDeclaration": [
"min-height",
"minHeight"
]
},
"max-width": {
"name": "max-width",
"value": "none | <length-percentage> | min-content | max-content | fit-content(<length-percentage>)",
"initial": "none",
"appliesTo": "all elements that accept width or height",
"inherited": "no",
"percentages": "relative to width/height of containing block",
"computedValue": "as specified, with <length-percentage> values computed",
"canonicalOrder": "per grammar",
"animatable": "by computed value, recursing into fit-content()",
"styleDeclaration": [
"max-width",
"maxWidth"
]
},
"max-height": {
"name": "max-height",
"value": "none | <length-percentage> | min-content | max-content | fit-content(<length-percentage>)",
"initial": "none",
"appliesTo": "all elements that accept width or height",
"inherited": "no",
"percentages": "relative to width/height of containing block",
"computedValue": "as specified, with <length-percentage> values computed",
"canonicalOrder": "per grammar",
"animatable": "by computed value, recursing into fit-content()",
"styleDeclaration": [
"max-height",
"maxHeight"
]
},
"box-sizing": {
"name": "box-sizing",
"value": "content-box | border-box",
"initial": "content-box",
"appliesTo": "all elements that accept width or height",
"inherited": "no",
"percentages": "N/A",
"computedValue": "specified keyword",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"styleDeclaration": [
"box-sizing",
"boxSizing"
]
},
"column-width": {
"name": "column-width",
"newValues": "min-content | max-content | fit-content(<length-percentage>)",
"computedValue": "as specified, with <length-percentage> values computed",
"animationType": "by computed value type",
"styleDeclaration": [
"column-width",
"columnWidth"
]
}
},
"descriptors": {},
"valuespaces": {
"<fit-content()>": {
"value": "fit-content(<length-percentage>)"
}
}
}