PageRenderTime 26ms CodeModel.GetById 19ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/AppLanding/js/vendor/modernizr/feature-detects/css-cubicbezierrange.js

https://gitlab.com/webocalypse/themes
JavaScript | 8 lines | 5 code | 1 blank | 2 comment | 0 complexity | 0460aa0e42db8326cbf557e99ffa7160 MD5 | raw file
1// cubic-bezier values can't be > 1 for Webkit until bug #45761 (https://bugs.webkit.org/show_bug.cgi?id=45761) is fixed
2// By @calvein
3
4Modernizr.addTest('cubicbezierrange', function() {
5    var el = document.createElement('div');
6    el.style.cssText = Modernizr._prefixes.join('transition-timing-function' + ':cubic-bezier(1,0,0,1.1); ');
7    return !!el.style.length;
8});