@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-5.json
DELETED
|
@@ -1,915 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"spec": {
|
|
3
|
-
"title": "Media Queries Level 5",
|
|
4
|
-
"url": "https://drafts.csswg.org/mediaqueries-5/"
|
|
5
|
-
},
|
|
6
|
-
"properties": [],
|
|
7
|
-
"atrules": [
|
|
8
|
-
{
|
|
9
|
-
"name": "@custom-media",
|
|
10
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#at-ruledef-custom-media",
|
|
11
|
-
"descriptors": [],
|
|
12
|
-
"value": "@custom-media <extension-name> [ <media-query-list> | true | false ] ;",
|
|
13
|
-
"values": [
|
|
14
|
-
{
|
|
15
|
-
"name": "true",
|
|
16
|
-
"prose": "The <extension-name> can then be used in a media feature. It must be used in a boolean context; using them in a normal or range context is a syntax error. If a <media-query-list> is given, the custom media query evaluates to true if the <media-query-list> it represents evaluates to true, and false otherwise. If true or false is given, the custom media query evaluates to true or false, respectively.",
|
|
17
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-custom-media-true",
|
|
18
|
-
"type": "value",
|
|
19
|
-
"value": "true"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"name": "false",
|
|
23
|
-
"prose": "The <extension-name> can then be used in a media feature. It must be used in a boolean context; using them in a normal or range context is a syntax error. If a <media-query-list> is given, the custom media query evaluates to true if the <media-query-list> it represents evaluates to true, and false otherwise. If true or false is given, the custom media query evaluates to true or false, respectively.",
|
|
24
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-custom-media-false",
|
|
25
|
-
"type": "value",
|
|
26
|
-
"value": "false"
|
|
27
|
-
}
|
|
28
|
-
]
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"name": "@media",
|
|
32
|
-
"descriptors": [
|
|
33
|
-
{
|
|
34
|
-
"name": "width",
|
|
35
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-width",
|
|
36
|
-
"for": "@media",
|
|
37
|
-
"value": "<length>",
|
|
38
|
-
"type": "range"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"name": "height",
|
|
42
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-height",
|
|
43
|
-
"for": "@media",
|
|
44
|
-
"value": "<length>",
|
|
45
|
-
"type": "range"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"name": "aspect-ratio",
|
|
49
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-aspect-ratio",
|
|
50
|
-
"for": "@media",
|
|
51
|
-
"value": "<ratio>",
|
|
52
|
-
"type": "range"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"name": "orientation",
|
|
56
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-orientation",
|
|
57
|
-
"for": "@media",
|
|
58
|
-
"value": "portrait | landscape",
|
|
59
|
-
"type": "discrete",
|
|
60
|
-
"values": [
|
|
61
|
-
{
|
|
62
|
-
"name": "portrait",
|
|
63
|
-
"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.",
|
|
64
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-orientation-portrait",
|
|
65
|
-
"type": "value",
|
|
66
|
-
"value": "portrait"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"name": "landscape",
|
|
70
|
-
"prose": "Otherwise orientation is landscape.",
|
|
71
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-orientation-landscape",
|
|
72
|
-
"type": "value",
|
|
73
|
-
"value": "landscape"
|
|
74
|
-
}
|
|
75
|
-
]
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"name": "overflow-block",
|
|
79
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-overflow-block",
|
|
80
|
-
"for": "@media",
|
|
81
|
-
"value": "none | scroll | paged",
|
|
82
|
-
"type": "discrete",
|
|
83
|
-
"values": [
|
|
84
|
-
{
|
|
85
|
-
"name": "none",
|
|
86
|
-
"prose": "There is no affordance for overflow in the block axis; any overflowing content is simply not displayed. Examples: billboards",
|
|
87
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-overflow-block-none",
|
|
88
|
-
"type": "value",
|
|
89
|
-
"value": "none"
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"name": "scroll",
|
|
93
|
-
"prose": "Overflowing content in the block axis is exposed by allowing users to scroll to it. Examples: computer screens",
|
|
94
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-overflow-block-scroll",
|
|
95
|
-
"type": "value",
|
|
96
|
-
"value": "scroll"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"name": "paged",
|
|
100
|
-
"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",
|
|
101
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-overflow-block-paged",
|
|
102
|
-
"type": "value",
|
|
103
|
-
"value": "paged"
|
|
104
|
-
}
|
|
105
|
-
]
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"name": "overflow-inline",
|
|
109
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-overflow-inline",
|
|
110
|
-
"for": "@media",
|
|
111
|
-
"value": "none | scroll",
|
|
112
|
-
"type": "discrete",
|
|
113
|
-
"values": [
|
|
114
|
-
{
|
|
115
|
-
"name": "none",
|
|
116
|
-
"prose": "There is no affordance for overflow in the inline axis; any overflowing content is simply not displayed.",
|
|
117
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-overflow-inline-none",
|
|
118
|
-
"type": "value",
|
|
119
|
-
"value": "none"
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"name": "scroll",
|
|
123
|
-
"prose": "Overflowing content in the inline axis is exposed by allowing users to scroll to it.",
|
|
124
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-overflow-inline-scroll",
|
|
125
|
-
"type": "value",
|
|
126
|
-
"value": "scroll"
|
|
127
|
-
}
|
|
128
|
-
]
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"name": "horizontal-viewport-segments",
|
|
132
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-horizontal-viewport-segments",
|
|
133
|
-
"for": "@media",
|
|
134
|
-
"value": "<integer>",
|
|
135
|
-
"type": "range"
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
"name": "vertical-viewport-segments",
|
|
139
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-vertical-viewport-segments",
|
|
140
|
-
"for": "@media",
|
|
141
|
-
"value": "<integer>",
|
|
142
|
-
"type": "range"
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
"name": "display-mode",
|
|
146
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-display-mode",
|
|
147
|
-
"for": "@media",
|
|
148
|
-
"value": "fullscreen | standalone | minimal-ui | browser | picture-in-picture",
|
|
149
|
-
"type": "discrete",
|
|
150
|
-
"values": [
|
|
151
|
-
{
|
|
152
|
-
"name": "fullscreen",
|
|
153
|
-
"prose": "The browsing context is displayed with browser UI elements hidden and takes up the entirety of the available display area. The fullscreen context may have been caused by the fullscreen display mode in the application manifest, by the requestFullscreen() method of the Fullscreen API, or through some other means (such as the user manually activating fullscreen mode using the user agent’s built-in controls). Corresponds to the fullscreen display mode.",
|
|
154
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-display-mode-fullscreen",
|
|
155
|
-
"type": "value",
|
|
156
|
-
"value": "fullscreen"
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
"name": "standalone",
|
|
160
|
-
"prose": "The standalone display mode is in use. Only applicable in an application context.",
|
|
161
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-display-mode-standalone",
|
|
162
|
-
"type": "value",
|
|
163
|
-
"value": "standalone"
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
"name": "minimal-ui",
|
|
167
|
-
"prose": "The minimal-ui display mode is in use. Only applicable in an application context.",
|
|
168
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-display-mode-minimal-ui",
|
|
169
|
-
"type": "value",
|
|
170
|
-
"value": "minimal-ui"
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
"name": "browser",
|
|
174
|
-
"prose": "The browsing context is displayed using the platform-specific convention for opening hyperlinks in the user agent (e.g., in a browser tab or web browser window with controls such as an address bar). This should be used for non-application contexts where no other display mode is appropriate. Corresponds to the browser display mode.",
|
|
175
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-display-mode-browser",
|
|
176
|
-
"type": "value",
|
|
177
|
-
"value": "browser"
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
"name": "picture-in-picture",
|
|
181
|
-
"prose": "This mode allows users to continue consuming media while they interact with other sites or applications on their device. The browsing context is displayed in a floating and always-on-top window. A user agent may include other platform specific UI elements, such as \"back-to-tab\" and \"site information\" buttons or whatever is customary on the platform and user agent.",
|
|
182
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-display-mode-picture-in-picture",
|
|
183
|
-
"type": "value",
|
|
184
|
-
"value": "picture-in-picture"
|
|
185
|
-
}
|
|
186
|
-
]
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
"name": "resolution",
|
|
190
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-resolution",
|
|
191
|
-
"for": "@media",
|
|
192
|
-
"value": "<resolution> | infinite",
|
|
193
|
-
"type": "range",
|
|
194
|
-
"values": [
|
|
195
|
-
{
|
|
196
|
-
"name": "infinite",
|
|
197
|
-
"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.)",
|
|
198
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-resolution-infinite",
|
|
199
|
-
"type": "value",
|
|
200
|
-
"value": "infinite"
|
|
201
|
-
}
|
|
202
|
-
]
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
"name": "scan",
|
|
206
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-scan",
|
|
207
|
-
"for": "@media",
|
|
208
|
-
"value": "interlace | progressive",
|
|
209
|
-
"type": "discrete",
|
|
210
|
-
"values": [
|
|
211
|
-
{
|
|
212
|
-
"name": "interlace",
|
|
213
|
-
"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”.",
|
|
214
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-scan-interlace",
|
|
215
|
-
"type": "value",
|
|
216
|
-
"value": "interlace"
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
"name": "progressive",
|
|
220
|
-
"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.",
|
|
221
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-scan-progressive",
|
|
222
|
-
"type": "value",
|
|
223
|
-
"value": "progressive"
|
|
224
|
-
}
|
|
225
|
-
]
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
"name": "grid",
|
|
229
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-grid",
|
|
230
|
-
"for": "@media",
|
|
231
|
-
"value": "<mq-boolean>",
|
|
232
|
-
"type": "discrete"
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
"name": "update",
|
|
236
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-update",
|
|
237
|
-
"for": "@media",
|
|
238
|
-
"value": "none | slow | fast",
|
|
239
|
-
"type": "discrete",
|
|
240
|
-
"values": [
|
|
241
|
-
{
|
|
242
|
-
"name": "none",
|
|
243
|
-
"prose": "Once it has been rendered, the layout can no longer be updated. Example: documents printed on paper.",
|
|
244
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-update-none",
|
|
245
|
-
"type": "value",
|
|
246
|
-
"value": "none"
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
"name": "slow",
|
|
250
|
-
"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.",
|
|
251
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-update-slow",
|
|
252
|
-
"type": "value",
|
|
253
|
-
"value": "slow"
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
"name": "fast",
|
|
257
|
-
"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.",
|
|
258
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-update-fast",
|
|
259
|
-
"type": "value",
|
|
260
|
-
"value": "fast"
|
|
261
|
-
}
|
|
262
|
-
]
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
"name": "environment-blending",
|
|
266
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-environment-blending",
|
|
267
|
-
"for": "@media",
|
|
268
|
-
"value": "opaque | additive | subtractive",
|
|
269
|
-
"type": "discrete",
|
|
270
|
-
"values": [
|
|
271
|
-
{
|
|
272
|
-
"name": "opaque",
|
|
273
|
-
"prose": "The document is rendered on an opaque medium, such as a traditional monitor or paper. Black is dark and white is 100% light.",
|
|
274
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-environment-blending-opaque",
|
|
275
|
-
"type": "value",
|
|
276
|
-
"value": "opaque"
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
"name": "additive",
|
|
280
|
-
"prose": "The display blends the colors of the canvas with the real world using additive mixing. Black is fully transparent and white is 100% light. For example: a head-up display in a car.",
|
|
281
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-environment-blending-additive",
|
|
282
|
-
"type": "value",
|
|
283
|
-
"value": "additive"
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
"name": "subtractive",
|
|
287
|
-
"prose": "The display blends the colors of the canvas with the real world using subtractive mixing. White is fully transparent and dark colors have the most contrast. For example: an LCD display embedded in a bathroom mirror.",
|
|
288
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-environment-blending-subtractive",
|
|
289
|
-
"type": "value",
|
|
290
|
-
"value": "subtractive"
|
|
291
|
-
}
|
|
292
|
-
]
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
"name": "color",
|
|
296
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-color",
|
|
297
|
-
"for": "@media",
|
|
298
|
-
"value": "<integer>",
|
|
299
|
-
"type": "range"
|
|
300
|
-
},
|
|
301
|
-
{
|
|
302
|
-
"name": "color-index",
|
|
303
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-color-index",
|
|
304
|
-
"for": "@media",
|
|
305
|
-
"value": "<integer>",
|
|
306
|
-
"type": "range"
|
|
307
|
-
},
|
|
308
|
-
{
|
|
309
|
-
"name": "monochrome",
|
|
310
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-monochrome",
|
|
311
|
-
"for": "@media",
|
|
312
|
-
"value": "<integer>",
|
|
313
|
-
"type": "range"
|
|
314
|
-
},
|
|
315
|
-
{
|
|
316
|
-
"name": "color-gamut",
|
|
317
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-color-gamut",
|
|
318
|
-
"for": "@media",
|
|
319
|
-
"value": "srgb | p3 | rec2020",
|
|
320
|
-
"type": "discrete",
|
|
321
|
-
"values": [
|
|
322
|
-
{
|
|
323
|
-
"name": "srgb",
|
|
324
|
-
"prose": "The UA and output device can support approximately the sRGB gamut or more.",
|
|
325
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-color-gamut-srgb",
|
|
326
|
-
"type": "value",
|
|
327
|
-
"value": "srgb"
|
|
328
|
-
},
|
|
329
|
-
{
|
|
330
|
-
"name": "p3",
|
|
331
|
-
"prose": "The UA and output device can support approximately the gamut specified by the Display P3 [Display-P3] Color Space or more.",
|
|
332
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-color-gamut-p3",
|
|
333
|
-
"type": "value",
|
|
334
|
-
"value": "p3"
|
|
335
|
-
},
|
|
336
|
-
{
|
|
337
|
-
"name": "rec2020",
|
|
338
|
-
"prose": "The UA and output device can support approximately the gamut specified by the ITU-R Recommendation BT.2020 Color Space or more.",
|
|
339
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-color-gamut-rec2020",
|
|
340
|
-
"type": "value",
|
|
341
|
-
"value": "rec2020"
|
|
342
|
-
}
|
|
343
|
-
]
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
"name": "dynamic-range",
|
|
347
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-dynamic-range",
|
|
348
|
-
"for": "@media",
|
|
349
|
-
"value": "standard | high",
|
|
350
|
-
"type": "discrete",
|
|
351
|
-
"values": [
|
|
352
|
-
{
|
|
353
|
-
"name": "high",
|
|
354
|
-
"prose": "The user agent and the output device fulfill all of the following criteria: they support a high peak brightness they support a high contrast ratio the color depth is greater than 24 bit or 8 bit per color component of RGB",
|
|
355
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-dynamic-range-high",
|
|
356
|
-
"type": "value",
|
|
357
|
-
"value": "high"
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
"name": "standard",
|
|
361
|
-
"prose": "This value matches on any visual device, and not on devices lacking visual capabilities.",
|
|
362
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-dynamic-range-standard",
|
|
363
|
-
"type": "value",
|
|
364
|
-
"value": "standard"
|
|
365
|
-
}
|
|
366
|
-
]
|
|
367
|
-
},
|
|
368
|
-
{
|
|
369
|
-
"name": "inverted-colors",
|
|
370
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-inverted-colors",
|
|
371
|
-
"for": "@media",
|
|
372
|
-
"value": "none | inverted",
|
|
373
|
-
"type": "discrete",
|
|
374
|
-
"values": [
|
|
375
|
-
{
|
|
376
|
-
"name": "none",
|
|
377
|
-
"prose": "Colors are displayed normally.",
|
|
378
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-inverted-colors-none",
|
|
379
|
-
"type": "value",
|
|
380
|
-
"value": "none"
|
|
381
|
-
},
|
|
382
|
-
{
|
|
383
|
-
"name": "inverted",
|
|
384
|
-
"prose": "All pixels within the displayed area have been inverted. This value must not match if the user agent has done some kind of content aware inversion such as one that preserves the images.",
|
|
385
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-inverted-colors-inverted",
|
|
386
|
-
"type": "value",
|
|
387
|
-
"value": "inverted"
|
|
388
|
-
}
|
|
389
|
-
]
|
|
390
|
-
},
|
|
391
|
-
{
|
|
392
|
-
"name": "pointer",
|
|
393
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-pointer",
|
|
394
|
-
"for": "@media",
|
|
395
|
-
"value": "none | coarse | fine",
|
|
396
|
-
"type": "discrete",
|
|
397
|
-
"values": [
|
|
398
|
-
{
|
|
399
|
-
"name": "none",
|
|
400
|
-
"prose": "The primary input mechanism of the device does not include a pointing device.",
|
|
401
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-pointer-none",
|
|
402
|
-
"type": "value",
|
|
403
|
-
"value": "none"
|
|
404
|
-
},
|
|
405
|
-
{
|
|
406
|
-
"name": "coarse",
|
|
407
|
-
"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.)",
|
|
408
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-pointer-coarse",
|
|
409
|
-
"type": "value",
|
|
410
|
-
"value": "coarse"
|
|
411
|
-
},
|
|
412
|
-
{
|
|
413
|
-
"name": "fine",
|
|
414
|
-
"prose": "The primary input mechanism of the device includes an accurate pointing device. Examples include mice, touchpads, and drawing styluses.",
|
|
415
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-pointer-fine",
|
|
416
|
-
"type": "value",
|
|
417
|
-
"value": "fine"
|
|
418
|
-
}
|
|
419
|
-
]
|
|
420
|
-
},
|
|
421
|
-
{
|
|
422
|
-
"name": "hover",
|
|
423
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-hover",
|
|
424
|
-
"for": "@media",
|
|
425
|
-
"value": "none | hover",
|
|
426
|
-
"type": "discrete",
|
|
427
|
-
"values": [
|
|
428
|
-
{
|
|
429
|
-
"name": "none",
|
|
430
|
-
"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.",
|
|
431
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-hover-none",
|
|
432
|
-
"type": "value",
|
|
433
|
-
"value": "none"
|
|
434
|
-
},
|
|
435
|
-
{
|
|
436
|
-
"name": "hover",
|
|
437
|
-
"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.",
|
|
438
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-hover-hover",
|
|
439
|
-
"type": "value",
|
|
440
|
-
"value": "hover"
|
|
441
|
-
}
|
|
442
|
-
]
|
|
443
|
-
},
|
|
444
|
-
{
|
|
445
|
-
"name": "any-pointer",
|
|
446
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-any-pointer",
|
|
447
|
-
"for": "@media",
|
|
448
|
-
"value": "none | coarse | fine",
|
|
449
|
-
"type": "discrete"
|
|
450
|
-
},
|
|
451
|
-
{
|
|
452
|
-
"name": "any-hover",
|
|
453
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-any-hover",
|
|
454
|
-
"for": "@media",
|
|
455
|
-
"value": "none | hover",
|
|
456
|
-
"type": "discrete"
|
|
457
|
-
},
|
|
458
|
-
{
|
|
459
|
-
"name": "nav-controls",
|
|
460
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-nav-controls",
|
|
461
|
-
"for": "@media",
|
|
462
|
-
"value": "none | back",
|
|
463
|
-
"type": "discrete",
|
|
464
|
-
"values": [
|
|
465
|
-
{
|
|
466
|
-
"name": "none",
|
|
467
|
-
"prose": "The user agent does not have any obviously discoverable navigation controls, and in particular none that cause the user agent to move back one page in the joint session history.",
|
|
468
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-nav-controls-none",
|
|
469
|
-
"type": "value",
|
|
470
|
-
"value": "none"
|
|
471
|
-
},
|
|
472
|
-
{
|
|
473
|
-
"name": "back",
|
|
474
|
-
"prose": "The user agent provides navigation controls, including at least an obviously discoverable control causing the user agent to move back one page in the joint session history (typically, a “back” button).",
|
|
475
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-nav-controls-back",
|
|
476
|
-
"type": "value",
|
|
477
|
-
"value": "back"
|
|
478
|
-
}
|
|
479
|
-
]
|
|
480
|
-
},
|
|
481
|
-
{
|
|
482
|
-
"name": "video-color-gamut",
|
|
483
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-video-color-gamut",
|
|
484
|
-
"for": "@media",
|
|
485
|
-
"value": "srgb | p3 | rec2020",
|
|
486
|
-
"type": "discrete"
|
|
487
|
-
},
|
|
488
|
-
{
|
|
489
|
-
"name": "video-dynamic-range",
|
|
490
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-video-dynamic-range",
|
|
491
|
-
"for": "@media",
|
|
492
|
-
"value": "standard | high",
|
|
493
|
-
"type": "discrete"
|
|
494
|
-
},
|
|
495
|
-
{
|
|
496
|
-
"name": "scripting",
|
|
497
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-scripting",
|
|
498
|
-
"for": "@media",
|
|
499
|
-
"value": "none | initial-only | enabled",
|
|
500
|
-
"type": "discrete",
|
|
501
|
-
"values": [
|
|
502
|
-
{
|
|
503
|
-
"name": "enabled",
|
|
504
|
-
"prose": "Indicates that the user agent supports scripting of the page, and that scripting in the current document is enabled for the lifetime of the document.",
|
|
505
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-scripting-enabled",
|
|
506
|
-
"type": "value",
|
|
507
|
-
"value": "enabled"
|
|
508
|
-
},
|
|
509
|
-
{
|
|
510
|
-
"name": "initial-only",
|
|
511
|
-
"prose": "Indicates that the user agent supports scripting of the page, and that scripting in the current document is enabled during the initial page load, but is not supported afterwards. Examples are printed pages, or pre-rendering network proxies that render a page on a server and send a nearly-static version of the page to the user. Should there be an explicit minimum threshold to meet before a UA is allowed to claim initial-only? Having one would mean authors would know what they can depend on, and could tailor their scripts accordingly. On the other hand, pinpointing that threshold is difficult: if it is set too low, the scripting facilities that authors can depend on may be to constrained to be practical, even though actual UAs may potentially all support significantly more. But trying to set it higher may cause us to exclude UAs that do support scripting at loading time, but restrict it in some cases based on complex heuristics. For instance, conservative definitions likely include at least running all inline scripts and firing the DOMContentLoaded event. But it does not seem useful for authors to constrain themselves to this if most (or maybe all) initial-only UAs also load external scripts (including async and defer) and fire the load event. On the other hand, requiring external scripts to be loaded and the load event to be fired could exclude UAs like Opera mini, which typically do run them, but may decide not to based on timeouts and other heuristics. [Issue #503]",
|
|
512
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-scripting-initial-only",
|
|
513
|
-
"type": "value",
|
|
514
|
-
"value": "initial-only"
|
|
515
|
-
},
|
|
516
|
-
{
|
|
517
|
-
"name": "none",
|
|
518
|
-
"prose": "Indicates that the user agent will not run scripts for this document; either it doesn’t support a scripting language, or the support isn’t active for the current document.",
|
|
519
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-scripting-none",
|
|
520
|
-
"type": "value",
|
|
521
|
-
"value": "none"
|
|
522
|
-
}
|
|
523
|
-
]
|
|
524
|
-
},
|
|
525
|
-
{
|
|
526
|
-
"name": "prefers-reduced-motion",
|
|
527
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-prefers-reduced-motion",
|
|
528
|
-
"for": "@media",
|
|
529
|
-
"value": "no-preference | reduce",
|
|
530
|
-
"type": "discrete",
|
|
531
|
-
"values": [
|
|
532
|
-
{
|
|
533
|
-
"name": "no-preference",
|
|
534
|
-
"prose": "Indicates that the user has made no preference known to the system. This keyword value evaluates as false in the boolean context.",
|
|
535
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-prefers-reduced-motion-no-preference",
|
|
536
|
-
"type": "value",
|
|
537
|
-
"value": "no-preference"
|
|
538
|
-
},
|
|
539
|
-
{
|
|
540
|
-
"name": "reduce",
|
|
541
|
-
"prose": "Indicates that user has notified the system that they prefer an interface that removes or replaces the types of motion-based animation that either trigger discomfort for those with vestibular motion sensitivity, or distraction for those with attention deficits.",
|
|
542
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-prefers-reduced-motion-reduce",
|
|
543
|
-
"type": "value",
|
|
544
|
-
"value": "reduce"
|
|
545
|
-
}
|
|
546
|
-
]
|
|
547
|
-
},
|
|
548
|
-
{
|
|
549
|
-
"name": "prefers-reduced-transparency",
|
|
550
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-prefers-reduced-transparency",
|
|
551
|
-
"for": "@media",
|
|
552
|
-
"value": "no-preference | reduce",
|
|
553
|
-
"type": "discrete",
|
|
554
|
-
"values": [
|
|
555
|
-
{
|
|
556
|
-
"name": "no-preference",
|
|
557
|
-
"prose": "Indicates that the user has made no preference known to the system. This keyword value evaluates as false in the boolean context.",
|
|
558
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-prefers-reduced-transparency-no-preference",
|
|
559
|
-
"type": "value",
|
|
560
|
-
"value": "no-preference"
|
|
561
|
-
},
|
|
562
|
-
{
|
|
563
|
-
"name": "reduce",
|
|
564
|
-
"prose": "Indicates that user has notified the system that they prefer an interface that minimizes the amount of transparent or translucent layer effects.",
|
|
565
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-prefers-reduced-transparency-reduce",
|
|
566
|
-
"type": "value",
|
|
567
|
-
"value": "reduce"
|
|
568
|
-
}
|
|
569
|
-
]
|
|
570
|
-
},
|
|
571
|
-
{
|
|
572
|
-
"name": "prefers-contrast",
|
|
573
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-prefers-contrast",
|
|
574
|
-
"for": "@media",
|
|
575
|
-
"value": "no-preference | less | more | custom",
|
|
576
|
-
"type": "discrete",
|
|
577
|
-
"values": [
|
|
578
|
-
{
|
|
579
|
-
"name": "no-preference",
|
|
580
|
-
"prose": "Indicates that the user has made no preference known to the system. This keyword value evaluates as false in the boolean context.",
|
|
581
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-prefers-contrast-no-preference",
|
|
582
|
-
"type": "value",
|
|
583
|
-
"value": "no-preference"
|
|
584
|
-
},
|
|
585
|
-
{
|
|
586
|
-
"name": "less",
|
|
587
|
-
"prose": "Indicates that user has notified the system that they prefer an interface that has a lower level of contrast.",
|
|
588
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-prefers-contrast-less",
|
|
589
|
-
"type": "value",
|
|
590
|
-
"value": "less"
|
|
591
|
-
},
|
|
592
|
-
{
|
|
593
|
-
"name": "more",
|
|
594
|
-
"prose": "Indicates that user has notified the system that they prefer an interface that has a higher level of contrast.",
|
|
595
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-prefers-contrast-more",
|
|
596
|
-
"type": "value",
|
|
597
|
-
"value": "more"
|
|
598
|
-
},
|
|
599
|
-
{
|
|
600
|
-
"name": "custom",
|
|
601
|
-
"prose": "Indicates that the user has indicated wanting a specific set of colors to be used, but the contrast implied by these particular colors is such that neither more nor less match. A user calling for cyan text over a rust background is not—at least in terms of luminosity—expressing a need for particularly high or low contrast, but this is not a lack of a preference either.",
|
|
602
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-prefers-contrast-custom",
|
|
603
|
-
"type": "value",
|
|
604
|
-
"value": "custom"
|
|
605
|
-
}
|
|
606
|
-
]
|
|
607
|
-
},
|
|
608
|
-
{
|
|
609
|
-
"name": "forced-colors",
|
|
610
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-forced-colors",
|
|
611
|
-
"for": "@media",
|
|
612
|
-
"value": "none | active",
|
|
613
|
-
"type": "discrete",
|
|
614
|
-
"values": [
|
|
615
|
-
{
|
|
616
|
-
"name": "active",
|
|
617
|
-
"prose": "Indicates that forced colors mode is active: the user agent enforces a user-chosen limited color palette on the page, The UA will provide the color palette to authors through the CSS system color keywords. See CSS Color Adjustment 1 § 3 Forced Color Palettes for details. This does not necessarily indicate a preference for more contrast. The colors have been forcibly adjusted to match the preference of the user, but that preference can be for less or more contrast, or some other arrangement that is neither particularly low or high contrast. In addition to forced-colors: active, the user agent must also match one of prefers-contrast: more or prefers-contrast: less if it can determine that the forced color palette chosen by the user has a particularly high or low contrast, and must make prefers-contrast: custom match otherwise. Similarly, if the forced color palette chosen by the user fits within one of the color schemes described by prefers-color-scheme, the corresponding value must also match.",
|
|
618
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-forced-colors-active",
|
|
619
|
-
"type": "value",
|
|
620
|
-
"value": "active"
|
|
621
|
-
},
|
|
622
|
-
{
|
|
623
|
-
"name": "none",
|
|
624
|
-
"prose": "Forced colors mode is not active.",
|
|
625
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-forced-colors-none",
|
|
626
|
-
"type": "value",
|
|
627
|
-
"value": "none"
|
|
628
|
-
}
|
|
629
|
-
]
|
|
630
|
-
},
|
|
631
|
-
{
|
|
632
|
-
"name": "prefers-color-scheme",
|
|
633
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-prefers-color-scheme",
|
|
634
|
-
"for": "@media",
|
|
635
|
-
"value": "light | dark",
|
|
636
|
-
"type": "discrete",
|
|
637
|
-
"values": [
|
|
638
|
-
{
|
|
639
|
-
"name": "light",
|
|
640
|
-
"prose": "Indicates that user has expressed the preference for a page that has a light theme (dark text on light background), or has not expressed an active preference (and thus should receive the \"web default\" of a light theme).",
|
|
641
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-prefers-color-scheme-light",
|
|
642
|
-
"type": "value",
|
|
643
|
-
"value": "light"
|
|
644
|
-
},
|
|
645
|
-
{
|
|
646
|
-
"name": "dark",
|
|
647
|
-
"prose": "Indicates that user has expressed the preference for a page that has a dark theme (light text on dark background).",
|
|
648
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-prefers-color-scheme-dark",
|
|
649
|
-
"type": "value",
|
|
650
|
-
"value": "dark"
|
|
651
|
-
}
|
|
652
|
-
]
|
|
653
|
-
},
|
|
654
|
-
{
|
|
655
|
-
"name": "prefers-reduced-data",
|
|
656
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-prefers-reduced-data",
|
|
657
|
-
"for": "@media",
|
|
658
|
-
"value": "no-preference | reduce",
|
|
659
|
-
"type": "discrete",
|
|
660
|
-
"values": [
|
|
661
|
-
{
|
|
662
|
-
"name": "no-preference",
|
|
663
|
-
"prose": "Indicates that the user has made no preference known to the system. This keyword value evaluates as false in the boolean context.",
|
|
664
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-prefers-reduced-data-no-preference",
|
|
665
|
-
"type": "value",
|
|
666
|
-
"value": "no-preference"
|
|
667
|
-
},
|
|
668
|
-
{
|
|
669
|
-
"name": "reduce",
|
|
670
|
-
"prose": "Indicates that user has expressed the preference for lightweight alternate content.",
|
|
671
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-prefers-reduced-data-reduce",
|
|
672
|
-
"type": "value",
|
|
673
|
-
"value": "reduce"
|
|
674
|
-
}
|
|
675
|
-
]
|
|
676
|
-
},
|
|
677
|
-
{
|
|
678
|
-
"name": "device-width",
|
|
679
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-device-width",
|
|
680
|
-
"for": "@media",
|
|
681
|
-
"value": "<length>",
|
|
682
|
-
"type": "range"
|
|
683
|
-
},
|
|
684
|
-
{
|
|
685
|
-
"name": "device-height",
|
|
686
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-device-height",
|
|
687
|
-
"for": "@media",
|
|
688
|
-
"value": "<length>",
|
|
689
|
-
"type": "range"
|
|
690
|
-
},
|
|
691
|
-
{
|
|
692
|
-
"name": "device-aspect-ratio",
|
|
693
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-device-aspect-ratio",
|
|
694
|
-
"for": "@media",
|
|
695
|
-
"value": "<ratio>",
|
|
696
|
-
"type": "range"
|
|
697
|
-
}
|
|
698
|
-
],
|
|
699
|
-
"values": [
|
|
700
|
-
{
|
|
701
|
-
"name": "not",
|
|
702
|
-
"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.",
|
|
703
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-not",
|
|
704
|
-
"type": "value",
|
|
705
|
-
"value": "not"
|
|
706
|
-
},
|
|
707
|
-
{
|
|
708
|
-
"name": "only",
|
|
709
|
-
"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.",
|
|
710
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-only",
|
|
711
|
-
"type": "value",
|
|
712
|
-
"value": "only"
|
|
713
|
-
},
|
|
714
|
-
{
|
|
715
|
-
"name": "all",
|
|
716
|
-
"prose": "Matches all devices.",
|
|
717
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-all",
|
|
718
|
-
"type": "value",
|
|
719
|
-
"value": "all"
|
|
720
|
-
},
|
|
721
|
-
{
|
|
722
|
-
"name": "print",
|
|
723
|
-
"prose": "Matches printers, and devices intended to reproduce a printed display, such as a web browser showing a document in “Print Preview”.",
|
|
724
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-print",
|
|
725
|
-
"type": "value",
|
|
726
|
-
"value": "print"
|
|
727
|
-
},
|
|
728
|
-
{
|
|
729
|
-
"name": "screen",
|
|
730
|
-
"prose": "Matches all devices that aren’t matched by print.",
|
|
731
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-screen",
|
|
732
|
-
"type": "value",
|
|
733
|
-
"value": "screen"
|
|
734
|
-
},
|
|
735
|
-
{
|
|
736
|
-
"name": "tty",
|
|
737
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-tty",
|
|
738
|
-
"type": "value",
|
|
739
|
-
"value": "tty"
|
|
740
|
-
},
|
|
741
|
-
{
|
|
742
|
-
"name": "tv",
|
|
743
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-tv",
|
|
744
|
-
"type": "value",
|
|
745
|
-
"value": "tv"
|
|
746
|
-
},
|
|
747
|
-
{
|
|
748
|
-
"name": "projection",
|
|
749
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-projection",
|
|
750
|
-
"type": "value",
|
|
751
|
-
"value": "projection"
|
|
752
|
-
},
|
|
753
|
-
{
|
|
754
|
-
"name": "handheld",
|
|
755
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-handheld",
|
|
756
|
-
"type": "value",
|
|
757
|
-
"value": "handheld"
|
|
758
|
-
},
|
|
759
|
-
{
|
|
760
|
-
"name": "braille",
|
|
761
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-braille",
|
|
762
|
-
"type": "value",
|
|
763
|
-
"value": "braille"
|
|
764
|
-
},
|
|
765
|
-
{
|
|
766
|
-
"name": "embossed",
|
|
767
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-embossed",
|
|
768
|
-
"type": "value",
|
|
769
|
-
"value": "embossed"
|
|
770
|
-
},
|
|
771
|
-
{
|
|
772
|
-
"name": "aural",
|
|
773
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-aural",
|
|
774
|
-
"type": "value",
|
|
775
|
-
"value": "aural"
|
|
776
|
-
},
|
|
777
|
-
{
|
|
778
|
-
"name": "speech",
|
|
779
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-speech",
|
|
780
|
-
"type": "value",
|
|
781
|
-
"value": "speech"
|
|
782
|
-
}
|
|
783
|
-
]
|
|
784
|
-
}
|
|
785
|
-
],
|
|
786
|
-
"selectors": [],
|
|
787
|
-
"values": [
|
|
788
|
-
{
|
|
789
|
-
"name": "<media-query-list>",
|
|
790
|
-
"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.",
|
|
791
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#typedef-media-query-list",
|
|
792
|
-
"type": "type"
|
|
793
|
-
},
|
|
794
|
-
{
|
|
795
|
-
"name": "<media-query>",
|
|
796
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#typedef-media-query",
|
|
797
|
-
"type": "type",
|
|
798
|
-
"value": "<media-condition> | [ not | only ]? <media-type> [ and <media-condition-without-or> ]?"
|
|
799
|
-
},
|
|
800
|
-
{
|
|
801
|
-
"name": "<media-type>",
|
|
802
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#typedef-media-type",
|
|
803
|
-
"type": "type",
|
|
804
|
-
"value": "<ident>"
|
|
805
|
-
},
|
|
806
|
-
{
|
|
807
|
-
"name": "<media-condition>",
|
|
808
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#typedef-media-condition",
|
|
809
|
-
"type": "type",
|
|
810
|
-
"value": "<media-not> | <media-in-parens> [ <media-and>* | <media-or>* ]"
|
|
811
|
-
},
|
|
812
|
-
{
|
|
813
|
-
"name": "<media-condition-without-or>",
|
|
814
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#typedef-media-condition-without-or",
|
|
815
|
-
"type": "type",
|
|
816
|
-
"value": "<media-not> | <media-in-parens> <media-and>*"
|
|
817
|
-
},
|
|
818
|
-
{
|
|
819
|
-
"name": "<media-not>",
|
|
820
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#typedef-media-not",
|
|
821
|
-
"type": "type",
|
|
822
|
-
"value": "not <media-in-parens>"
|
|
823
|
-
},
|
|
824
|
-
{
|
|
825
|
-
"name": "<media-and>",
|
|
826
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#typedef-media-and",
|
|
827
|
-
"type": "type",
|
|
828
|
-
"value": "and <media-in-parens>"
|
|
829
|
-
},
|
|
830
|
-
{
|
|
831
|
-
"name": "<media-or>",
|
|
832
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#typedef-media-or",
|
|
833
|
-
"type": "type",
|
|
834
|
-
"value": "or <media-in-parens>"
|
|
835
|
-
},
|
|
836
|
-
{
|
|
837
|
-
"name": "<media-in-parens>",
|
|
838
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#typedef-media-in-parens",
|
|
839
|
-
"type": "type",
|
|
840
|
-
"value": "( <media-condition> ) | <media-feature> | <general-enclosed>"
|
|
841
|
-
},
|
|
842
|
-
{
|
|
843
|
-
"name": "<media-feature>",
|
|
844
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#typedef-media-feature",
|
|
845
|
-
"type": "type",
|
|
846
|
-
"value": "( [ <mf-plain> | <mf-boolean> | <mf-range> ] )"
|
|
847
|
-
},
|
|
848
|
-
{
|
|
849
|
-
"name": "<mf-plain>",
|
|
850
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#typedef-mf-plain",
|
|
851
|
-
"type": "type",
|
|
852
|
-
"value": "<mf-name> : <mf-value>"
|
|
853
|
-
},
|
|
854
|
-
{
|
|
855
|
-
"name": "<mf-boolean>",
|
|
856
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#typedef-mf-boolean",
|
|
857
|
-
"type": "type",
|
|
858
|
-
"value": "<mf-name>"
|
|
859
|
-
},
|
|
860
|
-
{
|
|
861
|
-
"name": "<mf-range>",
|
|
862
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#typedef-mf-range",
|
|
863
|
-
"type": "type",
|
|
864
|
-
"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>"
|
|
865
|
-
},
|
|
866
|
-
{
|
|
867
|
-
"name": "<mf-name>",
|
|
868
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#typedef-mf-name",
|
|
869
|
-
"type": "type",
|
|
870
|
-
"value": "<ident>"
|
|
871
|
-
},
|
|
872
|
-
{
|
|
873
|
-
"name": "<mf-value>",
|
|
874
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#typedef-mf-value",
|
|
875
|
-
"type": "type",
|
|
876
|
-
"value": "<number> | <dimension> | <ident> | <ratio>"
|
|
877
|
-
},
|
|
878
|
-
{
|
|
879
|
-
"name": "<mf-lt>",
|
|
880
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#typedef-mf-lt",
|
|
881
|
-
"type": "type",
|
|
882
|
-
"value": "'<' '='?"
|
|
883
|
-
},
|
|
884
|
-
{
|
|
885
|
-
"name": "<mf-gt>",
|
|
886
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#typedef-mf-gt",
|
|
887
|
-
"type": "type",
|
|
888
|
-
"value": "'>' '='?"
|
|
889
|
-
},
|
|
890
|
-
{
|
|
891
|
-
"name": "<mf-eq>",
|
|
892
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#typedef-mf-eq",
|
|
893
|
-
"type": "type",
|
|
894
|
-
"value": "'='"
|
|
895
|
-
},
|
|
896
|
-
{
|
|
897
|
-
"name": "<mf-comparison>",
|
|
898
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#typedef-mf-comparison",
|
|
899
|
-
"type": "type",
|
|
900
|
-
"value": "<mf-lt> | <mf-gt> | <mf-eq>"
|
|
901
|
-
},
|
|
902
|
-
{
|
|
903
|
-
"name": "<general-enclosed>",
|
|
904
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#typedef-general-enclosed",
|
|
905
|
-
"type": "type",
|
|
906
|
-
"value": "[ <function-token> <any-value>? ) ] | [ ( <any-value>? ) ]"
|
|
907
|
-
},
|
|
908
|
-
{
|
|
909
|
-
"name": "<mq-boolean>",
|
|
910
|
-
"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.",
|
|
911
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#typedef-mq-boolean",
|
|
912
|
-
"type": "type"
|
|
913
|
-
}
|
|
914
|
-
]
|
|
915
|
-
}
|