forked from w3c/webref
-
Notifications
You must be signed in to change notification settings - Fork 0
/
css-overflow.json
181 lines (181 loc) · 5.55 KB
/
css-overflow.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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
{
"spec": {
"title": "CSS Overflow Module Level 3",
"url": "https://www.w3.org/TR/css-overflow-3/"
},
"properties": {
"overflow-x": {
"name": "overflow-x",
"value": "visible | hidden | clip | scroll | auto",
"initial": "visible",
"appliesTo": "block containers [CSS2], flex containers [CSS3-FLEXBOX], and grid containers [CSS3-GRID-LAYOUT]",
"inherited": "no",
"percentages": "N/A",
"computedValue": "as specified, except with visible/clip computing to auto/hidden (respectively) if one of overflow-x or overflow-y is neither visible nor clip",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"styleDeclaration": [
"overflow-x",
"overflowX"
]
},
"overflow-y": {
"name": "overflow-y",
"value": "visible | hidden | clip | scroll | auto",
"initial": "visible",
"appliesTo": "block containers [CSS2], flex containers [CSS3-FLEXBOX], and grid containers [CSS3-GRID-LAYOUT]",
"inherited": "no",
"percentages": "N/A",
"computedValue": "as specified, except with visible/clip computing to auto/hidden (respectively) if one of overflow-x or overflow-y is neither visible nor clip",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"styleDeclaration": [
"overflow-y",
"overflowY"
]
},
"overflow": {
"name": "overflow",
"value": "[ visible | hidden | clip | scroll | auto ]{1,2}",
"initial": "visible",
"appliesTo": "block containers [CSS2], flex containers [CSS3-FLEXBOX], and grid containers [CSS3-GRID-LAYOUT]",
"inherited": "no",
"percentages": "N/A",
"computedValue": "see individual properties",
"animationType": "discrete",
"canonicalOrder": "per grammar",
"styleDeclaration": [
"overflow"
]
},
"overflow-clip-margin": {
"name": "overflow-clip-margin",
"value": "<length [0,∞]>",
"initial": "0px",
"appliesTo": "all elements",
"inherited": "no",
"percentages": "n/a",
"computedValue": "the computed <length>",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"styleDeclaration": [
"overflow-clip-margin",
"overflowClipMargin"
]
},
"overflow-inline": {
"name": "overflow-inline",
"value": "<'overflow'>",
"initial": "visible",
"appliesTo": "Same as overflow-x and overflow-y",
"inherited": "no",
"percentages": "N/A",
"computedValue": "Same as overflow-x and overflow-y",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"styleDeclaration": [
"overflow-inline",
"overflowInline"
]
},
"overflow-block": {
"name": "overflow-block",
"value": "<'overflow'>",
"initial": "visible",
"appliesTo": "Same as overflow-x and overflow-y",
"inherited": "no",
"percentages": "N/A",
"computedValue": "Same as overflow-x and overflow-y",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"styleDeclaration": [
"overflow-block",
"overflowBlock"
]
},
"text-overflow": {
"name": "text-overflow",
"value": "clip | ellipsis",
"initial": "clip",
"appliesTo": "block containers",
"inherited": "no",
"percentages": "N/A",
"computedValue": "specified keyword",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"styleDeclaration": [
"text-overflow",
"textOverflow"
]
},
"block-ellipsis": {
"name": "block-ellipsis",
"value": "none | auto | <string>",
"initial": "none",
"appliesTo": "block containers",
"inherited": "yes",
"percentages": "N/A",
"computedValue": "specified value",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"styleDeclaration": [
"block-ellipsis",
"blockEllipsis"
]
},
"line-clamp": {
"name": "line-clamp",
"value": "none | <integer> <'block-ellipsis'>?",
"initial": "none",
"appliesTo": "see individual properties",
"inherited": "see individual properties",
"percentages": "N/A",
"computedValue": "see individual properties",
"animationType": "see individual properties",
"canonicalOrder": "per grammar",
"styleDeclaration": [
"line-clamp",
"lineClamp"
]
},
"max-lines": {
"name": "max-lines",
"value": "none | <integer>",
"initial": "none",
"appliesTo": "block containers which are also fragmentation containers that capture region breaks",
"inherited": "no",
"percentages": "N/A",
"computedValue": "the keyword none or an integer",
"canonicalOrder": "per grammar",
"animationType": "by computed value type",
"styleDeclaration": [
"max-lines",
"maxLines"
]
},
"continue": {
"name": "continue",
"value": "auto | discard",
"initial": "auto",
"appliesTo": "block containers and multicol containers",
"inherited": "no",
"percentages": "N/A",
"computedValue": "specified keyword",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"styleDeclaration": [
"continue"
]
},
"-webkit-line-clamp": {
"name": "-webkit-line-clamp",
"styleDeclaration": [
"-webkit-line-clamp",
"WebkitLineClamp",
"webkitLineClamp"
]
}
},
"descriptors": {},
"valuespaces": {}
}