summaryrefslogtreecommitdiff
path: root/source/bower_components/modernizr/feature-detects/css-cubicbezierrange.js
blob: 28e72aab8c6de59a077c6ced2d226f35454a864a (plain)
1
2
3
4
5
6
7
8
// cubic-bezier values can't be > 1 for Webkit until bug #45761 (https://bugs.webkit.org/show_bug.cgi?id=45761) is fixed
// By @calvein

Modernizr.addTest('cubicbezierrange', function() {
    var el = document.createElement('div');
    el.style.cssText = Modernizr._prefixes.join('transition-timing-function' + ':cubic-bezier(1,0,0,1.1); ');
    return !!el.style.length;
});