UNPKG

browsernizr

Version:

Modernizr wrapper for use with browserify

24 lines (22 loc) 794 B
/*! { "name": "Backdrop Filter", "property": "backdropfilter", "authors": ["Brian Seward"], "tags": ["css"], "caniuse": "css-backdrop-filter", "notes": [{ "name": "W3C Editor’s Draft Spec", "href": "https://drafts.fxtf.org/filters-2/#BackdropFilterProperty" },{ "name": "WebKit Blog introduction + Demo", "href": "https://www.webkit.org/blog/3632/introducing-backdrop-filters/" }] } !*/ /* DOC Detects support for CSS Backdrop Filters, allowing for background blur effects like those introduced in iOS 7. Support for this was added to iOS Safari/WebKit in iOS 9. */ var Modernizr = require('./../../lib/Modernizr.js'); var testAllProps = require('./../../lib/testAllProps.js'); Modernizr.addTest('backdropfilter', testAllProps('backdropFilter'));