@webref/css 6.23.0 → 7.0.1-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/mediaqueries.json
DELETED
|
@@ -1,549 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"spec": {
|
|
3
|
-
"title": "Media Queries Level 4",
|
|
4
|
-
"url": "https://drafts.csswg.org/mediaqueries-4/"
|
|
5
|
-
},
|
|
6
|
-
"properties": [],
|
|
7
|
-
"atrules": [
|
|
8
|
-
{
|
|
9
|
-
"name": "@media",
|
|
10
|
-
"descriptors": [
|
|
11
|
-
{
|
|
12
|
-
"name": "width",
|
|
13
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#descdef-media-width",
|
|
14
|
-
"for": "@media",
|
|
15
|
-
"value": "<length>",
|
|
16
|
-
"type": "range"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"name": "height",
|
|
20
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#descdef-media-height",
|
|
21
|
-
"for": "@media",
|
|
22
|
-
"value": "<length>",
|
|
23
|
-
"type": "range"
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"name": "aspect-ratio",
|
|
27
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#descdef-media-aspect-ratio",
|
|
28
|
-
"for": "@media",
|
|
29
|
-
"value": "<ratio>",
|
|
30
|
-
"type": "range"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"name": "orientation",
|
|
34
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#descdef-media-orientation",
|
|
35
|
-
"for": "@media",
|
|
36
|
-
"value": "portrait | landscape",
|
|
37
|
-
"type": "discrete",
|
|
38
|
-
"values": [
|
|
39
|
-
{
|
|
40
|
-
"name": "portrait",
|
|
41
|
-
"prose": "The orientation media feature is portrait when the value of the height media feature is greater than or equal to the value of the width media feature.",
|
|
42
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#valdef-media-orientation-portrait",
|
|
43
|
-
"type": "value",
|
|
44
|
-
"value": "portrait"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"name": "landscape",
|
|
48
|
-
"prose": "Otherwise orientation is landscape.",
|
|
49
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#valdef-media-orientation-landscape",
|
|
50
|
-
"type": "value",
|
|
51
|
-
"value": "landscape"
|
|
52
|
-
}
|
|
53
|
-
]
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"name": "resolution",
|
|
57
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#descdef-media-resolution",
|
|
58
|
-
"for": "@media",
|
|
59
|
-
"value": "<resolution> | infinite",
|
|
60
|
-
"type": "range",
|
|
61
|
-
"values": [
|
|
62
|
-
{
|
|
63
|
-
"name": "infinite",
|
|
64
|
-
"prose": "For output mediums that have no physical constraints on resolution (such as outputting to vector graphics), this feature must match the infinite value. For the purpose of evaluating this media feature in the range context, infinite must be treated as larger than any possible <resolution>. (That is, a query like (resolution > 1000dpi) will be true for an infinite media.)",
|
|
65
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#valdef-media-resolution-infinite",
|
|
66
|
-
"type": "value",
|
|
67
|
-
"value": "infinite"
|
|
68
|
-
}
|
|
69
|
-
]
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"name": "scan",
|
|
73
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#descdef-media-scan",
|
|
74
|
-
"for": "@media",
|
|
75
|
-
"value": "interlace | progressive",
|
|
76
|
-
"type": "discrete",
|
|
77
|
-
"values": [
|
|
78
|
-
{
|
|
79
|
-
"name": "interlace",
|
|
80
|
-
"prose": "CRT and some types of plasma TV screens used “interlaced” rendering, where video frames alternated between specifying only the “even” lines on the screen and only the “odd” lines, exploiting various automatic mental image-correction abilities to produce smooth motion. This allowed them to simulate a higher FPS broadcast at half the bandwidth cost. When displaying on interlaced screens, authors should avoid very fast movement across the screen to avoid “combing”, and should ensure that details on the screen are wider than 1px to avoid “twitter”.",
|
|
81
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#valdef-media-scan-interlace",
|
|
82
|
-
"type": "value",
|
|
83
|
-
"value": "interlace"
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"name": "progressive",
|
|
87
|
-
"prose": "A screen using “progressive” rendering displays each screen fully, and needs no special treatment. Most modern screens, and all computer screens, use progressive rendering.",
|
|
88
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#valdef-media-scan-progressive",
|
|
89
|
-
"type": "value",
|
|
90
|
-
"value": "progressive"
|
|
91
|
-
}
|
|
92
|
-
]
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"name": "grid",
|
|
96
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#descdef-media-grid",
|
|
97
|
-
"for": "@media",
|
|
98
|
-
"value": "<mq-boolean>",
|
|
99
|
-
"type": "discrete"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"name": "update",
|
|
103
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#descdef-media-update",
|
|
104
|
-
"for": "@media",
|
|
105
|
-
"value": "none | slow | fast",
|
|
106
|
-
"type": "discrete",
|
|
107
|
-
"values": [
|
|
108
|
-
{
|
|
109
|
-
"name": "none",
|
|
110
|
-
"prose": "Once it has been rendered, the layout can no longer be updated. Example: documents printed on paper.",
|
|
111
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#valdef-media-update-none",
|
|
112
|
-
"type": "value",
|
|
113
|
-
"value": "none"
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
"name": "slow",
|
|
117
|
-
"prose": "The layout may change dynamically according to the usual rules of CSS, but the output device is not able to render or display changes quickly enough for them to be perceived as a smooth animation. Example: E-ink screens or severely under-powered devices.",
|
|
118
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#valdef-media-update-slow",
|
|
119
|
-
"type": "value",
|
|
120
|
-
"value": "slow"
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"name": "fast",
|
|
124
|
-
"prose": "The layout may change dynamically according to the usual rules of CSS, and the output device is not unusually constrained in speed, so regularly-updating things like CSS Animations can be used. Example: computer screens.",
|
|
125
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#valdef-media-update-fast",
|
|
126
|
-
"type": "value",
|
|
127
|
-
"value": "fast"
|
|
128
|
-
}
|
|
129
|
-
]
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
"name": "overflow-block",
|
|
133
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#descdef-media-overflow-block",
|
|
134
|
-
"for": "@media",
|
|
135
|
-
"value": "none | scroll | paged",
|
|
136
|
-
"type": "discrete",
|
|
137
|
-
"values": [
|
|
138
|
-
{
|
|
139
|
-
"name": "none",
|
|
140
|
-
"prose": "There is no affordance for overflow in the block axis; any overflowing content is simply not displayed. Examples: billboards",
|
|
141
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#valdef-media-overflow-block-none",
|
|
142
|
-
"type": "value",
|
|
143
|
-
"value": "none"
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
"name": "scroll",
|
|
147
|
-
"prose": "Overflowing content in the block axis is exposed by allowing users to scroll to it. Examples: computer screens",
|
|
148
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#valdef-media-overflow-block-scroll",
|
|
149
|
-
"type": "value",
|
|
150
|
-
"value": "scroll"
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
"name": "paged",
|
|
154
|
-
"prose": "Content is broken up into discrete pages; content that overflows one page in the block axis is displayed on the following page. Examples: printers, ebook readers",
|
|
155
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#valdef-media-overflow-block-paged",
|
|
156
|
-
"type": "value",
|
|
157
|
-
"value": "paged"
|
|
158
|
-
}
|
|
159
|
-
]
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
"name": "overflow-inline",
|
|
163
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#descdef-media-overflow-inline",
|
|
164
|
-
"for": "@media",
|
|
165
|
-
"value": "none | scroll",
|
|
166
|
-
"type": "discrete",
|
|
167
|
-
"values": [
|
|
168
|
-
{
|
|
169
|
-
"name": "none",
|
|
170
|
-
"prose": "There is no affordance for overflow in the inline axis; any overflowing content is simply not displayed.",
|
|
171
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#valdef-media-overflow-inline-none",
|
|
172
|
-
"type": "value",
|
|
173
|
-
"value": "none"
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
"name": "scroll",
|
|
177
|
-
"prose": "Overflowing content in the inline axis is exposed by allowing users to scroll to it.",
|
|
178
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#valdef-media-overflow-inline-scroll",
|
|
179
|
-
"type": "value",
|
|
180
|
-
"value": "scroll"
|
|
181
|
-
}
|
|
182
|
-
]
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
"name": "color",
|
|
186
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#descdef-media-color",
|
|
187
|
-
"for": "@media",
|
|
188
|
-
"value": "<integer>",
|
|
189
|
-
"type": "range"
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
"name": "color-index",
|
|
193
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#descdef-media-color-index",
|
|
194
|
-
"for": "@media",
|
|
195
|
-
"value": "<integer>",
|
|
196
|
-
"type": "range"
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
"name": "monochrome",
|
|
200
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#descdef-media-monochrome",
|
|
201
|
-
"for": "@media",
|
|
202
|
-
"value": "<integer>",
|
|
203
|
-
"type": "range"
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
"name": "color-gamut",
|
|
207
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#descdef-media-color-gamut",
|
|
208
|
-
"for": "@media",
|
|
209
|
-
"value": "srgb | p3 | rec2020",
|
|
210
|
-
"type": "discrete",
|
|
211
|
-
"values": [
|
|
212
|
-
{
|
|
213
|
-
"name": "srgb",
|
|
214
|
-
"prose": "The UA and output device can support approximately the sRGB gamut or more.",
|
|
215
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#valdef-media-color-gamut-srgb",
|
|
216
|
-
"type": "value",
|
|
217
|
-
"value": "srgb"
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
"name": "p3",
|
|
221
|
-
"prose": "The UA and output device can support approximately the gamut specified by the Display P3 [Display-P3] Color Space or more.",
|
|
222
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#valdef-media-color-gamut-p3",
|
|
223
|
-
"type": "value",
|
|
224
|
-
"value": "p3"
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
"name": "rec2020",
|
|
228
|
-
"prose": "The UA and output device can support approximately the gamut specified by the ITU-R Recommendation BT.2020 Color Space or more.",
|
|
229
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#valdef-media-color-gamut-rec2020",
|
|
230
|
-
"type": "value",
|
|
231
|
-
"value": "rec2020"
|
|
232
|
-
}
|
|
233
|
-
]
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
"name": "pointer",
|
|
237
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#descdef-media-pointer",
|
|
238
|
-
"for": "@media",
|
|
239
|
-
"value": "none | coarse | fine",
|
|
240
|
-
"type": "discrete",
|
|
241
|
-
"values": [
|
|
242
|
-
{
|
|
243
|
-
"name": "none",
|
|
244
|
-
"prose": "The primary input mechanism of the device does not include a pointing device.",
|
|
245
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#valdef-media-pointer-none",
|
|
246
|
-
"type": "value",
|
|
247
|
-
"value": "none"
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
"name": "coarse",
|
|
251
|
-
"prose": "The primary input mechanism of the device includes a pointing device of limited accuracy. Examples include touchscreens and motion-detection sensors (like the Kinect peripheral for the Xbox.)",
|
|
252
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#valdef-media-pointer-coarse",
|
|
253
|
-
"type": "value",
|
|
254
|
-
"value": "coarse"
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
"name": "fine",
|
|
258
|
-
"prose": "The primary input mechanism of the device includes an accurate pointing device. Examples include mice, touchpads, and drawing styluses.",
|
|
259
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#valdef-media-pointer-fine",
|
|
260
|
-
"type": "value",
|
|
261
|
-
"value": "fine"
|
|
262
|
-
}
|
|
263
|
-
]
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
"name": "hover",
|
|
267
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#descdef-media-hover",
|
|
268
|
-
"for": "@media",
|
|
269
|
-
"value": "none | hover",
|
|
270
|
-
"type": "discrete",
|
|
271
|
-
"values": [
|
|
272
|
-
{
|
|
273
|
-
"name": "none",
|
|
274
|
-
"prose": "Indicates that the primary pointing device can’t hover, or that there is no pointing device. Examples include touchscreens and screens that use a basic drawing stylus. Pointing devices that can hover, but for which doing so is inconvenient and not part of the normal way they are used, also match this value. For example, a touchscreen where a long press is treated as hovering would match hover: none.",
|
|
275
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#valdef-media-hover-none",
|
|
276
|
-
"type": "value",
|
|
277
|
-
"value": "none"
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
"name": "hover",
|
|
281
|
-
"prose": "Indicates that the primary pointing device can easily hover over parts of the page. Examples include mice and devices that physically point at the screen, like the Nintendo Wii controller.",
|
|
282
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#valdef-media-hover-hover",
|
|
283
|
-
"type": "value",
|
|
284
|
-
"value": "hover"
|
|
285
|
-
}
|
|
286
|
-
]
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
"name": "any-pointer",
|
|
290
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#descdef-media-any-pointer",
|
|
291
|
-
"for": "@media",
|
|
292
|
-
"value": "none | coarse | fine",
|
|
293
|
-
"type": "discrete"
|
|
294
|
-
},
|
|
295
|
-
{
|
|
296
|
-
"name": "any-hover",
|
|
297
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#descdef-media-any-hover",
|
|
298
|
-
"for": "@media",
|
|
299
|
-
"value": "none | hover",
|
|
300
|
-
"type": "discrete"
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
"name": "device-width",
|
|
304
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#descdef-media-device-width",
|
|
305
|
-
"for": "@media",
|
|
306
|
-
"value": "<length>",
|
|
307
|
-
"type": "range"
|
|
308
|
-
},
|
|
309
|
-
{
|
|
310
|
-
"name": "device-height",
|
|
311
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#descdef-media-device-height",
|
|
312
|
-
"for": "@media",
|
|
313
|
-
"value": "<length>",
|
|
314
|
-
"type": "range"
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
"name": "device-aspect-ratio",
|
|
318
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#descdef-media-device-aspect-ratio",
|
|
319
|
-
"for": "@media",
|
|
320
|
-
"value": "<ratio>",
|
|
321
|
-
"type": "range"
|
|
322
|
-
}
|
|
323
|
-
],
|
|
324
|
-
"values": [
|
|
325
|
-
{
|
|
326
|
-
"name": "not",
|
|
327
|
-
"prose": "An individual media query can have its result negated by prefixing it with the keyword not. If the media query would normally evaluate to true, prefixing it with not makes it evaluate to false, and vice versa.",
|
|
328
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#valdef-media-not",
|
|
329
|
-
"type": "value",
|
|
330
|
-
"value": "not"
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
"name": "only",
|
|
334
|
-
"prose": "To hide these media queries from legacy user agents, the media query can be prefixed with the keyword only. The only keyword has no effect on the media query’s result, but will cause the media query to be parsed by legacy user agents as specifying the unknown media type “only”, and thus be ignored.",
|
|
335
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#valdef-media-only",
|
|
336
|
-
"type": "value",
|
|
337
|
-
"value": "only"
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
"name": "all",
|
|
341
|
-
"prose": "Matches all devices.",
|
|
342
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#valdef-media-all",
|
|
343
|
-
"type": "value",
|
|
344
|
-
"value": "all"
|
|
345
|
-
},
|
|
346
|
-
{
|
|
347
|
-
"name": "print",
|
|
348
|
-
"prose": "Matches printers, and devices intended to reproduce a printed display, such as a web browser showing a document in “Print Preview”.",
|
|
349
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#valdef-media-print",
|
|
350
|
-
"type": "value",
|
|
351
|
-
"value": "print"
|
|
352
|
-
},
|
|
353
|
-
{
|
|
354
|
-
"name": "screen",
|
|
355
|
-
"prose": "Matches all devices that aren’t matched by print.",
|
|
356
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#valdef-media-screen",
|
|
357
|
-
"type": "value",
|
|
358
|
-
"value": "screen"
|
|
359
|
-
},
|
|
360
|
-
{
|
|
361
|
-
"name": "tty",
|
|
362
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#valdef-media-tty",
|
|
363
|
-
"type": "value",
|
|
364
|
-
"value": "tty"
|
|
365
|
-
},
|
|
366
|
-
{
|
|
367
|
-
"name": "tv",
|
|
368
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#valdef-media-tv",
|
|
369
|
-
"type": "value",
|
|
370
|
-
"value": "tv"
|
|
371
|
-
},
|
|
372
|
-
{
|
|
373
|
-
"name": "projection",
|
|
374
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#valdef-media-projection",
|
|
375
|
-
"type": "value",
|
|
376
|
-
"value": "projection"
|
|
377
|
-
},
|
|
378
|
-
{
|
|
379
|
-
"name": "handheld",
|
|
380
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#valdef-media-handheld",
|
|
381
|
-
"type": "value",
|
|
382
|
-
"value": "handheld"
|
|
383
|
-
},
|
|
384
|
-
{
|
|
385
|
-
"name": "braille",
|
|
386
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#valdef-media-braille",
|
|
387
|
-
"type": "value",
|
|
388
|
-
"value": "braille"
|
|
389
|
-
},
|
|
390
|
-
{
|
|
391
|
-
"name": "embossed",
|
|
392
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#valdef-media-embossed",
|
|
393
|
-
"type": "value",
|
|
394
|
-
"value": "embossed"
|
|
395
|
-
},
|
|
396
|
-
{
|
|
397
|
-
"name": "aural",
|
|
398
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#valdef-media-aural",
|
|
399
|
-
"type": "value",
|
|
400
|
-
"value": "aural"
|
|
401
|
-
},
|
|
402
|
-
{
|
|
403
|
-
"name": "speech",
|
|
404
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#valdef-media-speech",
|
|
405
|
-
"type": "value",
|
|
406
|
-
"value": "speech"
|
|
407
|
-
}
|
|
408
|
-
]
|
|
409
|
-
}
|
|
410
|
-
],
|
|
411
|
-
"selectors": [],
|
|
412
|
-
"values": [
|
|
413
|
-
{
|
|
414
|
-
"name": "<media-query-list>",
|
|
415
|
-
"prose": "To parse a <media-query-list> production, parse a comma-separated list of component values, then parse each entry in the returned list as a <media-query>. Its value is the list of <media-query>s so produced.",
|
|
416
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#typedef-media-query-list",
|
|
417
|
-
"type": "type"
|
|
418
|
-
},
|
|
419
|
-
{
|
|
420
|
-
"name": "<media-query>",
|
|
421
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#typedef-media-query",
|
|
422
|
-
"type": "type",
|
|
423
|
-
"value": "<media-condition> | [ not | only ]? <media-type> [ and <media-condition-without-or> ]?"
|
|
424
|
-
},
|
|
425
|
-
{
|
|
426
|
-
"name": "<media-type>",
|
|
427
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#typedef-media-type",
|
|
428
|
-
"type": "type",
|
|
429
|
-
"value": "<ident>"
|
|
430
|
-
},
|
|
431
|
-
{
|
|
432
|
-
"name": "<media-condition>",
|
|
433
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#typedef-media-condition",
|
|
434
|
-
"type": "type",
|
|
435
|
-
"value": "<media-not> | <media-in-parens> [ <media-and>* | <media-or>* ]"
|
|
436
|
-
},
|
|
437
|
-
{
|
|
438
|
-
"name": "<media-condition-without-or>",
|
|
439
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#typedef-media-condition-without-or",
|
|
440
|
-
"type": "type",
|
|
441
|
-
"value": "<media-not> | <media-in-parens> <media-and>*"
|
|
442
|
-
},
|
|
443
|
-
{
|
|
444
|
-
"name": "<media-not>",
|
|
445
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#typedef-media-not",
|
|
446
|
-
"type": "type",
|
|
447
|
-
"value": "not <media-in-parens>"
|
|
448
|
-
},
|
|
449
|
-
{
|
|
450
|
-
"name": "<media-and>",
|
|
451
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#typedef-media-and",
|
|
452
|
-
"type": "type",
|
|
453
|
-
"value": "and <media-in-parens>"
|
|
454
|
-
},
|
|
455
|
-
{
|
|
456
|
-
"name": "<media-or>",
|
|
457
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#typedef-media-or",
|
|
458
|
-
"type": "type",
|
|
459
|
-
"value": "or <media-in-parens>"
|
|
460
|
-
},
|
|
461
|
-
{
|
|
462
|
-
"name": "<media-in-parens>",
|
|
463
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#typedef-media-in-parens",
|
|
464
|
-
"type": "type",
|
|
465
|
-
"value": "( <media-condition> ) | ( <media-feature> ) | <general-enclosed>"
|
|
466
|
-
},
|
|
467
|
-
{
|
|
468
|
-
"name": "<media-feature>",
|
|
469
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#typedef-media-feature",
|
|
470
|
-
"type": "type",
|
|
471
|
-
"value": "[ <mf-plain> | <mf-boolean> | <mf-range> ]"
|
|
472
|
-
},
|
|
473
|
-
{
|
|
474
|
-
"name": "<mf-plain>",
|
|
475
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#typedef-mf-plain",
|
|
476
|
-
"type": "type",
|
|
477
|
-
"value": "<mf-name> : <mf-value>"
|
|
478
|
-
},
|
|
479
|
-
{
|
|
480
|
-
"name": "<mf-boolean>",
|
|
481
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#typedef-mf-boolean",
|
|
482
|
-
"type": "type",
|
|
483
|
-
"value": "<mf-name>"
|
|
484
|
-
},
|
|
485
|
-
{
|
|
486
|
-
"name": "<mf-range>",
|
|
487
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#typedef-mf-range",
|
|
488
|
-
"type": "type",
|
|
489
|
-
"value": "<mf-name> <mf-comparison> <mf-value> | <mf-value> <mf-comparison> <mf-name> | <mf-value> <mf-lt> <mf-name> <mf-lt> <mf-value> | <mf-value> <mf-gt> <mf-name> <mf-gt> <mf-value>"
|
|
490
|
-
},
|
|
491
|
-
{
|
|
492
|
-
"name": "<mf-name>",
|
|
493
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#typedef-mf-name",
|
|
494
|
-
"type": "type",
|
|
495
|
-
"value": "<ident>"
|
|
496
|
-
},
|
|
497
|
-
{
|
|
498
|
-
"name": "<mf-value>",
|
|
499
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#typedef-mf-value",
|
|
500
|
-
"type": "type",
|
|
501
|
-
"value": "<number> | <dimension> | <ident> | <ratio>"
|
|
502
|
-
},
|
|
503
|
-
{
|
|
504
|
-
"name": "<mf-lt>",
|
|
505
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#typedef-mf-lt",
|
|
506
|
-
"type": "type",
|
|
507
|
-
"value": "'<' '='?"
|
|
508
|
-
},
|
|
509
|
-
{
|
|
510
|
-
"name": "<mf-gt>",
|
|
511
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#typedef-mf-gt",
|
|
512
|
-
"type": "type",
|
|
513
|
-
"value": "'>' '='?"
|
|
514
|
-
},
|
|
515
|
-
{
|
|
516
|
-
"name": "<mf-eq>",
|
|
517
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#typedef-mf-eq",
|
|
518
|
-
"type": "type",
|
|
519
|
-
"value": "'='"
|
|
520
|
-
},
|
|
521
|
-
{
|
|
522
|
-
"name": "<mf-comparison>",
|
|
523
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#typedef-mf-comparison",
|
|
524
|
-
"type": "type",
|
|
525
|
-
"value": "<mf-lt> | <mf-gt> | <mf-eq>"
|
|
526
|
-
},
|
|
527
|
-
{
|
|
528
|
-
"name": "<general-enclosed>",
|
|
529
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#typedef-general-enclosed",
|
|
530
|
-
"type": "type",
|
|
531
|
-
"value": "[ <function-token> <any-value>? ) ] | [ ( <any-value>? ) ]"
|
|
532
|
-
},
|
|
533
|
-
{
|
|
534
|
-
"name": "<mq-boolean>",
|
|
535
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#typedef-mq-boolean",
|
|
536
|
-
"type": "type",
|
|
537
|
-
"value": "<integer [0,1]>"
|
|
538
|
-
}
|
|
539
|
-
],
|
|
540
|
-
"warnings": [
|
|
541
|
-
{
|
|
542
|
-
"msg": "Duplicate definition",
|
|
543
|
-
"name": "<mq-boolean>",
|
|
544
|
-
"prose": "The <mq-boolean> value type is an <integer> with the value 0 or 1. Any other integer value is invalid. Note that -0 is always equivalent to 0 in CSS, and so is also accepted as a valid <mq-boolean> value.",
|
|
545
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#typedef-mq-boolean%E2%91%A0",
|
|
546
|
-
"type": "type"
|
|
547
|
-
}
|
|
548
|
-
]
|
|
549
|
-
}
|