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.
11 lines
423 B
11 lines
423 B
//By Stefan Wallin
|
|
|
|
//tests for progressbar-support. All browsers that don't support progressbar returns undefined =)
|
|
Modernizr.addTest("progressbar",function(){
|
|
return document.createElement('progress').max !== undefined;
|
|
});
|
|
|
|
//tests for meter-support. All browsers that don't support meters returns undefined =)
|
|
Modernizr.addTest("meter",function(){
|
|
return document.createElement('meter').max !== undefined;
|
|
});
|
|
|