Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
flexbox: trueflexboxlegacy: truecanvas: truecanvastext: truewebgl: truetouch: falsegeolocation: truepostmessage: truewebsqldatabase: trueindexeddb: truehashchange: truehistory: truedraganddrop: truewebsockets: truergba: truehsla: truemultiplebgs: truebackgroundsize: trueborderimage: trueborderradius: trueboxshadow: truetextshadow: trueopacity: truecssanimations: truecsscolumns: truecssgradients: truecssreflections: truecsstransforms: truecsstransforms3d: truecsstransitions: truefontface: truegeneratedcontent: truevideo: trueaudio: truelocalstorage: truesessionstorage: truewebworkers: trueapplicationcache: falsesvg: trueinlinesvg: truesmil: truesvgclippaths: trueinput{}- autocomplete: true
- autofocus: true
- list: true
- placeholder: true
- max: true
- min: true
- multiple: true
- pattern: true
- required: true
- step: true
inputtypes{}- search: true
- tel: true
- url: true
- email: true
- datetime: false
- date: true
- month: true
- week: true
- time: true
- datetime-local: true
- number: true
- range: true
- color: true
_version: 2.8.3_prefixes: ,-webkit-,-moz-,-o-,-ms-,_domPrefixes: webkit,moz,o,ms_cssomPrefixes: Webkit,Moz,O,ms Tests completed in 35 milliseconds.
272 tests of 273 passed, 1 failed.
- Basics: globals set up (0, 1, 1)Rerun
- global modernizr object created
- Basics: bind is implemented (0, 14, 14)Rerun
- bind is a member of Function.prototype
- bind works as expected
- okay
- okay
- okay
- okay
- okay
- f instanceof F
- g instanceof F
- h instanceof F
- "prototype" in F
- okay
- Objects that allow call but not construct can be bound...
- it exists
- Basics: document.documentElement is valid and correct (0, 1, 1)Rerun
- okay
- Basics: no-js class is gone. (0, 6, 6)Rerun
- no-js class is gone
- html.js class is present
- html.+no-js class is still present
- html.no-js- class is still present
- html.i-has-no-js class is still present
- document.querySelector('html.js') matches.
- Basics: html shim worked (0, 2, 2)Rerun
- unknown elements dont collapse
- unknown elements are styleable
- Modernizr classes and bools: html classes are looking good (0, 95, 95)Rerun
- private Modernizr object _enableHTML5should not have matching classes
- private Modernizr object no-_enableHTML5 should not have matching classes
- private Modernizr object _versionshould not have matching classes
- private Modernizr object no-_version should not have matching classes
- private Modernizr object _fontfacereadyshould not have matching classes
- private Modernizr object no-_fontfaceready should not have matching classes
- flexbox is correctly true in the classes and object
- flexboxlegacy is correctly true in the classes and object
- canvas is correctly true in the classes and object
- canvastext is correctly true in the classes and object
- webgl is correctly true in the classes and object
- touch is correctly false in the classes and object
- geolocation is correctly true in the classes and object
- postmessage is correctly true in the classes and object
- websqldatabase is correctly true in the classes and object
- indexeddb is correctly true in the classes and object
- hashchange is correctly true in the classes and object
- history is correctly true in the classes and object
- draganddrop is correctly true in the classes and object
- websockets is correctly true in the classes and object
- rgba is correctly true in the classes and object
- hsla is correctly true in the classes and object
- multiplebgs is correctly true in the classes and object
- backgroundsize is correctly true in the classes and object
- borderimage is correctly true in the classes and object
- borderradius is correctly true in the classes and object
- boxshadow is correctly true in the classes and object
- textshadow is correctly true in the classes and object
- opacity is correctly true in the classes and object
- cssanimations is correctly true in the classes and object
- csscolumns is correctly true in the classes and object
- cssgradients is correctly true in the classes and object
- cssreflections is correctly true in the classes and object
- csstransforms is correctly true in the classes and object
- csstransforms3d is correctly true in the classes and object
- csstransitions is correctly true in the classes and object
- fontface is correctly true in the classes and object
- generatedcontent is correctly true in the classes and object
- video is correctly true in the classes and object
- audio is correctly true in the classes and object
- localstorage is correctly true in the classes and object
- sessionstorage is correctly true in the classes and object
- webworkers is correctly true in the classes and object
- applicationcache is correctly false in the classes and object
- svg is correctly true in the classes and object
- inlinesvg is correctly true in the classes and object
- smil is correctly true in the classes and object
- svgclippaths is correctly true in the classes and object
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- all classes are lowerCase.
- whitespace between all classes.
- Modernizr classes and bools: Modernizr properties are looking good (0, 80, 80)Rerun
- Modernizr.flexbox is a straight up boolean
- all properties are lowerCase.
- Modernizr.flexboxlegacy is a straight up boolean
- all properties are lowerCase.
- Modernizr.canvas is a straight up boolean
- all properties are lowerCase.
- Modernizr.canvastext is a straight up boolean
- all properties are lowerCase.
- Modernizr.webgl is a straight up boolean
- all properties are lowerCase.
- Modernizr.touch is a straight up boolean
- all properties are lowerCase.
- Modernizr.geolocation is a straight up boolean
- all properties are lowerCase.
- Modernizr.postmessage is a straight up boolean
- all properties are lowerCase.
- Modernizr.websqldatabase is a straight up boolean
- all properties are lowerCase.
- Modernizr.indexeddb is a straight up boolean
- all properties are lowerCase.
- Modernizr.hashchange is a straight up boolean
- all properties are lowerCase.
- Modernizr.history is a straight up boolean
- all properties are lowerCase.
- Modernizr.draganddrop is a straight up boolean
- all properties are lowerCase.
- Modernizr.websockets is a straight up boolean
- all properties are lowerCase.
- Modernizr.rgba is a straight up boolean
- all properties are lowerCase.
- Modernizr.hsla is a straight up boolean
- all properties are lowerCase.
- Modernizr.multiplebgs is a straight up boolean
- all properties are lowerCase.
- Modernizr.backgroundsize is a straight up boolean
- all properties are lowerCase.
- Modernizr.borderimage is a straight up boolean
- all properties are lowerCase.
- Modernizr.borderradius is a straight up boolean
- all properties are lowerCase.
- Modernizr.boxshadow is a straight up boolean
- all properties are lowerCase.
- Modernizr.textshadow is a straight up boolean
- all properties are lowerCase.
- Modernizr.opacity is a straight up boolean
- all properties are lowerCase.
- Modernizr.cssanimations is a straight up boolean
- all properties are lowerCase.
- Modernizr.csscolumns is a straight up boolean
- all properties are lowerCase.
- Modernizr.cssgradients is a straight up boolean
- all properties are lowerCase.
- Modernizr.cssreflections is a straight up boolean
- all properties are lowerCase.
- Modernizr.csstransforms is a straight up boolean
- all properties are lowerCase.
- Modernizr.csstransforms3d is a straight up boolean
- all properties are lowerCase.
- Modernizr.csstransitions is a straight up boolean
- all properties are lowerCase.
- Modernizr.fontface is a straight up boolean
- all properties are lowerCase.
- Modernizr.generatedcontent is a straight up boolean
- all properties are lowerCase.
- Modernizr.localstorage is a straight up boolean
- all properties are lowerCase.
- Modernizr.sessionstorage is a straight up boolean
- all properties are lowerCase.
- Modernizr.webworkers is a straight up boolean
- all properties are lowerCase.
- Modernizr.applicationcache is a straight up boolean
- all properties are lowerCase.
- Modernizr.svg is a straight up boolean
- all properties are lowerCase.
- Modernizr.inlinesvg is a straight up boolean
- all properties are lowerCase.
- Modernizr.smil is a straight up boolean
- all properties are lowerCase.
- Modernizr.svgclippaths is a straight up boolean
- all properties are lowerCase.
- Modernizr classes and bools: Modernizr.audio and Modernizr.video (0, 8, 8)Rerun
- Modernizr.video is truthy.
- Modernizr.video is == true
- Moderizr.video is truly an object
- Modernizr.video is !== true
- Modernizr.audio is truthy.
- Modernizr.audio is == true
- Moderizr.audio is truly an object
- Modernizr.audio is !== true
- Modernizr classes and bools: Modernizr results match expected values (0, 2, 2)Rerun
- canvas test consistent
- web workers test consistent
- Modernizr's API methods: Modernizr.addTest() (0, 22, 22)Rerun
- positive class added
- positive prop added
- positive class added
- truthy value is not casted to straight boolean
- negative class added
- negative prop added
- negative class added
- falsy value is not casted to straight boolean
- camelCase test name toLowerCase()'d
- Modernizr.addTest(feature, bool): negative class added
- Modernizr.addTest(feature, bool): negative prop added
- Modernizr.addTest(feature, bool): positive class added
- Modernizr.addTest(feature, bool): positive prop added
- Modernizr.addTest({feature: bool}): negative class added
- Modernizr.addTest({feature: bool}): negative prop added
- Modernizr.addTest({feature: bool}): positive class added
- Modernizr.addTest({feature: bool}): positive prop added
- Modernizr.addTest({feature: bool}): negative class added
- Modernizr.addTest({feature: bool}): negative prop added
- Modernizr.addTest({feature: bool}): positive class added
- Modernizr.addTest({feature: bool}): positive prop added
- addTest is chainable
- Modernizr's API methods: Modernizr.mq: media query testing (0, 3, 3)Rerun
- Modernizr.mq() doesn' freak out.
- screen media query matches jQuery mobile's result
- Cache hit matches
- Modernizr's API methods: Modernizr.hasEvent() (0, 3, 3)Rerun
- Modernizr.hasEvent() is a function
- click event is supported
- random event is definitely not supported
- Modernizr's API methods: Modernizr.testStyles() (0, 5, 5)Rerun
- Modernizr.testStyles() is a function
- rule passsed back matches what i gave it.
- width was set through the style
- height was set through the style
- element is indeed the modernizr element
- Modernizr's API methods: Modernizr._[properties] (0, 2, 2)Rerun
- Modernizr._prefixes has 6 items
- Modernizr.domPrefixes has 4 items
- Modernizr's API methods: Modernizr.testProp() (0, 5, 5)Rerun
- Everyone supports margin
- Nobody supports the happiness style. :(
- Everyone supports fontSize
- Nobody supports font-size
- results for `pointer-events` are consistent with a homegrown feature test
- Modernizr's API methods: Modernizr.testAllProps() (0, 6, 6)Rerun
- Everyone supports margin
- Nobody supports the happiness style. :(
- Everyone supports fontSize
- Nobody supports font-size
- Modernizr result matches API result: csstransitions
- Modernizr result matches API result: csscolumns
- Modernizr's API methods: Modernizr.prefixed() - css and DOM resolving (0, 10, 10)Rerun
- results for transition match the homebaked prefix finder
- results for backgroundSize match the homebaked prefix finder
- results for boxSizing match the homebaked prefix finder
- results for borderImage match the homebaked prefix finder
- results for borderRadius match the homebaked prefix finder
- results for boxShadow match the homebaked prefix finder
- results for columnCount match the homebaked prefix finder
- results for requestAnimationFrame match the homebaked prefix finder
- results for querySelectorAll match the homebaked prefix finder
- results for matchesSelector match the homebaked prefix finder
- Modernizr's API methods: Modernizr.prefixed autobind (1, 7, 8)Rerun
- Modernizr.prefixed('requestAnimationFrame', window) returns a function
- Modernizr.prefixed('requestAnimationFrame', window, false) returns a string (the prop name)
Expected: | "requestAnimationFrame" |
---|
Result: | "webkitRequestAnimationFrame" |
---|
Diff: | "requestAnimationFrame" "webkitRequestAnimationFrame"
|
---|
Source: | at Object.<anonymous> (https://oypo.asnidren.com/bower_components/modernizr/test/js/unit.js:572:5) |
---|
- Modernizr.prefixed('matchesSelector', HTMLElement.prototype, document.body) returns a function
- Modernizr.prefixed('matchesSelector', HTMLElement.prototype, document.body) is scoped to the body
- Modernizr.prefixed('isFullScreen') returns a boolean
- Modernizr.prefixed('doSomethingAmazing$#$', window) : Gobbledygook with prefixed(str,obj) returns false
- Modernizr.prefixed('doSomethingAmazing$#$', window) : Gobbledygook with prefixed(str,obj, scope) returns false
- Modernizr.prefixed('doSomethingAmazing$#$', window) : Gobbledygook with prefixed(str,obj, false) returns false
JSON.stringify(Modernizr)
Show the Ref Tests from Caniuse and Modernizr