diff --git a/modernizr.js b/modernizr.js index 30999ad0d9..9fe7b89fad 100644 --- a/modernizr.js +++ b/modernizr.js @@ -845,7 +845,10 @@ window.Modernizr = (function( window, document, undefined ) { })('search tel url email datetime date month week time datetime-local number range color'.split(' ')); } - + //tests for progressbar-support. All browsers that don't support progressbar returns undefined =) + tests['progressbar'] = function() { + return document.createElement('progress').max != undefined; + }; // End of test definitions // -----------------------