diff --git a/test/js/unit-caniuse.js b/test/js/unit-caniuse.js index 11b75bf309..70c231cfb1 100644 --- a/test/js/unit-caniuse.js +++ b/test/js/unit-caniuse.js @@ -11,41 +11,101 @@ setTimeout(function(){ // mapping Modernizr terms over to caniuse terms var map = { - audio : 'audio', - borderimage : 'border-image', - borderradius : 'border-radius', - canvas : 'canvas', - canvastext : 'canvas-text', - cssanimations : 'css-animation', - boxshadow : 'css-boxshadow', - cssgradients : 'css-gradients', - opacity : 'css-opacity', - cssreflections : 'css-reflections', - textshadow : 'css-textshadow', - csstransitions : 'css-transitions', - hsla : 'css3-colors', - rgba : 'css3-colors', - draganddrop : 'dragndrop', - flexbox : 'flexbox', - fontface : 'fontface', - geolocation : 'geolocation', - hashchange : 'hashchange', - history : 'history', - indexeddb : 'indexeddb', - multiplebgs : 'multibackgrounds', - csscolumns : 'multicolumn', - localstorage : 'namevalue-storage', - applicationcache : 'offline-apps', - websqldatabase : 'sql-storage', - svg : 'svg', - touchevents : 'touch', - csstransforms : 'transforms2d', - csstransforms3d : 'transforms3d', + adownload: 'download', + applicationcache: 'offline-apps', + blobconstructor: 'blobbuilder', + blobworkers: 'blobworkers', + borderimage: 'border-image', + borderradius: 'border-radius', + boxshadow: 'css-boxshadow', + boxsizing: 'css3-boxsizing', + canvas: 'canvas', + canvastext: 'canvas-text', + checked: 'css-sel3', + classlist: 'classlist', + contenteditable: 'contenteditable', + contentsecuritypolicy: 'contentsecuritypolicy', + contextmenu: 'menu', + cors: 'cors', + cssanimations: 'css-animation', + csscalc: 'calc', + csscolumns: 'multicolumn', + cssfilters: 'css-filters', + cssgradients: 'css-gradients', + csshyphens: 'css-hyphens', + cssmask: 'css-masks', + csspointerevents: 'pointer-events', + cssreflections: 'css-reflections', + cssremunit: 'rem', + cssresize: 'css-resize', + csstransforms3d: 'transforms3d', + csstransforms: 'transforms2d', + csstransitions: 'css-transitions', + cssvhunit: 'viewport-units', + cssvmaxunit: 'viewport-units', + cssvminunit: 'viewport-units', + cssvwunit: 'viewport-units', + datalistelem: 'datalist', + dataset: 'dataset', + datauri: 'datauri', + dataworkers: 'dataworkers', + details: 'details', + deviceorientation: 'deviceorientation', + displaytable: 'css-table', + draganddrop: 'dragndrop', + fileinput: 'forms', + filereader: 'fileapi', + filesystem: 'filesystem', + flexbox: 'flexbox', + fullscreen: 'fullscreen', + geolocation: 'geolocation', + getusermedia: 'stream', + hashchange: 'hashchange', + history: 'history', + hsla: 'css3-colors', + indexeddb: 'indexeddb', + inlinesvg: 'svg-html5', + inputtypes: 'forms', + json: 'json', + lastchild: 'css-sel3', + localstorage: 'namevalue-storage', + mathml: 'mathml', + mediaqueries: 'css-mediaqueries', + meter: 'progressmeter', + multiplebgs: 'multibackgrounds', + notification: 'notifications', + objectfit: 'object-fit', + opacity: 'css-opacity', + pagevisibility: 'pagevisibility', + performance: 'nav-timing', + postmessage: 'x-doc-messaging', + progressbar: 'progressmeter', + regions: 'css-regions', + requestanimationframe: 'requestanimationframe', + rgba: 'css3-colors', + ruby: 'ruby', + scriptasync: 'script-async', + scriptdefer: 'script-defer', + sharedworkers: 'sharedworkers', + siblinggeneral: 'css-sel3', + smil: 'svg-smil', + strictmode: 'sctrict-mode', + stylescoped: 'style-scoped', + supports: 'css-featurequeries', + svg: 'svg', + svgasimg: 'svg-img', + svgfilters: 'svg-filters', + textshadow: 'css-textshadow', + time: 'html5semantic', + touchevents: 'touch', + typedarrays: 'typedarrays', + userselect: 'user-select-none', video: 'video', + webaudio: 'audio-api', webgl: 'webgl', - websockets : 'websockets', - webworkers : 'webworkers', - postmessage : 'x-doc-messaging' + websockets: 'websockets', + websqldatabase: 'sql-storage', + webworkers: 'webworkers' }; window.caniusecb = function(scriptdata) {