2010-03-05 02:01:13 +01:00
|
|
|
[
|
2011-06-28 13:32:28 +02:00
|
|
|
{
|
|
|
|
"desc": "Simple class manipulation",
|
|
|
|
"url": "classlist",
|
|
|
|
"tags": "classlist",
|
|
|
|
"support": {
|
|
|
|
"live": "chrome opera firefox",
|
|
|
|
"nightly": "safari"
|
|
|
|
},
|
|
|
|
"test": "'classList' in document.createElement('i')"
|
|
|
|
},
|
2011-04-15 17:06:32 +02:00
|
|
|
{
|
|
|
|
"desc": "Storage events",
|
|
|
|
"url": "storage-events",
|
|
|
|
"tags": "storage",
|
|
|
|
"support": {
|
2011-06-28 13:46:32 +02:00
|
|
|
"live": "chrome safari opera firefox ie"
|
2011-04-18 12:20:47 +02:00
|
|
|
},
|
|
|
|
"test": "Modernizr.localstorage"
|
2011-04-15 17:06:32 +02:00
|
|
|
},
|
2010-10-20 13:23:13 +02:00
|
|
|
{
|
|
|
|
"desc": "dataset (data-* attributes)",
|
|
|
|
"url": "dataset",
|
|
|
|
"tags": "dataset",
|
|
|
|
"support": {
|
2011-04-13 09:52:26 +02:00
|
|
|
"live": "chrome opera",
|
2010-10-20 13:23:13 +02:00
|
|
|
"nightly": "safari"
|
2011-02-22 22:20:55 +01:00
|
|
|
},
|
|
|
|
"test": "'dataset' in document.createElement('i')"
|
2010-10-20 13:23:13 +02:00
|
|
|
},
|
2010-08-05 18:58:52 +02:00
|
|
|
{
|
|
|
|
"desc": "History API using pushState",
|
|
|
|
"url": "history",
|
|
|
|
"notes": "Uses onpopstate event",
|
|
|
|
"tags": "history",
|
|
|
|
"support": {
|
2011-06-28 13:32:28 +02:00
|
|
|
"live": "chrome safari firefox opera"
|
2011-02-22 22:20:55 +01:00
|
|
|
},
|
|
|
|
"test": "Modernizr.history"
|
2010-08-05 18:58:52 +02:00
|
|
|
},
|
2011-04-13 09:52:26 +02:00
|
|
|
{
|
|
|
|
"desc": "Browser based file reading",
|
|
|
|
"url": "file-api-simple",
|
|
|
|
"note": "Not part of HTML5",
|
|
|
|
"tags": "file-api",
|
|
|
|
"support": {
|
|
|
|
"live": "firefox chrome opera"
|
|
|
|
},
|
|
|
|
"test": "typeof FileReader != 'undefined'"
|
|
|
|
},
|
2010-06-18 08:50:58 +02:00
|
|
|
{
|
|
|
|
"desc": "Drag files directly into your browser",
|
|
|
|
"url": "file-api",
|
|
|
|
"note": "Not directly part of HTML5",
|
|
|
|
"tags": "file-api dnd",
|
|
|
|
"support": {
|
2011-02-22 22:20:55 +01:00
|
|
|
"live": "firefox chrome"
|
|
|
|
},
|
2011-04-13 09:52:26 +02:00
|
|
|
"test": "typeof FileReader != 'undefined' && Modernizr.draganddrop"
|
2010-06-18 08:50:58 +02:00
|
|
|
},
|
2010-06-14 20:05:20 +02:00
|
|
|
{
|
|
|
|
"desc": "Simple chat client",
|
|
|
|
"url": "web-socket",
|
|
|
|
"tags": "websocket",
|
|
|
|
"support": {
|
2010-08-23 19:02:03 +02:00
|
|
|
"live": "safari chrome",
|
2010-10-11 17:26:31 +02:00
|
|
|
"nightly": "firefox opera"
|
2011-02-22 22:20:55 +01:00
|
|
|
},
|
|
|
|
"test": "Modernizr.websockets"
|
2010-06-14 20:05:20 +02:00
|
|
|
},
|
2010-03-14 23:29:59 +01:00
|
|
|
{
|
2010-03-14 23:30:25 +01:00
|
|
|
"desc": "Two videos playing in sync",
|
2010-03-14 23:29:59 +01:00
|
|
|
"url": "two-videos",
|
|
|
|
"tags": "video",
|
|
|
|
"support": {
|
2011-04-05 18:03:21 +02:00
|
|
|
"live": "firefox opera safari chrome ie"
|
2011-02-22 22:20:55 +01:00
|
|
|
},
|
|
|
|
"test": "Modernizr.video"
|
2010-03-14 23:29:59 +01:00
|
|
|
},
|
2010-03-05 02:01:13 +01:00
|
|
|
{
|
|
|
|
"desc": "Interactive canvas gradients",
|
|
|
|
"url": "canvas-grad",
|
|
|
|
"tags": "canvas",
|
|
|
|
"support": {
|
2011-04-05 18:03:21 +02:00
|
|
|
"live": "firefox opera safari chrome ie"
|
2011-02-22 22:20:55 +01:00
|
|
|
},
|
|
|
|
"test": "Modernizr.canvas"
|
2010-03-05 02:01:13 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"desc": "Canvas & Video",
|
|
|
|
"url": "video-canvas",
|
|
|
|
"tags": "video canvas",
|
|
|
|
"support": {
|
2011-04-05 18:03:21 +02:00
|
|
|
"live": "firefox opera safari chrome ie"
|
2011-02-22 22:20:55 +01:00
|
|
|
},
|
|
|
|
"test": "Modernizr.video && Modernizr.canvas"
|
2010-03-05 02:01:13 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"desc": "Video",
|
|
|
|
"url": "video",
|
|
|
|
"tags": "video",
|
|
|
|
"support": {
|
2011-04-05 18:03:21 +02:00
|
|
|
"live": "firefox opera safari chrome ie"
|
2011-02-22 22:20:55 +01:00
|
|
|
},
|
|
|
|
"test": "Modernizr.video"
|
2010-03-05 02:01:13 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"desc": "Canvas",
|
|
|
|
"url": "canvas",
|
|
|
|
"tags": "canvas",
|
|
|
|
"support": {
|
2011-04-05 18:03:21 +02:00
|
|
|
"live": "firefox opera safari chrome ie"
|
2011-02-22 22:20:55 +01:00
|
|
|
},
|
|
|
|
"test": "Modernizr.canvas"
|
2010-03-05 02:01:13 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"desc": "Content Editable",
|
|
|
|
"url": "contenteditable",
|
|
|
|
"tags": "contenteditable storage",
|
|
|
|
"support": {
|
|
|
|
"live": "ie firefox opera safari chrome"
|
2011-02-22 22:20:55 +01:00
|
|
|
},
|
|
|
|
"test": "'isContentEditable' in document.createElement('span');"
|
2010-03-05 02:01:13 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"desc": "Geolocation",
|
|
|
|
"url": "geo",
|
|
|
|
"tags": "geolocation",
|
2010-03-05 02:53:07 +01:00
|
|
|
"note": "Works on Safari Mobile too",
|
2010-03-05 02:01:13 +01:00
|
|
|
"support": {
|
2011-04-05 18:03:21 +02:00
|
|
|
"live": "firefox chrome safari opera ie"
|
2011-02-22 22:20:55 +01:00
|
|
|
},
|
|
|
|
"test": "Modernizr.geolocation"
|
2010-03-05 02:01:13 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"desc": "postMessage",
|
|
|
|
"url": "postmessage",
|
|
|
|
"note": "same domain",
|
|
|
|
"tags": "postMessage",
|
|
|
|
"support": {
|
|
|
|
"live": "ie firefox opera safari chrome"
|
2011-02-22 22:20:55 +01:00
|
|
|
},
|
|
|
|
"test": "Modernizr.postmessage"
|
2010-03-05 02:01:13 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"desc": "postMessage",
|
|
|
|
"url": "postmessage2",
|
|
|
|
"tags": "postMessage",
|
|
|
|
"note": "cross domain",
|
|
|
|
"support": {
|
|
|
|
"live": "ie firefox opera safari chrome"
|
2011-02-22 22:20:55 +01:00
|
|
|
},
|
|
|
|
"test": "Modernizr.postmessage"
|
2010-03-05 02:01:13 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"desc": "drag and drop",
|
|
|
|
"url": "drag",
|
|
|
|
"tags": "dnd",
|
|
|
|
"support": {
|
2010-03-06 11:15:41 +01:00
|
|
|
"live": "ie firefox safari chrome"
|
2011-02-22 22:20:55 +01:00
|
|
|
},
|
|
|
|
"test": "Modernizr.draganddrop"
|
2010-03-05 02:01:13 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"desc": "drag anything",
|
|
|
|
"url": "drag-anything",
|
|
|
|
"tags": "dnd",
|
|
|
|
"support": {
|
2010-03-06 11:15:41 +01:00
|
|
|
"live": "ie firefox safari chrome"
|
2011-02-22 22:20:55 +01:00
|
|
|
},
|
|
|
|
"test": "Modernizr.draganddrop"
|
2010-03-05 02:01:13 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"desc": "offline detection",
|
|
|
|
"url": "offline",
|
|
|
|
"tags": "offline events",
|
2010-03-05 02:54:44 +01:00
|
|
|
"note": "Works on Safari Mobile too",
|
2010-03-20 20:38:42 +01:00
|
|
|
"support": {
|
|
|
|
"live": "firefox opera"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"desc": "navigator.onLine tests",
|
|
|
|
"url": "nav-online",
|
|
|
|
"tags": "offline",
|
|
|
|
"note": "Doesn't use events, only polls",
|
2010-03-05 02:01:13 +01:00
|
|
|
"support": {
|
2010-03-20 20:31:14 +01:00
|
|
|
"live": "firefox opera ie"
|
2010-03-05 02:01:13 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"desc": "on/offline event tests",
|
|
|
|
"url": "offline-events",
|
|
|
|
"notes": "Opera & Firefox - requires \"Work Offline\"",
|
|
|
|
"tags": "offline events",
|
|
|
|
"support": {
|
2010-03-05 02:53:07 +01:00
|
|
|
"live": "firefox opera"
|
2010-03-05 02:01:13 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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": {
|
2010-07-01 13:35:22 +02:00
|
|
|
"live": "firefox safari chrome opera"
|
2011-02-22 22:20:55 +01:00
|
|
|
},
|
|
|
|
"test": "Modernizr.applicationcache"
|
2010-03-05 02:01:13 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"desc": "Storage",
|
|
|
|
"url": "storage",
|
|
|
|
"tags": "storage",
|
|
|
|
"support": {
|
|
|
|
"live": "ie firefox opera safari chrome"
|
2011-02-22 22:20:55 +01:00
|
|
|
},
|
|
|
|
"test": "Modernizr.sessionstorage && Modernizr.localstorage"
|
2010-03-05 02:01:13 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"desc": "Web SQL Database Storage",
|
|
|
|
"url": "database",
|
|
|
|
"tags": "sql-database",
|
|
|
|
"support": {
|
|
|
|
"live": "safari chrome opera"
|
2011-02-22 22:20:55 +01:00
|
|
|
},
|
|
|
|
"test": "Modernizr.websqldatabase"
|
2010-03-05 02:01:13 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"desc": "Web SQL Database - rollback test",
|
|
|
|
"url": "database-rollback",
|
|
|
|
"tags": "sql-database",
|
|
|
|
"support": {
|
|
|
|
"live": "safari chrome opera"
|
2011-02-22 22:20:55 +01:00
|
|
|
},
|
|
|
|
"test": "Modernizr.websqldatabase"
|
2010-03-05 02:01:13 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"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": {
|
2010-07-01 13:35:22 +02:00
|
|
|
"live": "safari chrome firefox opera"
|
2011-02-22 22:20:55 +01:00
|
|
|
},
|
|
|
|
"test": "Modernizr.webworkers"
|
2010-03-05 02:01:13 +01:00
|
|
|
}
|
2010-03-20 12:51:21 +01:00
|
|
|
]
|