@webref/css 6.23.0 → 7.0.0-alpha
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/CHANGELOG.md +17 -0
- package/README.md +37 -22
- package/css.json +17754 -0
- package/index.js +2 -9
- package/package.json +1 -1
- package/CSS.json +0 -567
- package/SVG.json +0 -387
- package/compat.json +0 -784
- package/compositing.json +0 -178
- package/css-align.json +0 -559
- package/css-anchor-position.json +0 -1042
- package/css-animations-2.json +0 -377
- package/css-animations.json +0 -337
- package/css-backgrounds-4.json +0 -402
- package/css-backgrounds.json +0 -732
- package/css-borders.json +0 -1642
- package/css-box.json +0 -484
- package/css-break.json +0 -444
- package/css-cascade-6.json +0 -31
- package/css-cascade.json +0 -91
- package/css-color-5.json +0 -527
- package/css-color-6.json +0 -60
- package/css-color-adjust.json +0 -151
- package/css-color-hdr.json +0 -183
- package/css-color.json +0 -1759
- package/css-conditional-4.json +0 -23
- package/css-conditional-5.json +0 -505
- package/css-conditional.json +0 -50
- package/css-contain.json +0 -123
- package/css-content.json +0 -466
- package/css-counter-styles.json +0 -613
- package/css-display.json +0 -444
- package/css-easing.json +0 -149
- package/css-env.json +0 -109
- package/css-exclusions.json +0 -108
- package/css-extensions.json +0 -36
- package/css-flexbox.json +0 -259
- package/css-fonts-5.json +0 -385
- package/css-fonts.json +0 -1754
- package/css-forms.json +0 -281
- package/css-gaps.json +0 -544
- package/css-gcpm-4.json +0 -58
- package/css-gcpm.json +0 -138
- package/css-grid-3.json +0 -335
- package/css-grid.json +0 -824
- package/css-images-4.json +0 -367
- package/css-images-5.json +0 -43
- package/css-images.json +0 -373
- package/css-inline.json +0 -903
- package/css-layout-api.json +0 -21
- package/css-line-grid.json +0 -142
- package/css-link-params.json +0 -34
- package/css-lists.json +0 -337
- package/css-logical.json +0 -396
- package/css-masking.json +0 -717
- package/css-mixins.json +0 -58
- package/css-multicol.json +0 -253
- package/css-namespaces.json +0 -25
- package/css-nav.json +0 -121
- package/css-nesting.json +0 -17
- package/css-overflow-4.json +0 -428
- package/css-overflow-5.json +0 -226
- package/css-overflow.json +0 -379
- package/css-overscroll.json +0 -215
- package/css-page-floats.json +0 -296
- package/css-page.json +0 -382
- package/css-paint-api.json +0 -17
- package/css-position-4.json +0 -49
- package/css-position.json +0 -495
- package/css-properties-values-api.json +0 -39
- package/css-pseudo.json +0 -98
- package/css-regions.json +0 -59
- package/css-rhythm.json +0 -181
- package/css-round-display.json +0 -85
- package/css-ruby.json +0 -221
- package/css-scoping.json +0 -38
- package/css-scroll-anchoring.json +0 -43
- package/css-scroll-snap-2.json +0 -74
- package/css-scroll-snap.json +0 -643
- package/css-scrollbars.json +0 -82
- package/css-shadow-parts.json +0 -17
- package/css-shapes-2.json +0 -89
- package/css-shapes.json +0 -384
- package/css-size-adjust.json +0 -50
- package/css-sizing-4.json +0 -601
- package/css-sizing.json +0 -427
- package/css-speech.json +0 -985
- package/css-syntax.json +0 -263
- package/css-tables.json +0 -91
- package/css-text-4.json +0 -1516
- package/css-text-decor-4.json +0 -741
- package/css-text-decor.json +0 -337
- package/css-text.json +0 -670
- package/css-transforms-2.json +0 -329
- package/css-transforms.json +0 -213
- package/css-transitions-2.json +0 -47
- package/css-transitions.json +0 -119
- package/css-ui.json +0 -818
- package/css-values-5.json +0 -854
- package/css-values.json +0 -790
- package/css-variables.json +0 -29
- package/css-view-transitions-2.json +0 -152
- package/css-view-transitions.json +0 -77
- package/css-viewport.json +0 -43
- package/css-will-change.json +0 -64
- package/css-writing-modes.json +0 -256
- package/fill-stroke.json +0 -755
- package/filter-effects-2.json +0 -28
- package/filter-effects.json +0 -220
- package/html.json +0 -29
- package/mathml-core.json +0 -69
- package/mediaqueries-5.json +0 -915
- package/mediaqueries.json +0 -549
- package/motion.json +0 -303
- package/pointer-animations.json +0 -282
- package/scroll-animations.json +0 -519
- package/selectors-5.json +0 -22
- package/selectors.json +0 -604
- package/svg-strokes.json +0 -59
- package/upgrade-insecure-requests.json +0 -28
- package/webvtt.json +0 -33
- package/webxr-dom-overlays.json +0 -17
package/css-mixins.json
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"spec": {
|
|
3
|
-
"title": "CSS Functions and Mixins Module",
|
|
4
|
-
"url": "https://drafts.csswg.org/css-mixins-1/"
|
|
5
|
-
},
|
|
6
|
-
"properties": [],
|
|
7
|
-
"atrules": [
|
|
8
|
-
{
|
|
9
|
-
"name": "@function",
|
|
10
|
-
"href": "https://drafts.csswg.org/css-mixins-1/#at-ruledef-function",
|
|
11
|
-
"descriptors": [
|
|
12
|
-
{
|
|
13
|
-
"name": "result",
|
|
14
|
-
"href": "https://drafts.csswg.org/css-mixins-1/#descdef-function-result",
|
|
15
|
-
"for": "@function",
|
|
16
|
-
"value": "<declaration-value>?",
|
|
17
|
-
"initial": "n/a (see prose)"
|
|
18
|
-
}
|
|
19
|
-
],
|
|
20
|
-
"value": "@function <function-token> <function-parameter>#? ) [ returns <css-type> ]? { <declaration-rule-list> }",
|
|
21
|
-
"values": [
|
|
22
|
-
{
|
|
23
|
-
"name": "type()",
|
|
24
|
-
"href": "https://drafts.csswg.org/css-mixins-1/#funcdef-function-type",
|
|
25
|
-
"type": "function",
|
|
26
|
-
"value": "type( <syntax> )"
|
|
27
|
-
}
|
|
28
|
-
]
|
|
29
|
-
}
|
|
30
|
-
],
|
|
31
|
-
"selectors": [],
|
|
32
|
-
"values": [
|
|
33
|
-
{
|
|
34
|
-
"name": "<function-parameter>",
|
|
35
|
-
"href": "https://drafts.csswg.org/css-mixins-1/#typedef-function-parameter",
|
|
36
|
-
"type": "type",
|
|
37
|
-
"value": "<custom-property-name> <css-type>? [ : <default-value> ]?"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"name": "<css-type>",
|
|
41
|
-
"href": "https://drafts.csswg.org/css-mixins-1/#typedef-css-type",
|
|
42
|
-
"type": "type",
|
|
43
|
-
"value": "<syntax-component> | <type()>"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"name": "<default-value>",
|
|
47
|
-
"href": "https://drafts.csswg.org/css-mixins-1/#typedef-default-value",
|
|
48
|
-
"type": "type",
|
|
49
|
-
"value": "<declaration-value>"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"name": "<dashed-function>",
|
|
53
|
-
"prose": "A <dashed-function> is a functional notation whose function name starts with two dashes (U+002D HYPHEN-MINUS). Its argument grammar is:",
|
|
54
|
-
"href": "https://drafts.csswg.org/css-mixins-1/#typedef-dashed-function",
|
|
55
|
-
"type": "type"
|
|
56
|
-
}
|
|
57
|
-
]
|
|
58
|
-
}
|
package/css-multicol.json
DELETED
|
@@ -1,253 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"spec": {
|
|
3
|
-
"title": "CSS Multi-column Layout Module Level 2",
|
|
4
|
-
"url": "https://drafts.csswg.org/css-multicol-2/"
|
|
5
|
-
},
|
|
6
|
-
"properties": [
|
|
7
|
-
{
|
|
8
|
-
"name": "column-width",
|
|
9
|
-
"href": "https://drafts.csswg.org/css-multicol-2/#propdef-column-width",
|
|
10
|
-
"value": "auto | <length [0,∞]>",
|
|
11
|
-
"initial": "auto",
|
|
12
|
-
"appliesTo": "block containers except table wrapper boxes",
|
|
13
|
-
"inherited": "no",
|
|
14
|
-
"percentages": "N/A",
|
|
15
|
-
"computedValue": "the keyword auto or an absolute length",
|
|
16
|
-
"canonicalOrder": "per grammar",
|
|
17
|
-
"animationType": "by computed value type",
|
|
18
|
-
"values": [
|
|
19
|
-
{
|
|
20
|
-
"name": "auto",
|
|
21
|
-
"prose": "means that the column width will be determined by other properties (e.g., column-count, if it has a non-auto value).",
|
|
22
|
-
"href": "https://drafts.csswg.org/css-multicol-2/#valdef-column-width-auto",
|
|
23
|
-
"type": "value",
|
|
24
|
-
"value": "auto"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"name": "<length [0,∞]>",
|
|
28
|
-
"prose": "describes the optimal column width. The actual column width may be wider (to fill the available space), or narrower (only if the available space is smaller than the specified column width). Negative values are not allowed. Used values will be clamped to a minimum of 1px.",
|
|
29
|
-
"href": "https://drafts.csswg.org/css-multicol-2/#valdef-column-width-length-0",
|
|
30
|
-
"type": "value",
|
|
31
|
-
"value": "<length [0,∞]>"
|
|
32
|
-
}
|
|
33
|
-
],
|
|
34
|
-
"styleDeclaration": [
|
|
35
|
-
"column-width",
|
|
36
|
-
"columnWidth"
|
|
37
|
-
]
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"name": "column-height",
|
|
41
|
-
"href": "https://drafts.csswg.org/css-multicol-2/#propdef-column-height",
|
|
42
|
-
"value": "auto | <length [0,∞]>",
|
|
43
|
-
"initial": "auto",
|
|
44
|
-
"appliesTo": "block containers except table wrapper boxes",
|
|
45
|
-
"inherited": "no",
|
|
46
|
-
"percentages": "N/A",
|
|
47
|
-
"computedValue": "the keyword auto or an absolute length",
|
|
48
|
-
"canonicalOrder": "per grammar",
|
|
49
|
-
"animationType": "by computed value type",
|
|
50
|
-
"values": [
|
|
51
|
-
{
|
|
52
|
-
"name": "auto",
|
|
53
|
-
"prose": "means that the column height will be determined by the amount of content and other properties.",
|
|
54
|
-
"href": "https://drafts.csswg.org/css-multicol-2/#valdef-column-height-auto",
|
|
55
|
-
"type": "value",
|
|
56
|
-
"value": "auto"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"name": "<length [0,∞]>",
|
|
60
|
-
"prose": "describes the desired column height. Negative values are not allowed.",
|
|
61
|
-
"href": "https://drafts.csswg.org/css-multicol-2/#valdef-column-height-length-0",
|
|
62
|
-
"type": "value",
|
|
63
|
-
"value": "<length [0,∞]>"
|
|
64
|
-
}
|
|
65
|
-
],
|
|
66
|
-
"styleDeclaration": [
|
|
67
|
-
"column-height",
|
|
68
|
-
"columnHeight"
|
|
69
|
-
]
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"name": "column-count",
|
|
73
|
-
"href": "https://drafts.csswg.org/css-multicol-2/#propdef-column-count",
|
|
74
|
-
"value": "auto | <integer [1,∞]>",
|
|
75
|
-
"initial": "auto",
|
|
76
|
-
"appliesTo": "block containers except table wrapper boxes",
|
|
77
|
-
"inherited": "no",
|
|
78
|
-
"percentages": "N/A",
|
|
79
|
-
"computedValue": "specified value",
|
|
80
|
-
"canonicalOrder": "per grammar",
|
|
81
|
-
"animationType": "by computed value",
|
|
82
|
-
"values": [
|
|
83
|
-
{
|
|
84
|
-
"name": "auto",
|
|
85
|
-
"prose": "means that the number of columns will be determined by other properties (e.g., column-width, if it has a non-auto value).",
|
|
86
|
-
"href": "https://drafts.csswg.org/css-multicol-2/#valdef-column-count-auto",
|
|
87
|
-
"type": "value",
|
|
88
|
-
"value": "auto"
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"name": "<integer [1,∞]>",
|
|
92
|
-
"prose": "describes the optimal number of columns into which the content of the element will be flowed. Values must be greater than 0. If both column-width and column-count have non-auto values, the integer value describes the maximum number of columns.",
|
|
93
|
-
"href": "https://drafts.csswg.org/css-multicol-2/#valdef-column-count-integer-1",
|
|
94
|
-
"type": "value",
|
|
95
|
-
"value": "<integer [1,∞]>"
|
|
96
|
-
}
|
|
97
|
-
],
|
|
98
|
-
"styleDeclaration": [
|
|
99
|
-
"column-count",
|
|
100
|
-
"columnCount"
|
|
101
|
-
]
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
"name": "column-wrap",
|
|
105
|
-
"href": "https://drafts.csswg.org/css-multicol-2/#propdef-column-wrap",
|
|
106
|
-
"value": "auto | nowrap | wrap",
|
|
107
|
-
"initial": "auto",
|
|
108
|
-
"appliesTo": "multicol containers",
|
|
109
|
-
"inherited": "no",
|
|
110
|
-
"percentages": "n/a",
|
|
111
|
-
"computedValue": "specified keyword",
|
|
112
|
-
"canonicalOrder": "per grammar",
|
|
113
|
-
"animationType": "discrete",
|
|
114
|
-
"values": [
|
|
115
|
-
{
|
|
116
|
-
"name": "auto",
|
|
117
|
-
"prose": "If column-height is not auto behaves as the value wrap otherwise acts as nowrap.",
|
|
118
|
-
"href": "https://drafts.csswg.org/css-multicol-2/#valdef-column-wrap-auto",
|
|
119
|
-
"type": "value",
|
|
120
|
-
"value": "auto"
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"name": "nowrap",
|
|
124
|
-
"prose": "Overflow columns are created in the inline direction.",
|
|
125
|
-
"href": "https://drafts.csswg.org/css-multicol-2/#valdef-column-wrap-nowrap",
|
|
126
|
-
"type": "value",
|
|
127
|
-
"value": "nowrap"
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
"name": "wrap",
|
|
131
|
-
"prose": "Overflow columns create a new multicol row in the block direction.",
|
|
132
|
-
"href": "https://drafts.csswg.org/css-multicol-2/#valdef-column-wrap-wrap",
|
|
133
|
-
"type": "value",
|
|
134
|
-
"value": "wrap"
|
|
135
|
-
}
|
|
136
|
-
],
|
|
137
|
-
"styleDeclaration": [
|
|
138
|
-
"column-wrap",
|
|
139
|
-
"columnWrap"
|
|
140
|
-
]
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"name": "columns",
|
|
144
|
-
"href": "https://drafts.csswg.org/css-multicol-2/#propdef-columns",
|
|
145
|
-
"value": "<'column-width'> || <'column-count'> [ / <'column-height'> ]?",
|
|
146
|
-
"initial": "see individual properties",
|
|
147
|
-
"appliesTo": "see individual properties",
|
|
148
|
-
"inherited": "see individual properties",
|
|
149
|
-
"percentages": "see individual properties",
|
|
150
|
-
"computedValue": "see individual properties",
|
|
151
|
-
"animationType": "see individual properties",
|
|
152
|
-
"canonicalOrder": "per grammar",
|
|
153
|
-
"styleDeclaration": [
|
|
154
|
-
"columns"
|
|
155
|
-
]
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
"name": "column-span",
|
|
159
|
-
"href": "https://drafts.csswg.org/css-multicol-2/#propdef-column-span",
|
|
160
|
-
"value": "none | <integer [1,∞]> | all | auto",
|
|
161
|
-
"initial": "none",
|
|
162
|
-
"appliesTo": "in-flow block-level elements",
|
|
163
|
-
"inherited": "no",
|
|
164
|
-
"percentages": "N/A",
|
|
165
|
-
"computedValue": "specified value",
|
|
166
|
-
"canonicalOrder": "per grammar",
|
|
167
|
-
"animationType": "discrete",
|
|
168
|
-
"values": [
|
|
169
|
-
{
|
|
170
|
-
"name": "none",
|
|
171
|
-
"prose": "The element does not span multiple columns.",
|
|
172
|
-
"href": "https://drafts.csswg.org/css-multicol-2/#valdef-column-span-none",
|
|
173
|
-
"type": "value",
|
|
174
|
-
"value": "none"
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
"name": "all",
|
|
178
|
-
"prose": "The element forces a column break and is taken out of flow to span across all columns of the nearest multicol ancestor in the same block formatting context. Content in the normal flow that appears before the element is automatically balanced across all columns in the immediately preceding multi-column line before the element appears, and any subsequent content flows into a new multi-column line after the element. The element establishes an independent formatting context.",
|
|
179
|
-
"href": "https://drafts.csswg.org/css-multicol-2/#valdef-column-span-all",
|
|
180
|
-
"type": "value",
|
|
181
|
-
"value": "all"
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
"name": "<integer [1,∞]>",
|
|
185
|
-
"prose": "The element spans the specified number of columns. Values must be greater than 0. If the specified integer value is equal to, or larger than the number of columns in the multicol element, the number of columns spanned will be the same as if column-span: all had been specified. This definition is insufficient. Does column-span: 1 count as column-span: none, or does it create a spanner (which is a BFC)? Which columns does it span? How does that affect height calculations, and interact with column-fill",
|
|
186
|
-
"href": "https://drafts.csswg.org/css-multicol-2/#valdef-column-span-integer-1",
|
|
187
|
-
"type": "value",
|
|
188
|
-
"value": "<integer [1,∞]>"
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
"name": "auto",
|
|
192
|
-
"prose": "The number of columns spanned by the element depends on its min-content outer size in the inline direction of the multi-column container. If it is smaller than the used value of column-width, this is the same as if column-span: none had been specified. Otherwise, the number of columns spanned is the smallest positive integer n for which n × column-width + (n - 1) × column-gap is larger than the min-content outer size. If this would be larger than the number of columns, the number of columns spanned will be the same as if column-span: all had been specified. If column-span: 1 does not do the same as column-span: none, should this behave as column-span: 1 or as column-span: none when the element is small enough?",
|
|
193
|
-
"href": "https://drafts.csswg.org/css-multicol-2/#valdef-column-span-auto",
|
|
194
|
-
"type": "value",
|
|
195
|
-
"value": "auto"
|
|
196
|
-
}
|
|
197
|
-
],
|
|
198
|
-
"styleDeclaration": [
|
|
199
|
-
"column-span",
|
|
200
|
-
"columnSpan"
|
|
201
|
-
]
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
"name": "column-fill",
|
|
205
|
-
"href": "https://drafts.csswg.org/css-multicol-2/#propdef-column-fill",
|
|
206
|
-
"value": "auto | balance | balance-all",
|
|
207
|
-
"initial": "balance",
|
|
208
|
-
"appliesTo": "multicol containers",
|
|
209
|
-
"inherited": "no",
|
|
210
|
-
"percentages": "N/A",
|
|
211
|
-
"computedValue": "specified keyword",
|
|
212
|
-
"canonicalOrder": "per grammar",
|
|
213
|
-
"animationType": "discrete",
|
|
214
|
-
"values": [
|
|
215
|
-
{
|
|
216
|
-
"name": "balance",
|
|
217
|
-
"prose": "Balance content equally between columns, as far as possible. In fragmented contexts, only the last fragment is balanced.",
|
|
218
|
-
"href": "https://drafts.csswg.org/css-multicol-2/#valdef-column-fill-balance",
|
|
219
|
-
"type": "value",
|
|
220
|
-
"value": "balance"
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
"name": "balance-all",
|
|
224
|
-
"prose": "Balance content equally between columns, as far as possible. In fragmented contexts, all fragments are balanced.",
|
|
225
|
-
"href": "https://drafts.csswg.org/css-multicol-2/#valdef-column-fill-balance-all",
|
|
226
|
-
"type": "value",
|
|
227
|
-
"value": "balance-all"
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
"name": "auto",
|
|
231
|
-
"prose": "fill columns sequentially",
|
|
232
|
-
"href": "https://drafts.csswg.org/css-multicol-2/#valdef-column-fill-auto",
|
|
233
|
-
"type": "value",
|
|
234
|
-
"value": "auto"
|
|
235
|
-
}
|
|
236
|
-
],
|
|
237
|
-
"styleDeclaration": [
|
|
238
|
-
"column-fill",
|
|
239
|
-
"columnFill"
|
|
240
|
-
]
|
|
241
|
-
}
|
|
242
|
-
],
|
|
243
|
-
"atrules": [],
|
|
244
|
-
"selectors": [
|
|
245
|
-
{
|
|
246
|
-
"name": "::column",
|
|
247
|
-
"prose": "The ::column pseudo-element represents the individual columns in a multi-column container. It only exists on multi-column containers.",
|
|
248
|
-
"href": "https://drafts.csswg.org/css-multicol-2/#selectordef-column",
|
|
249
|
-
"value": "::column"
|
|
250
|
-
}
|
|
251
|
-
],
|
|
252
|
-
"values": []
|
|
253
|
-
}
|
package/css-namespaces.json
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"spec": {
|
|
3
|
-
"title": "CSS Namespaces Module Level 3",
|
|
4
|
-
"url": "https://drafts.csswg.org/css-namespaces-3/"
|
|
5
|
-
},
|
|
6
|
-
"properties": [],
|
|
7
|
-
"atrules": [
|
|
8
|
-
{
|
|
9
|
-
"name": "@namespace",
|
|
10
|
-
"prose": "The @namespace at-rule declares a namespace prefix and associates it with a given namespace name (a string). This namespace prefix can then be used in namespace-qualified names such as the CSS qualified names defined below.",
|
|
11
|
-
"href": "https://drafts.csswg.org/css-namespaces-3/#at-ruledef-namespace",
|
|
12
|
-
"descriptors": [],
|
|
13
|
-
"value": "@namespace <namespace-prefix>? [ <string> | <url> ] ;"
|
|
14
|
-
}
|
|
15
|
-
],
|
|
16
|
-
"selectors": [],
|
|
17
|
-
"values": [
|
|
18
|
-
{
|
|
19
|
-
"name": "<namespace-prefix>",
|
|
20
|
-
"href": "https://drafts.csswg.org/css-namespaces-3/#typedef-namespace-prefix",
|
|
21
|
-
"type": "type",
|
|
22
|
-
"value": "<ident>"
|
|
23
|
-
}
|
|
24
|
-
]
|
|
25
|
-
}
|
package/css-nav.json
DELETED
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"spec": {
|
|
3
|
-
"title": "CSS Spatial Navigation Level 1",
|
|
4
|
-
"url": "https://drafts.csswg.org/css-nav-1/"
|
|
5
|
-
},
|
|
6
|
-
"properties": [
|
|
7
|
-
{
|
|
8
|
-
"name": "spatial-navigation-contain",
|
|
9
|
-
"href": "https://drafts.csswg.org/css-nav-1/#propdef-spatial-navigation-contain",
|
|
10
|
-
"value": "auto | contain",
|
|
11
|
-
"initial": "auto",
|
|
12
|
-
"appliesTo": "all elements",
|
|
13
|
-
"inherited": "no",
|
|
14
|
-
"percentages": "n/a",
|
|
15
|
-
"computedValue": "as specified",
|
|
16
|
-
"canonicalOrder": "per grammar",
|
|
17
|
-
"animationType": "discrete",
|
|
18
|
-
"values": [
|
|
19
|
-
{
|
|
20
|
-
"name": "auto",
|
|
21
|
-
"prose": "If the element is a scroll container then it establishes a spatial navigation container, otherwise it does not.",
|
|
22
|
-
"href": "https://drafts.csswg.org/css-nav-1/#valdef-spatial-navigation-contain-auto",
|
|
23
|
-
"type": "value",
|
|
24
|
-
"value": "auto"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"name": "contain",
|
|
28
|
-
"prose": "The element establishes a spatial navigation container",
|
|
29
|
-
"href": "https://drafts.csswg.org/css-nav-1/#valdef-spatial-navigation-contain-contain",
|
|
30
|
-
"type": "value",
|
|
31
|
-
"value": "contain"
|
|
32
|
-
}
|
|
33
|
-
],
|
|
34
|
-
"styleDeclaration": [
|
|
35
|
-
"spatial-navigation-contain",
|
|
36
|
-
"spatialNavigationContain"
|
|
37
|
-
]
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"name": "spatial-navigation-action",
|
|
41
|
-
"href": "https://drafts.csswg.org/css-nav-1/#propdef-spatial-navigation-action",
|
|
42
|
-
"value": "auto | focus | scroll",
|
|
43
|
-
"initial": "auto",
|
|
44
|
-
"appliesTo": "scroll containers",
|
|
45
|
-
"inherited": "no",
|
|
46
|
-
"percentages": "n/a",
|
|
47
|
-
"computedValue": "as specified",
|
|
48
|
-
"canonicalOrder": "per grammar",
|
|
49
|
-
"animationType": "discrete",
|
|
50
|
-
"values": [
|
|
51
|
-
{
|
|
52
|
-
"name": "auto",
|
|
53
|
-
"prose": "If there are visible focusable elements within the scroll container in the direction requested, the closest one becomes focused. Otherwise, the scroll container is scrolled in the direction requested.",
|
|
54
|
-
"href": "https://drafts.csswg.org/css-nav-1/#valdef-spatial-navigation-action-auto",
|
|
55
|
-
"type": "value",
|
|
56
|
-
"value": "auto"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"name": "focus",
|
|
60
|
-
"prose": "The focus is moved to the nearest focusable element within the scroll container, regardless of whether it is visible. If there are none, the scroll container is not scrolled, and the search continues up the ancestry chain instead.",
|
|
61
|
-
"href": "https://drafts.csswg.org/css-nav-1/#valdef-spatial-navigation-action-focus",
|
|
62
|
-
"type": "value",
|
|
63
|
-
"value": "focus"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"name": "scroll",
|
|
67
|
-
"prose": "If the currently focused element is not itself a scroll container, this value on an ancestor scroll container has the same effect as auto. If the currently focused element is a scroll container, it is scrolled in the direction requested without changing which element is in focus, regardless of the presence of focusable descendants.",
|
|
68
|
-
"href": "https://drafts.csswg.org/css-nav-1/#valdef-spatial-navigation-action-scroll",
|
|
69
|
-
"type": "value",
|
|
70
|
-
"value": "scroll"
|
|
71
|
-
}
|
|
72
|
-
],
|
|
73
|
-
"styleDeclaration": [
|
|
74
|
-
"spatial-navigation-action",
|
|
75
|
-
"spatialNavigationAction"
|
|
76
|
-
]
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"name": "spatial-navigation-function",
|
|
80
|
-
"href": "https://drafts.csswg.org/css-nav-1/#propdef-spatial-navigation-function",
|
|
81
|
-
"value": "normal | grid",
|
|
82
|
-
"initial": "normal",
|
|
83
|
-
"appliesTo": "spatial navigation containers",
|
|
84
|
-
"inherited": "no",
|
|
85
|
-
"percentages": "n/a",
|
|
86
|
-
"computedValue": "as specified",
|
|
87
|
-
"canonicalOrder": "per grammar",
|
|
88
|
-
"animationType": "discrete",
|
|
89
|
-
"values": [
|
|
90
|
-
{
|
|
91
|
-
"name": "normal",
|
|
92
|
-
"prose": "Moves the focus with the default focus navigation algorithm defined by UA. In general, the focus moves to the element with the closest distance calculated by finding the shortest distance.",
|
|
93
|
-
"href": "https://drafts.csswg.org/css-nav-1/#valdef-spatial-navigation-function-normal",
|
|
94
|
-
"type": "value",
|
|
95
|
-
"value": "normal"
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"name": "grid",
|
|
99
|
-
"prose": "Moves the focus to the element which is aligned most in the navigation direction. If there are more than one aligned candidates in the navigation direction, select the element with the closest distance along the axis which corresponds to the navigation direction. In case of multiple elements with the same distance, select the element with the minimum amount of alignment. Else if there isn’t any aligned candidate in a given direction, select the element with the closest distance along the axis which corresponds to the navigation direction. In case of multiple elements with the same distance, select the element with the minimum distance along the axis which is orthogonal to the navigation direction.",
|
|
100
|
-
"href": "https://drafts.csswg.org/css-nav-1/#valdef-spatial-navigation-function-grid",
|
|
101
|
-
"type": "value",
|
|
102
|
-
"value": "grid"
|
|
103
|
-
}
|
|
104
|
-
],
|
|
105
|
-
"styleDeclaration": [
|
|
106
|
-
"spatial-navigation-function",
|
|
107
|
-
"spatialNavigationFunction"
|
|
108
|
-
]
|
|
109
|
-
}
|
|
110
|
-
],
|
|
111
|
-
"atrules": [],
|
|
112
|
-
"selectors": [],
|
|
113
|
-
"values": [],
|
|
114
|
-
"warnings": [
|
|
115
|
-
{
|
|
116
|
-
"msg": "Missing definition",
|
|
117
|
-
"name": "distance",
|
|
118
|
-
"value": "euclidean + displacement - alignment - sqrt(Overlap)"
|
|
119
|
-
}
|
|
120
|
-
]
|
|
121
|
-
}
|
package/css-nesting.json
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"spec": {
|
|
3
|
-
"title": "CSS Nesting Module",
|
|
4
|
-
"url": "https://drafts.csswg.org/css-nesting-1/"
|
|
5
|
-
},
|
|
6
|
-
"properties": [],
|
|
7
|
-
"atrules": [],
|
|
8
|
-
"selectors": [
|
|
9
|
-
{
|
|
10
|
-
"name": "&",
|
|
11
|
-
"prose": "When using a nested style rule, one must be able to refer to the elements matched by the parent rule; that is, after all, the entire point of nesting. To accomplish that, this specification defines a new selector, the nesting selector, written as & (U+0026 AMPERSAND).",
|
|
12
|
-
"href": "https://drafts.csswg.org/css-nesting-1/#selectordef-",
|
|
13
|
-
"value": "'&'"
|
|
14
|
-
}
|
|
15
|
-
],
|
|
16
|
-
"values": []
|
|
17
|
-
}
|