diff --git a/feature-detects/css-cubicbezierrange.js b/feature-detects/css-cubicbezierrange.js new file mode 100644 index 0000000000..4b955bbf51 --- /dev/null +++ b/feature-detects/css-cubicbezierrange.js @@ -0,0 +1,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() { + el = document.createElement('div'); + el.style.cssText = Modernizr._prefixes.join('transition-timing-function' + ':cubic-bezier(1,0,0,1.1); '); + return el.style.length; +}); \ No newline at end of file