customizr 2.0.3 → 2.0.4
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/.github/workflows/testing.yml +29 -0
- package/README.md +1 -2
- package/build/modernizr-custom.js +6 -0
- package/build/modernizr-exclude.js +10723 -0
- package/build/modernizr-package.js +6 -0
- package/build/modernizr-prefixed.js +1554 -0
- package/build/modernizr-select.js +1745 -0
- package/cache/options.json +323 -0
- package/package.json +5 -5
- package/test/css/vanilla.css +195 -185
- package/test/js/amd.js +13 -1
- package/test/js/vanilla.js +13 -1
- package/test/tests.js +1 -1
package/test/css/vanilla.css
CHANGED
|
@@ -5,52 +5,54 @@
|
|
|
5
5
|
.blobconstructor,
|
|
6
6
|
.no-canvas,
|
|
7
7
|
.canvastext,
|
|
8
|
-
.no-
|
|
9
|
-
.
|
|
10
|
-
.no-
|
|
11
|
-
.
|
|
12
|
-
.no-
|
|
13
|
-
.
|
|
14
|
-
.no-
|
|
15
|
-
.
|
|
16
|
-
.no-
|
|
17
|
-
.
|
|
18
|
-
.no-
|
|
19
|
-
.
|
|
20
|
-
.no-
|
|
21
|
-
.
|
|
22
|
-
.no-
|
|
23
|
-
.
|
|
24
|
-
.no-
|
|
25
|
-
.
|
|
26
|
-
.no-
|
|
27
|
-
.
|
|
28
|
-
.no-
|
|
29
|
-
.
|
|
30
|
-
.no-
|
|
31
|
-
.
|
|
32
|
-
.no-
|
|
33
|
-
.
|
|
34
|
-
.no-
|
|
35
|
-
.
|
|
36
|
-
.no-
|
|
37
|
-
.
|
|
38
|
-
.no-
|
|
39
|
-
.
|
|
40
|
-
.no-
|
|
41
|
-
.
|
|
42
|
-
.no-
|
|
43
|
-
.
|
|
44
|
-
.no-
|
|
45
|
-
.
|
|
46
|
-
.no-
|
|
47
|
-
.
|
|
48
|
-
.no-
|
|
49
|
-
.
|
|
50
|
-
.no-
|
|
51
|
-
.
|
|
52
|
-
.no-
|
|
53
|
-
.
|
|
8
|
+
.no-clipboard,
|
|
9
|
+
.contenteditable,
|
|
10
|
+
.no-contextmenu,
|
|
11
|
+
.cookies,
|
|
12
|
+
.no-cors,
|
|
13
|
+
.cryptography,
|
|
14
|
+
.no-customelements,
|
|
15
|
+
.customprotocolhandler,
|
|
16
|
+
.no-customevent,
|
|
17
|
+
.dart,
|
|
18
|
+
.no-dataview,
|
|
19
|
+
.emoji,
|
|
20
|
+
.no-eventlistener,
|
|
21
|
+
.exiforientation,
|
|
22
|
+
.no-flash,
|
|
23
|
+
.forcetouch,
|
|
24
|
+
.no-fullscreen,
|
|
25
|
+
.gamepads,
|
|
26
|
+
.no-geolocation,
|
|
27
|
+
.hashchange,
|
|
28
|
+
.no-hiddenscroll,
|
|
29
|
+
.history,
|
|
30
|
+
.no-htmlimports,
|
|
31
|
+
.ie8compat,
|
|
32
|
+
.no-indexeddb,
|
|
33
|
+
.indexeddbblob,
|
|
34
|
+
.no-input,
|
|
35
|
+
.inputsearchevent,
|
|
36
|
+
.no-inputtypes,
|
|
37
|
+
.intl,
|
|
38
|
+
.no-json,
|
|
39
|
+
.ligatures,
|
|
40
|
+
.no-olreversed,
|
|
41
|
+
.mathml,
|
|
42
|
+
.no-mediasource,
|
|
43
|
+
.messagechannel,
|
|
44
|
+
.no-notification,
|
|
45
|
+
.pagevisibility,
|
|
46
|
+
.no-performance,
|
|
47
|
+
.pointerevents,
|
|
48
|
+
.no-pointerlock,
|
|
49
|
+
.postmessage,
|
|
50
|
+
.no-proximity,
|
|
51
|
+
.proxy,
|
|
52
|
+
.no-queryselector,
|
|
53
|
+
.quotamanagement,
|
|
54
|
+
.no-requestanimationframe,
|
|
55
|
+
.scrolltooptions,
|
|
54
56
|
.no-serviceworker,
|
|
55
57
|
.svg,
|
|
56
58
|
.no-templatestrings,
|
|
@@ -68,6 +70,8 @@
|
|
|
68
70
|
.no-webgl,
|
|
69
71
|
.websockets,
|
|
70
72
|
.no-xdomainrequest,
|
|
73
|
+
.aping,
|
|
74
|
+
.no-areaping,
|
|
71
75
|
.adownload,
|
|
72
76
|
.no-audioautoplay,
|
|
73
77
|
.audioloop,
|
|
@@ -112,122 +116,124 @@
|
|
|
112
116
|
.no-flexboxtweener,
|
|
113
117
|
.flexgap,
|
|
114
118
|
.no-flexwrap,
|
|
115
|
-
.
|
|
116
|
-
.no-
|
|
117
|
-
.
|
|
118
|
-
.no-
|
|
119
|
-
.
|
|
120
|
-
.no-
|
|
121
|
-
.
|
|
122
|
-
.no-
|
|
123
|
-
.
|
|
124
|
-
.no-
|
|
125
|
-
.
|
|
126
|
-
.no-
|
|
127
|
-
.
|
|
128
|
-
.no-
|
|
129
|
-
.
|
|
130
|
-
.no-
|
|
131
|
-
.
|
|
132
|
-
.no-
|
|
133
|
-
.
|
|
134
|
-
.no-
|
|
135
|
-
.
|
|
136
|
-
.no-
|
|
137
|
-
.
|
|
138
|
-
.no-
|
|
139
|
-
.
|
|
140
|
-
.no-
|
|
141
|
-
.
|
|
142
|
-
.no-
|
|
143
|
-
.
|
|
144
|
-
.no-
|
|
145
|
-
.
|
|
146
|
-
.no-
|
|
147
|
-
.
|
|
148
|
-
.no-
|
|
149
|
-
.
|
|
150
|
-
.no-
|
|
151
|
-
.
|
|
152
|
-
.no-
|
|
153
|
-
.
|
|
154
|
-
.no-
|
|
155
|
-
.
|
|
156
|
-
.no-
|
|
157
|
-
.
|
|
158
|
-
.no-
|
|
159
|
-
.
|
|
160
|
-
.no-
|
|
161
|
-
.
|
|
162
|
-
.no-
|
|
163
|
-
.
|
|
164
|
-
.no-
|
|
165
|
-
.
|
|
166
|
-
.no-
|
|
167
|
-
.
|
|
168
|
-
.no-
|
|
169
|
-
.
|
|
170
|
-
.no-
|
|
171
|
-
.
|
|
172
|
-
.no-
|
|
173
|
-
.
|
|
174
|
-
.no-
|
|
175
|
-
.
|
|
176
|
-
.no-
|
|
177
|
-
.
|
|
178
|
-
.no-
|
|
179
|
-
.
|
|
180
|
-
.no-
|
|
181
|
-
.
|
|
182
|
-
.no-
|
|
183
|
-
.
|
|
184
|
-
.no-
|
|
185
|
-
.
|
|
186
|
-
.no-
|
|
187
|
-
.
|
|
188
|
-
.no-
|
|
189
|
-
.
|
|
190
|
-
.no-
|
|
191
|
-
.
|
|
192
|
-
.no-
|
|
193
|
-
.
|
|
194
|
-
.no-
|
|
195
|
-
.
|
|
196
|
-
.no-
|
|
197
|
-
.
|
|
198
|
-
.no-
|
|
199
|
-
.
|
|
200
|
-
.no-
|
|
201
|
-
.
|
|
202
|
-
.no-
|
|
203
|
-
.
|
|
204
|
-
.no-
|
|
205
|
-
.
|
|
206
|
-
.no-
|
|
207
|
-
.
|
|
208
|
-
.no-
|
|
209
|
-
.
|
|
210
|
-
.no-
|
|
211
|
-
.
|
|
212
|
-
.no-
|
|
213
|
-
.
|
|
214
|
-
.no-
|
|
215
|
-
.
|
|
216
|
-
.no-
|
|
217
|
-
.
|
|
218
|
-
.no-
|
|
219
|
-
.
|
|
220
|
-
.no-
|
|
221
|
-
.
|
|
222
|
-
.no-
|
|
223
|
-
.
|
|
224
|
-
.no-
|
|
225
|
-
.
|
|
226
|
-
.no-
|
|
227
|
-
.
|
|
228
|
-
.no-
|
|
229
|
-
.
|
|
230
|
-
.no-
|
|
119
|
+
.focusvisible,
|
|
120
|
+
.no-focuswithin,
|
|
121
|
+
.fontdisplay,
|
|
122
|
+
.no-fontface,
|
|
123
|
+
.generatedcontent,
|
|
124
|
+
.no-cssgradients,
|
|
125
|
+
.hairline,
|
|
126
|
+
.no-hsla,
|
|
127
|
+
.csshyphens, .softhyphens, .softhyphensfind,
|
|
128
|
+
.no-cssinvalid,
|
|
129
|
+
.lastchild,
|
|
130
|
+
.no-cssmask,
|
|
131
|
+
.mediaqueries,
|
|
132
|
+
.no-multiplebgs,
|
|
133
|
+
.nthchild,
|
|
134
|
+
.no-objectfit,
|
|
135
|
+
.opacity,
|
|
136
|
+
.no-overflowscrolling,
|
|
137
|
+
.csspointerevents,
|
|
138
|
+
.no-csspositionsticky,
|
|
139
|
+
.csspseudoanimations,
|
|
140
|
+
.no-csspseudotransitions,
|
|
141
|
+
.cssreflections,
|
|
142
|
+
.no-regions,
|
|
143
|
+
.cssremunit,
|
|
144
|
+
.no-cssresize,
|
|
145
|
+
.rgba,
|
|
146
|
+
.no-cssscrollbar,
|
|
147
|
+
.scrollsnappoints,
|
|
148
|
+
.no-shapes,
|
|
149
|
+
.siblinggeneral,
|
|
150
|
+
.no-subpixelfont,
|
|
151
|
+
.supports,
|
|
152
|
+
.no-target,
|
|
153
|
+
.textalignlast,
|
|
154
|
+
.no-textdecoration,
|
|
155
|
+
.textshadow,
|
|
156
|
+
.no-csstransforms,
|
|
157
|
+
.csstransforms3d,
|
|
158
|
+
.no-csstransformslevel2,
|
|
159
|
+
.preserve3d,
|
|
160
|
+
.no-csstransitions,
|
|
161
|
+
.userselect,
|
|
162
|
+
.no-cssvalid,
|
|
163
|
+
.variablefonts,
|
|
164
|
+
.no-cssvhunit,
|
|
165
|
+
.cssvmaxunit,
|
|
166
|
+
.no-cssvminunit,
|
|
167
|
+
.cssvwunit,
|
|
168
|
+
.no-willchange,
|
|
169
|
+
.wrapflow,
|
|
170
|
+
.no-classlist,
|
|
171
|
+
.createelementattrs, .createelement-attrs,
|
|
172
|
+
.no-dataset,
|
|
173
|
+
.documentfragment,
|
|
174
|
+
.no-hidden,
|
|
175
|
+
.intersectionobserver,
|
|
176
|
+
.no-microdata,
|
|
177
|
+
.mutationobserver,
|
|
178
|
+
.no-passiveeventlisteners,
|
|
179
|
+
.shadowroot,
|
|
180
|
+
.no-shadowrootlegacy,
|
|
181
|
+
.bdi,
|
|
182
|
+
.no-datalistelem,
|
|
183
|
+
.details,
|
|
184
|
+
.no-outputelem,
|
|
185
|
+
.picture,
|
|
186
|
+
.no-progressbar, .meter,
|
|
187
|
+
.ruby,
|
|
188
|
+
.no-template,
|
|
189
|
+
.time,
|
|
190
|
+
.no-texttrackapi, .track,
|
|
191
|
+
.unknownelements,
|
|
192
|
+
.no-es5array,
|
|
193
|
+
.es5date,
|
|
194
|
+
.no-es5function,
|
|
195
|
+
.es5object,
|
|
196
|
+
.no-es5,
|
|
197
|
+
.strictmode,
|
|
198
|
+
.no-es5string,
|
|
199
|
+
.es5syntax,
|
|
200
|
+
.no-es5undefined,
|
|
201
|
+
.es6array,
|
|
202
|
+
.no-arrow,
|
|
203
|
+
.es6class,
|
|
204
|
+
.no-es6collections,
|
|
205
|
+
.contains,
|
|
206
|
+
.no-generators,
|
|
207
|
+
.es6math,
|
|
208
|
+
.no-es6number,
|
|
209
|
+
.es6object,
|
|
210
|
+
.no-promises,
|
|
211
|
+
.restparameters,
|
|
212
|
+
.no-spreadarray,
|
|
213
|
+
.stringtemplate,
|
|
214
|
+
.no-es6string,
|
|
215
|
+
.es6symbol,
|
|
216
|
+
.no-es7array,
|
|
217
|
+
.restdestructuringarray, .restdestructuringobject,
|
|
218
|
+
.no-spreadobject,
|
|
219
|
+
.es8object,
|
|
220
|
+
.no-devicemotion, .deviceorientation,
|
|
221
|
+
.oninput,
|
|
222
|
+
.no-filereader,
|
|
223
|
+
.filesystem,
|
|
224
|
+
.no-capture,
|
|
225
|
+
.fileinput,
|
|
226
|
+
.no-directory,
|
|
227
|
+
.formattribute,
|
|
228
|
+
.no-localizednumber,
|
|
229
|
+
.placeholder,
|
|
230
|
+
.no-requestautocomplete,
|
|
231
|
+
.formvalidation,
|
|
232
|
+
.no-sandbox,
|
|
233
|
+
.seamless,
|
|
234
|
+
.no-srcdoc,
|
|
235
|
+
.apng,
|
|
236
|
+
.no-avif,
|
|
231
237
|
.imgcrossorigin,
|
|
232
238
|
.no-jpeg2000,
|
|
233
239
|
.jpegxr,
|
|
@@ -243,24 +249,26 @@
|
|
|
243
249
|
.inputformmethod,
|
|
244
250
|
.no-inputformnovalidate,
|
|
245
251
|
.inputformtarget,
|
|
246
|
-
.no-
|
|
247
|
-
.
|
|
248
|
-
.no-
|
|
249
|
-
.
|
|
250
|
-
.no-
|
|
251
|
-
.
|
|
252
|
-
.no-
|
|
253
|
-
.
|
|
254
|
-
.no-
|
|
255
|
-
.
|
|
256
|
-
.no-
|
|
257
|
-
.
|
|
258
|
-
.no-
|
|
259
|
-
.
|
|
260
|
-
.no-
|
|
261
|
-
.
|
|
262
|
-
.no-
|
|
263
|
-
.
|
|
252
|
+
.no-prefetch,
|
|
253
|
+
.hovermq,
|
|
254
|
+
.no-pointermq,
|
|
255
|
+
.beacon,
|
|
256
|
+
.no-connectioneffectivetype,
|
|
257
|
+
.lowbandwidth,
|
|
258
|
+
.no-eventsource,
|
|
259
|
+
.fetch,
|
|
260
|
+
.no-xhrresponsetypearraybuffer,
|
|
261
|
+
.xhrresponsetypeblob,
|
|
262
|
+
.no-xhrresponsetypedocument,
|
|
263
|
+
.xhrresponsetypejson,
|
|
264
|
+
.no-xhrresponsetypetext,
|
|
265
|
+
.xhrresponsetype,
|
|
266
|
+
.no-xhr2,
|
|
267
|
+
.scriptasync,
|
|
268
|
+
.no-scriptdefer,
|
|
269
|
+
.speechrecognition,
|
|
270
|
+
.no-speechsynthesis,
|
|
271
|
+
.indexeddb2,
|
|
264
272
|
.no-localstorage,
|
|
265
273
|
.sessionstorage,
|
|
266
274
|
.no-websqldatabase,
|
|
@@ -284,11 +292,13 @@
|
|
|
284
292
|
.no-webglextensions,
|
|
285
293
|
.datachannel,
|
|
286
294
|
.no-getusermedia,
|
|
287
|
-
.
|
|
288
|
-
.no-
|
|
289
|
-
.
|
|
290
|
-
.no-
|
|
291
|
-
.
|
|
295
|
+
.mediarecorder,
|
|
296
|
+
.no-peerconnection,
|
|
297
|
+
.websocketsbinary,
|
|
298
|
+
.no-atobbtoa,
|
|
299
|
+
.framed,
|
|
300
|
+
.no-matchmedia,
|
|
301
|
+
.resizeobserver,
|
|
292
302
|
.no-blobworkers,
|
|
293
303
|
.dataworkers,
|
|
294
304
|
.no-sharedworkers,
|
package/test/js/amd.js
CHANGED
|
@@ -11,6 +11,7 @@ define(["Modernizr"], function (M) {
|
|
|
11
11
|
"blob": M.blobconstructor,
|
|
12
12
|
"canvas": M.canvas,
|
|
13
13
|
"canvastext": M.canvastext,
|
|
14
|
+
"clipboard": M.clipboard,
|
|
14
15
|
"contenteditable": M.contenteditable,
|
|
15
16
|
"contextmenu": M.contextmenu,
|
|
16
17
|
"cookies": M.cookies,
|
|
@@ -57,6 +58,7 @@ define(["Modernizr"], function (M) {
|
|
|
57
58
|
"queryselector": M.queryselector,
|
|
58
59
|
"quota-management-api": M.quotamanagement,
|
|
59
60
|
"requestanimationframe": M.requestanimationframe,
|
|
61
|
+
"scrolltooptions": M.scrolltooptions,
|
|
60
62
|
"serviceworker": M.serviceworker,
|
|
61
63
|
"svg": M.svg,
|
|
62
64
|
"templatestrings": M.templatestrings,
|
|
@@ -79,6 +81,8 @@ define(["Modernizr"], function (M) {
|
|
|
79
81
|
"xdomainrequest": M.xdomainrequest
|
|
80
82
|
},
|
|
81
83
|
"a": {
|
|
84
|
+
"aping": M.aping,
|
|
85
|
+
"areaping": M.areaping,
|
|
82
86
|
"download": M.adownload
|
|
83
87
|
},
|
|
84
88
|
"audio": {
|
|
@@ -143,6 +147,7 @@ define(["Modernizr"], function (M) {
|
|
|
143
147
|
"flexboxtweener": M.flexboxtweener,
|
|
144
148
|
"flexgap": M.flexgap,
|
|
145
149
|
"flexwrap": M.flexwrap,
|
|
150
|
+
"focusvisible": M.focusvisible,
|
|
146
151
|
"focuswithin": M.focuswithin,
|
|
147
152
|
"fontdisplay": M.fontdisplay,
|
|
148
153
|
"fontface": M.fontface,
|
|
@@ -300,6 +305,7 @@ define(["Modernizr"], function (M) {
|
|
|
300
305
|
},
|
|
301
306
|
"img": {
|
|
302
307
|
"apng": M.apng,
|
|
308
|
+
"avif": M.avif,
|
|
303
309
|
"crossorigin": M.imgcrossorigin,
|
|
304
310
|
"jpeg2000": M.jpeg2000,
|
|
305
311
|
"jpegxr": M.jpegxr,
|
|
@@ -321,6 +327,9 @@ define(["Modernizr"], function (M) {
|
|
|
321
327
|
"formnovalidate": M.inputformnovalidate,
|
|
322
328
|
"formtarget": M.inputformtarget
|
|
323
329
|
},
|
|
330
|
+
"link": {
|
|
331
|
+
"prefetch": M.prefetch
|
|
332
|
+
},
|
|
324
333
|
"mediaquery": {
|
|
325
334
|
"hovermq": M.hovermq,
|
|
326
335
|
"pointermq": M.pointermq
|
|
@@ -348,6 +357,7 @@ define(["Modernizr"], function (M) {
|
|
|
348
357
|
"speech-synthesis": M.speechsynthesis
|
|
349
358
|
},
|
|
350
359
|
"storage": {
|
|
360
|
+
"indexeddb2": M.indexeddb2,
|
|
351
361
|
"localstorage": M.localstorage,
|
|
352
362
|
"sessionstorage": M.sessionstorage,
|
|
353
363
|
"websqldatabase": M.websqldatabase
|
|
@@ -387,6 +397,7 @@ define(["Modernizr"], function (M) {
|
|
|
387
397
|
"webrtc": {
|
|
388
398
|
"datachannel": M.datachannel,
|
|
389
399
|
"getusermedia": M.getusermedia,
|
|
400
|
+
"mediastream": M.mediarecorder,
|
|
390
401
|
"peerconnection": M.peerconnection
|
|
391
402
|
},
|
|
392
403
|
"websockets": {
|
|
@@ -395,7 +406,8 @@ define(["Modernizr"], function (M) {
|
|
|
395
406
|
"window": {
|
|
396
407
|
"atob-btoa": M.atobbtoa,
|
|
397
408
|
"framed": M.framed,
|
|
398
|
-
"matchmedia": M.matchmedia
|
|
409
|
+
"matchmedia": M.matchmedia,
|
|
410
|
+
"resizeobserver": M.resizeobserver
|
|
399
411
|
},
|
|
400
412
|
"workers": {
|
|
401
413
|
"blobworkers": M.blobworkers,
|
package/test/js/vanilla.js
CHANGED
|
@@ -9,6 +9,7 @@ var tests = {
|
|
|
9
9
|
"blob": Modernizr.blobconstructor,
|
|
10
10
|
"canvas": Modernizr.canvas,
|
|
11
11
|
"canvastext": Modernizr.canvastext,
|
|
12
|
+
"clipboard": Modernizr.clipboard,
|
|
12
13
|
"contenteditable": Modernizr.contenteditable,
|
|
13
14
|
"contextmenu": Modernizr.contextmenu,
|
|
14
15
|
"cookies": Modernizr.cookies,
|
|
@@ -55,6 +56,7 @@ var tests = {
|
|
|
55
56
|
"queryselector": Modernizr.queryselector,
|
|
56
57
|
"quota-management-api": Modernizr.quotamanagement,
|
|
57
58
|
"requestanimationframe": Modernizr.requestanimationframe,
|
|
59
|
+
"scrolltooptions": Modernizr.scrolltooptions,
|
|
58
60
|
"serviceworker": Modernizr.serviceworker,
|
|
59
61
|
"svg": Modernizr.svg,
|
|
60
62
|
"templatestrings": Modernizr.templatestrings,
|
|
@@ -77,6 +79,8 @@ var tests = {
|
|
|
77
79
|
"xdomainrequest": Modernizr.xdomainrequest
|
|
78
80
|
},
|
|
79
81
|
"a": {
|
|
82
|
+
"aping": Modernizr.aping,
|
|
83
|
+
"areaping": Modernizr.areaping,
|
|
80
84
|
"download": Modernizr.adownload
|
|
81
85
|
},
|
|
82
86
|
"audio": {
|
|
@@ -141,6 +145,7 @@ var tests = {
|
|
|
141
145
|
"flexboxtweener": Modernizr.flexboxtweener,
|
|
142
146
|
"flexgap": Modernizr.flexgap,
|
|
143
147
|
"flexwrap": Modernizr.flexwrap,
|
|
148
|
+
"focusvisible": Modernizr.focusvisible,
|
|
144
149
|
"focuswithin": Modernizr.focuswithin,
|
|
145
150
|
"fontdisplay": Modernizr.fontdisplay,
|
|
146
151
|
"fontface": Modernizr.fontface,
|
|
@@ -298,6 +303,7 @@ var tests = {
|
|
|
298
303
|
},
|
|
299
304
|
"img": {
|
|
300
305
|
"apng": Modernizr.apng,
|
|
306
|
+
"avif": Modernizr.avif,
|
|
301
307
|
"crossorigin": Modernizr.imgcrossorigin,
|
|
302
308
|
"jpeg2000": Modernizr.jpeg2000,
|
|
303
309
|
"jpegxr": Modernizr.jpegxr,
|
|
@@ -319,6 +325,9 @@ var tests = {
|
|
|
319
325
|
"formnovalidate": Modernizr.inputformnovalidate,
|
|
320
326
|
"formtarget": Modernizr.inputformtarget
|
|
321
327
|
},
|
|
328
|
+
"link": {
|
|
329
|
+
"prefetch": Modernizr.prefetch
|
|
330
|
+
},
|
|
322
331
|
"mediaquery": {
|
|
323
332
|
"hovermq": Modernizr.hovermq,
|
|
324
333
|
"pointermq": Modernizr.pointermq
|
|
@@ -346,6 +355,7 @@ var tests = {
|
|
|
346
355
|
"speech-synthesis": Modernizr.speechsynthesis
|
|
347
356
|
},
|
|
348
357
|
"storage": {
|
|
358
|
+
"indexeddb2": Modernizr.indexeddb2,
|
|
349
359
|
"localstorage": Modernizr.localstorage,
|
|
350
360
|
"sessionstorage": Modernizr.sessionstorage,
|
|
351
361
|
"websqldatabase": Modernizr.websqldatabase
|
|
@@ -385,6 +395,7 @@ var tests = {
|
|
|
385
395
|
"webrtc": {
|
|
386
396
|
"datachannel": Modernizr.datachannel,
|
|
387
397
|
"getusermedia": Modernizr.getusermedia,
|
|
398
|
+
"mediastream": Modernizr.mediarecorder,
|
|
388
399
|
"peerconnection": Modernizr.peerconnection
|
|
389
400
|
},
|
|
390
401
|
"websockets": {
|
|
@@ -393,7 +404,8 @@ var tests = {
|
|
|
393
404
|
"window": {
|
|
394
405
|
"atob-btoa": Modernizr.atobbtoa,
|
|
395
406
|
"framed": Modernizr.framed,
|
|
396
|
-
"matchmedia": Modernizr.matchmedia
|
|
407
|
+
"matchmedia": Modernizr.matchmedia,
|
|
408
|
+
"resizeobserver": Modernizr.resizeobserver
|
|
397
409
|
},
|
|
398
410
|
"workers": {
|
|
399
411
|
"blobworkers": Modernizr.blobworkers,
|
package/test/tests.js
CHANGED
|
@@ -11,7 +11,7 @@ var chai = require('chai');
|
|
|
11
11
|
var expect = chai.expect;
|
|
12
12
|
var nexpect = require("nexpect");
|
|
13
13
|
|
|
14
|
-
var tests = "adownload, ambientlight, apng, appearance, applicationcache, arrow, atobbtoa, audio, audioautoplay, audioloop, audiopreload, backdropfilter, backgroundblendmode, backgroundcliptext, backgroundsize, batteryapi, bdi, beacon, bgpositionshorthand, bgpositionxy, bgrepeatround, bgrepeatspace, bgsizecover, blobconstructor, bloburls, blobworkers, borderimage, borderradius, boxdecorationbreak, boxshadow, boxsizing, canvas, canvasblending, canvastext, canvaswinding, capture, checked, classlist, connectioneffectivetype, contains, contenteditable, contextmenu, cookies, cors, createelement-attrs, createelementattrs, cryptography, cssall, cssanimations, csscalc, csschunit, csscolumns, cssescape, cssexunit, cssfilters, cssgradients, cssgrid, cssgridlegacy, csshyphens, cssinvalid, cssmask, csspointerevents, csspositionsticky, csspseudoanimations, csspseudotransitions, cssreflections, cssremunit, cssresize, cssscrollbar, csstransforms, csstransforms3d, csstransformslevel2, csstransitions, cssvalid, cssvhunit, cssvmaxunit, cssvminunit, cssvwunit, cubicbezierrange, customelements, customevent, customproperties, customprotocolhandler, dart, datachannel, datalistelem, dataset, datauri, dataview, dataworkers, details, devicemotion, deviceorientation, directory, display-runin, displaytable, documentfragment, ellipsis, emoji, es5, es5array, es5date, es5function, es5object, es5string, es5syntax, es5undefined, es6array, es6class, es6collections, es6math, es6number, es6object, es6string, es6symbol, es7array, es8object, eventlistener, eventsource, exiforientation, fetch, fileinput, filereader, filesystem, flash, flexbox, flexboxlegacy, flexboxtweener, flexgap, flexwrap, focuswithin, fontdisplay, fontface, forcetouch, formattribute, formvalidation, framed, fullscreen, gamepads, generatedcontent, generators, geolocation, getrandomvalues, getusermedia, hairline, hashchange, hidden, hiddenscroll, history, hovermq, hsla, htmlimports, ie8compat, imgcrossorigin, indexeddb, indexeddbblob, inlinesvg, input, inputformaction, inputformenctype, inputformmethod, inputformnovalidate, inputformtarget, inputsearchevent, inputtypes, intersectionobserver, intl, jpeg2000, jpegxr, json, lastchild, lazyloading, ligatures, localizednumber, localstorage, lowbandwidth, lowbattery, matchmedia, mathml, mediaqueries, mediasource, messagechannel, meter, microdata, multiplebgs, mutationobserver, notification, nthchild, objectfit, olreversed, oninput, opacity, outputelem, overflowscrolling, pagevisibility, passiveeventlisteners, peerconnection, performance, picture, placeholder, pointerevents, pointerlock, pointermq, postmessage, preserve3d, progressbar, promises, proximity, proxy, publickeycredential, queryselector, quotamanagement, regions, requestanimationframe, requestautocomplete, restdestructuringarray, restdestructuringobject, restparameters, rgba, ruby, sandbox, scriptasync, scriptdefer, scrollsnappoints, seamless, serviceworker, sessionstorage, shadowroot, shadowrootlegacy, shapes, sharedworkers, siblinggeneral, sizes, smil, softhyphens, softhyphensfind, speechrecognition, speechsynthesis, spreadarray, spreadobject, srcdoc, srcset, strictmode, stringtemplate, stylescoped, subpixelfont, supports, svg, svgasimg, svgclippaths, svgfilters, svgforeignobject, target, template, templatestrings, textalignlast, textareamaxlength, textdecoder, textdecoration, textencoder, textshadow, texttrackapi, time, todataurljpeg, todataurlpng, todataurlwebp, touchevents, track, transferables, typedarrays, unicode, unicoderange, unknownelements, urlparser, urlsearchparams, userdata, userselect, variablefonts, vibrate, video, videoautoplay, videocrossorigin, videoloop, videopreload, vml, webanimations, webaudio, webgl, webglextensions, webintents, webp, webp-lossless, webpalpha, webpanimation, webplossless, websockets, websocketsbinary, websqldatabase, webworkers, willchange, wrapflow, xdomainrequest, xhr2, xhrresponsetype, xhrresponsetypearraybuffer, xhrresponsetypeblob, xhrresponsetypedocument, xhrresponsetypejson, xhrresponsetypetext";
|
|
14
|
+
var tests = "adownload, ambientlight, aping, apng, appearance, applicationcache, areaping, arrow, atobbtoa, audio, audioautoplay, audioloop, audiopreload, avif, backdropfilter, backgroundblendmode, backgroundcliptext, backgroundsize, batteryapi, bdi, beacon, bgpositionshorthand, bgpositionxy, bgrepeatround, bgrepeatspace, bgsizecover, blobconstructor, bloburls, blobworkers, borderimage, borderradius, boxdecorationbreak, boxshadow, boxsizing, canvas, canvasblending, canvastext, canvaswinding, capture, checked, classlist, clipboard, connectioneffectivetype, contains, contenteditable, contextmenu, cookies, cors, createelement-attrs, createelementattrs, cryptography, cssall, cssanimations, csscalc, csschunit, csscolumns, cssescape, cssexunit, cssfilters, cssgradients, cssgrid, cssgridlegacy, csshyphens, cssinvalid, cssmask, csspointerevents, csspositionsticky, csspseudoanimations, csspseudotransitions, cssreflections, cssremunit, cssresize, cssscrollbar, csstransforms, csstransforms3d, csstransformslevel2, csstransitions, cssvalid, cssvhunit, cssvmaxunit, cssvminunit, cssvwunit, cubicbezierrange, customelements, customevent, customproperties, customprotocolhandler, dart, datachannel, datalistelem, dataset, datauri, dataview, dataworkers, details, devicemotion, deviceorientation, directory, display-runin, displaytable, documentfragment, ellipsis, emoji, es5, es5array, es5date, es5function, es5object, es5string, es5syntax, es5undefined, es6array, es6class, es6collections, es6math, es6number, es6object, es6string, es6symbol, es7array, es8object, eventlistener, eventsource, exiforientation, fetch, fileinput, filereader, filesystem, flash, flexbox, flexboxlegacy, flexboxtweener, flexgap, flexwrap, focusvisible, focuswithin, fontdisplay, fontface, forcetouch, formattribute, formvalidation, framed, fullscreen, gamepads, generatedcontent, generators, geolocation, getrandomvalues, getusermedia, hairline, hashchange, hidden, hiddenscroll, history, hovermq, hsla, htmlimports, ie8compat, imgcrossorigin, indexeddb, indexeddb2, indexeddbblob, inlinesvg, input, inputformaction, inputformenctype, inputformmethod, inputformnovalidate, inputformtarget, inputsearchevent, inputtypes, intersectionobserver, intl, jpeg2000, jpegxr, json, lastchild, lazyloading, ligatures, localizednumber, localstorage, lowbandwidth, lowbattery, matchmedia, mathml, mediaqueries, mediarecorder, mediasource, messagechannel, meter, microdata, multiplebgs, mutationobserver, notification, nthchild, objectfit, olreversed, oninput, opacity, outputelem, overflowscrolling, pagevisibility, passiveeventlisteners, peerconnection, performance, picture, placeholder, pointerevents, pointerlock, pointermq, postmessage, prefetch, preserve3d, progressbar, promises, proximity, proxy, publickeycredential, queryselector, quotamanagement, regions, requestanimationframe, requestautocomplete, resizeobserver, restdestructuringarray, restdestructuringobject, restparameters, rgba, ruby, sandbox, scriptasync, scriptdefer, scrollsnappoints, scrolltooptions, seamless, serviceworker, sessionstorage, shadowroot, shadowrootlegacy, shapes, sharedworkers, siblinggeneral, sizes, smil, softhyphens, softhyphensfind, speechrecognition, speechsynthesis, spreadarray, spreadobject, srcdoc, srcset, strictmode, stringtemplate, stylescoped, subpixelfont, supports, svg, svgasimg, svgclippaths, svgfilters, svgforeignobject, target, template, templatestrings, textalignlast, textareamaxlength, textdecoder, textdecoration, textencoder, textshadow, texttrackapi, time, todataurljpeg, todataurlpng, todataurlwebp, touchevents, track, transferables, typedarrays, unicode, unicoderange, unknownelements, urlparser, urlsearchparams, userdata, userselect, variablefonts, vibrate, video, videoautoplay, videocrossorigin, videoloop, videopreload, vml, webanimations, webaudio, webgl, webglextensions, webintents, webp, webp-lossless, webpalpha, webpanimation, webplossless, websockets, websocketsbinary, websqldatabase, webworkers, willchange, wrapflow, xdomainrequest, xhr2, xhrresponsetype, xhrresponsetypearraybuffer, xhrresponsetypeblob, xhrresponsetypedocument, xhrresponsetypejson, xhrresponsetypetext";
|
|
15
15
|
var testArray = tests.split(", ");
|
|
16
16
|
|
|
17
17
|
var cli = path.join(cwd, "bin", "customizr");
|