UNPKG

browsernizr

Version:

Modernizr wrapper for use with browserify

23 lines (21 loc) 689 B
/*! { "name": "Flexbox", "property": "flexbox", "caniuse": "flexbox", "tags": ["css"], "notes": [{ "name": "The _new_ flexbox", "href": "https://www.w3.org/TR/css-flexbox-1/" }], "warnings": [ "A `true` result for this detect does not imply that the `flex-wrap` property is supported; see the `flexwrap` detect." ] } !*/ /* DOC Detects support for the Flexible Box Layout model, a.k.a. Flexbox, which allows easy manipulation of layout order and sizing within a container. */ var Modernizr = require('./../../lib/Modernizr.js'); var testAllProps = require('./../../lib/testAllProps.js'); Modernizr.addTest('flexbox', testAllProps('flexBasis', '1px', true));