forked from remy/html5demos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
demos.json
296 lines (296 loc) · 6.98 KB
/
demos.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
[
{
"desc": "Stream video and filter with canvas",
"url": "gum-canvas",
"tags": "getUserMedia canvas",
"support": {
"live": "opera chrome",
"nightly": "firefox"
},
"test": "navigator.getUserMedia !== undefined"
},
{
"desc": "Stream video to the browser<br><small>Also works on Opera Mobile 12</small>",
"url": "gum",
"tags": "getUserMedia",
"support": {
"live": "opera chrome",
"nightly": "firefox"
},
"test": "navigator.getUserMedia !== undefined"
},
{
"desc": "Drag and drop and XHR upload",
"url": "dnd-upload",
"tags": "file dnd xhr2",
"support": {
"live": "chrome firefox opera safari",
"nightly": "ie"
},
"test": "typeof FileReader != 'undefined' && 'draggable' in document.createElement('span') && !!window.FormData && 'upload' in new XMLHttpRequest"
},
{
"desc": "Hidden property",
"url": "hidden",
"tags": "hidden",
"support": {
"live": "chrome firefox opera safari",
"nightly": ""
},
"test": "'hidden' in document.createElement('i')"
},
{
"desc": "Simple class manipulation",
"url": "classlist",
"tags": "classlist",
"support": {
"live": "chrome opera firefox safari",
"nightly": ""
},
"test": "'classList' in document.createElement('i')"
},
{
"desc": "Storage events",
"url": "storage-events",
"tags": "storage",
"support": {
"live": "chrome safari opera firefox ie"
},
"test": "Modernizr.localstorage"
},
{
"desc": "dataset (data-* attributes)",
"url": "dataset",
"tags": "dataset",
"support": {
"live": "chrome opera safari firefox",
"nightly": ""
},
"test": "'dataset' in document.createElement('i')"
},
{
"desc": "History API using pushState",
"url": "history",
"notes": "Uses onpopstate event",
"tags": "history",
"support": {
"live": "chrome safari firefox opera"
},
"test": "Modernizr.history"
},
{
"desc": "Browser based file reading",
"url": "file-api-simple",
"note": "Not part of HTML5",
"tags": "file-api",
"support": {
"live": "firefox chrome opera safari"
},
"test": "typeof FileReader != 'undefined'"
},
{
"desc": "Drag files directly into your browser",
"url": "file-api",
"note": "Not directly part of HTML5",
"tags": "file-api dnd",
"support": {
"live": "firefox chrome opera safari"
},
"test": "typeof FileReader != 'undefined' && Modernizr.draganddrop"
},
{
"desc": "Simple chat client",
"url": "web-socket",
"tags": "websocket",
"support": {
"live": "safari chrome opera",
"nightly": "firefox"
},
"test": "Modernizr.websockets"
},
{
"desc": "Two videos playing in sync",
"url": "two-videos",
"tags": "video",
"support": {
"live": "firefox opera safari chrome ie"
},
"test": "Modernizr.video"
},
{
"desc": "Interactive canvas gradients",
"url": "canvas-grad",
"tags": "canvas",
"support": {
"live": "firefox opera safari chrome ie"
},
"test": "Modernizr.canvas"
},
{
"desc": "Canvas & Video",
"url": "video-canvas",
"tags": "video canvas",
"support": {
"live": "firefox opera safari chrome ie"
},
"test": "Modernizr.video && Modernizr.canvas"
},
{
"desc": "Video",
"url": "video",
"tags": "video",
"support": {
"live": "firefox opera safari chrome ie"
},
"test": "Modernizr.video"
},
{
"desc": "Canvas",
"url": "canvas",
"tags": "canvas",
"support": {
"live": "firefox opera safari chrome ie"
},
"test": "Modernizr.canvas"
},
{
"desc": "Content Editable",
"url": "contenteditable",
"tags": "contenteditable storage",
"support": {
"live": "ie firefox opera safari chrome"
},
"test": "'isContentEditable' in document.createElement('span');"
},
{
"desc": "Geolocation",
"url": "geo",
"tags": "geolocation",
"note": "Works on Safari Mobile too",
"support": {
"live": "firefox chrome safari opera ie"
},
"test": "Modernizr.geolocation"
},
{
"desc": "postMessage",
"url": "postmessage",
"note": "same domain",
"tags": "postMessage",
"support": {
"live": "ie firefox opera safari chrome"
},
"test": "Modernizr.postmessage"
},
{
"desc": "postMessage",
"url": "postmessage2",
"tags": "postMessage",
"note": "cross domain",
"support": {
"live": "ie firefox opera safari chrome"
},
"test": "Modernizr.postmessage"
},
{
"desc": "drag and drop",
"url": "drag",
"tags": "dnd",
"support": {
"live": "ie firefox safari chrome opera"
},
"test": "Modernizr.draganddrop"
},
{
"desc": "drag anything",
"url": "drag-anything",
"tags": "dnd",
"support": {
"live": "ie firefox safari chrome opera"
},
"test": "Modernizr.draganddrop"
},
{
"desc": "offline detection",
"url": "offline",
"tags": "offline events",
"note": "Works on Safari Mobile too",
"support": {
"live": "firefox opera chrome safari"
}
},
{
"desc": "navigator.onLine tests",
"url": "nav-online",
"tags": "offline",
"note": "Doesn't use events, only polls",
"support": {
"live": "firefox opera ie chrome safari"
}
},
{
"desc": "on/offline event tests",
"url": "offline-events",
"notes": "Opera & Firefox - requires \"Work Offline\"",
"tags": "offline events",
"support": {
"live": "firefox opera chrome safari"
}
},
{
"desc": "offline application using the manifest",
"url": "offlineapp",
"note": "FF 3.6 is still buggy - doesn't request manifest after initial load",
"tags": "offline manifest",
"support": {
"live": "firefox safari chrome opera"
},
"test": "Modernizr.applicationcache"
},
{
"desc": "Storage",
"url": "storage",
"tags": "storage",
"support": {
"live": "ie firefox opera safari chrome"
},
"test": "Modernizr.sessionstorage && Modernizr.localstorage"
},
{
"desc": "Web SQL Database Storage",
"url": "database",
"tags": "sql-database",
"support": {
"live": "safari chrome opera"
},
"test": "Modernizr.websqldatabase"
},
{
"desc": "Web SQL Database - rollback test",
"url": "database-rollback",
"tags": "sql-database",
"support": {
"live": "safari chrome opera"
},
"test": "Modernizr.websqldatabase"
},
{
"desc": "Web Workers",
"url": "worker",
"tags": "workers",
"note": "watch out - uses a lot of CPU! <a href=\"non-worker\">example without - will hang your browser</a>",
"support": {
"live": "safari chrome firefox opera"
},
"test": "Modernizr.webworkers"
},
{
"desc": "SVG clock animation",
"url": "svg-clock",
"tags": "svg",
"note": "SVG inline clock with animation.",
"support": {
"live": "ie firefox opera safari chrome"
}
}
]