Skip to content

Commit

Permalink
Merge pull request Modernizr#990 from patrickkettner/update-caniuse-m…
Browse files Browse the repository at this point in the history
…apping

update caniuse mapping - fixes 736
  • Loading branch information
ryanseddon committed Jul 15, 2013
2 parents f67041a + ac0f995 commit 017d595
Showing 1 changed file with 93 additions and 33 deletions.
126 changes: 93 additions & 33 deletions test/js/unit-caniuse.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 017d595

Please sign in to comment.