Skip to content

Instantly share code, notes, and snippets.

@blech75
Last active November 4, 2015 00:59
Show Gist options
  • Save blech75/2c3dbebb6bb782345273 to your computer and use it in GitHub Desktop.
Save blech75/2c3dbebb6bb782345273 to your computer and use it in GitHub Desktop.
modernizr test files and the test names within them (as of v3.1.0). useful for configuring grunt-modernizr (customizr) if not using the 'crawl' feature.
$ ag --noheading -o "Modernizr.addTest\('[a-z]+'" | sed -E 's/Modernizr\.addTest\(//' | sed -E 's/\.js\:[0-9]+/.js/' | grep -vE '^$' | uniq | sort | column -t -s ':'
a/download.js 'adownload'
ambientlight.js 'ambientlight'
applicationcache.js 'applicationcache'
audio.js 'audio'
audio/loop.js 'audioloop'
audio/preload.js 'audiopreload'
audio/webaudio.js 'webaudio'
battery.js 'batteryapi'
battery/lowbattery.js 'lowbattery'
blob.js 'blobconstructor'
canvas.js 'canvas'
canvas/blending.js 'canvasblending'
canvas/todataurl.js 'todataurljpeg'
canvas/todataurl.js 'todataurlpng'
canvas/todataurl.js 'todataurlwebp'
canvas/winding.js 'canvaswinding'
canvastext.js 'canvastext'
contenteditable.js 'contenteditable'
cookies.js 'cookies'
cors.js 'cors'
crypto/getrandomvalues.js 'getrandomvalues'
css/all.js 'cssall'
css/animations.js 'cssanimations'
css/appearance.js 'appearance'
css/backdropfilter.js 'backdropfilter'
css/backgroundblendmode.js 'backgroundblendmode'
css/backgroundcliptext.js 'backgroundcliptext'
css/backgroundposition-shorthand.js 'bgpositionshorthand'
css/backgroundposition-xy.js 'bgpositionxy'
css/backgroundrepeat.js 'bgrepeatround'
css/backgroundrepeat.js 'bgrepeatspace'
css/backgroundsize.js 'backgroundsize'
css/backgroundsizecover.js 'bgsizecover'
css/borderimage.js 'borderimage'
css/borderradius.js 'borderradius'
css/boxshadow.js 'boxshadow'
css/boxsizing.js 'boxsizing'
css/calc.js 'csscalc'
css/checked.js 'checked'
css/chunit.js 'csschunit'
css/columns.js 'csscolumns'
css/cubicbezierrange.js 'cubicbezierrange'
css/displayrunin.js 'displayrunin'
css/displaytable.js 'displaytable'
css/ellipsis.js 'ellipsis'
css/escape.js 'cssescape'
css/exunit.js 'cssexunit'
css/filters.js 'cssfilters'
css/flexbox.js 'flexbox'
css/flexboxlegacy.js 'flexboxlegacy'
css/flexboxtweener.js 'flexboxtweener'
css/flexwrap.js 'flexwrap'
css/fontface.js 'fontface'
css/generatedcontent.js 'generatedcontent'
css/gradients.js 'cssgradients'
css/hsla.js 'hsla'
css/invalid.js 'cssinvalid'
css/lastchild.js 'lastchild'
css/mask.js 'cssmask'
css/mediaqueries.js 'mediaqueries'
css/multiplebgs.js 'multiplebgs'
css/nthchild.js 'nthchild'
css/objectfit.js 'objectfit'
css/opacity.js 'opacity'
css/overflow-scrolling.js 'overflowscrolling'
css/pointerevents.js 'csspointerevents'
css/positionsticky.js 'csspositionsticky'
css/pseudoanimations.js 'csspseudoanimations'
css/pseudotransitions.js 'csspseudotransitions'
css/reflections.js 'cssreflections'
css/regions.js 'regions'
css/remunit.js 'cssremunit'
css/resize.js 'cssresize'
css/rgba.js 'rgba'
css/scrollbars.js 'cssscrollbar'
css/shapes.js 'shapes'
css/siblinggeneral.js 'siblinggeneral'
css/subpixelfont.js 'subpixelfont'
css/supports.js 'supports'
css/target.js 'target'
css/textalignlast.js 'textalignlast'
css/textshadow.js 'textshadow'
css/transforms.js 'csstransforms'
css/transitions.js 'csstransitions'
css/userselect.js 'userselect'
css/valid.js 'cssvalid'
css/vhunit.js 'cssvhunit'
css/vmaxunit.js 'cssvmaxunit'
css/vminunit.js 'cssvminunit'
css/vwunit.js 'cssvwunit'
css/will-change.js 'willchange'
css/wrapflow.js 'wrapflow'
custom-protocol-handler.js 'customprotocolhandler'
customevent.js 'customevent'
dart.js 'dart'
dataview-api.js 'dataview'
dom/classlist.js 'classlist'
dom/createElement-attrs.js 'createelementattrs'
dom/dataset.js 'dataset'
dom/documentfragment.js 'documentfragment'
dom/hidden.js 'hidden'
dom/microdata.js 'microdata'
dom/mutationObserver.js 'mutationobserver'
elem/datalist.js 'datalistelem'
elem/details.js 'details'
elem/output.js 'outputelem'
elem/picture.js 'picture'
elem/progress-meter.js 'meter'
elem/progress-meter.js 'progressbar'
elem/ruby.js 'ruby'
elem/template.js 'template'
elem/time.js 'time'
elem/track.js 'texttrackapi'
elem/track.js 'track'
elem/unknown.js 'unknownelements'
emoji.js 'emoji'
es5/strictmode.js 'strictmode'
es6/contains.js 'contains'
es6/generators.js 'generators'
es6/promises.js 'promises'
event/deviceorientation-motion.js 'devicemotion'
event/deviceorientation-motion.js 'deviceorientation'
event/oninput.js 'oninput'
eventlistener.js 'eventlistener'
file/api.js 'filereader'
file/filesystem.js 'filesystem'
forms/capture.js 'capture'
forms/fileinput.js 'fileinput'
forms/fileinputdirectory.js 'fileinputdirectory'
forms/formattribute.js 'formattribute'
forms/inputnumber-l10n.js 'localizednumber'
forms/placeholder.js 'placeholder'
forms/requestautocomplete.js 'requestautocomplete'
forms/validation.js 'formvalidation'
fullscreen-api.js 'fullscreen'
gamepad.js 'gamepads'
geolocation.js 'geolocation'
hashchange.js 'hashchange'
hiddenscroll.js 'hiddenscroll'
history.js 'history'
iframe/sandbox.js 'sandbox'
iframe/seamless.js 'seamless'
iframe/srcdoc.js 'srcdoc'
img/sizes.js 'sizes'
img/srcset.js 'srcset'
indexeddb.js 'indexeddb'
input/formaction.js 'inputformaction'
input/formenctype.js 'inputformenctype'
input/formmethod.js 'inputformmethod'
input/formtarget.js 'inputformtarget'
inputsearchevent.js 'inputsearchevent'
intl.js 'intl'
json.js 'json'
lists-reversed.js 'olreversed'
mathml.js 'mathml'
network/beacon.js 'beacon'
network/connection.js 'lowbandwidth'
network/eventsource.js 'eventsource'
network/fetch.js 'fetch'
network/xhr-responsetype-arraybuffer.js 'xhrresponsetypearraybuffer'
network/xhr-responsetype-blob.js 'xhrresponsetypeblob'
network/xhr-responsetype-document.js 'xhrresponsetypedocument'
network/xhr-responsetype-json.js 'xhrresponsetypejson'
network/xhr-responsetype-text.js 'xhrresponsetypetext'
network/xhr-responsetype.js 'xhrresponsetype'
notification.js 'notification'
pagevisibility-api.js 'pagevisibility'
performance.js 'performance'
pointerevents.js 'pointerevents'
pointerlock-api.js 'pointerlock'
postmessage.js 'postmessage'
queryselector.js 'queryselector'
quota-management-api.js 'quotamanagement'
requestanimationframe.js 'requestanimationframe'
script/async.js 'scriptasync'
script/defer.js 'scriptdefer'
serviceworker.js 'serviceworker'
speech/speech-recognition.js 'speechrecognition'
speech/speech-synthesis.js 'speechsynthesis'
storage/localstorage.js 'localstorage'
storage/sessionstorage.js 'sessionstorage'
storage/websqldatabase.js 'websqldatabase'
style/scoped.js 'stylescoped'
svg.js 'svg'
svg/asimg.js 'svgasimg'
svg/clippaths.js 'svgclippaths'
svg/filters.js 'svgfilters'
svg/foreignobject.js 'svgforeignobject'
svg/inline.js 'inlinesvg'
svg/smil.js 'smil'
templatestrings.js 'templatestrings'
textarea/maxlength.js 'textareamaxlength'
touchevents.js 'touchevents'
typed-arrays.js 'typedarrays'
unicode-range.js 'unicoderange'
unicode.js 'unicode'
url/bloburls.js 'bloburls'
url/parser.js 'urlparser'
userdata.js 'userdata'
vibration.js 'vibrate'
video.js 'video'
video/loop.js 'videoloop'
video/preload.js 'videopreload'
vml.js 'vml'
web-intents.js 'webintents'
webanimations.js 'webanimations'
webgl.js 'webgl'
webrtc/datachannel.js 'datachannel'
webrtc/getusermedia.js 'getusermedia'
webrtc/peerconnection.js 'peerconnection'
websockets.js 'websockets'
websockets/binary.js 'websocketsbinary'
window/framed.js 'framed'
window/matchmedia.js 'matchmedia'
workers/sharedworkers.js 'sharedworkers'
workers/webworkers.js 'webworkers'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment