You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
376 B
9 lines
376 B
7 years ago
|
// 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;
|
||
|
});
|