aFarkas / html5shiv

This script is the defacto way to enable use of HTML5 sectioning elements in legacy Internet Explorer.
http://paulirish.com/2011/the-history-of-the-html5-shiv/
9.89k stars 2.56k forks source link

Progress bar support? #79

Closed dandv closed 11 years ago

dandv commented 12 years ago
<!doctype html>
<html lang="en-US">

<head>
<title>Progress bar test</title>
<script src="https://raw.github.com/aFarkas/html5shiv/master/dist/html5shiv.js"></script>
</head>

<body>
  <progress value="9" max="10" title="Amount of features implemented by html5shiv"></progress>
</body>

</html>
aFarkas commented 11 years ago

What do you exactly mean. The progress element should be "shived", which means, you can add styles and add content inside of the element. But html5shiv doesn't add functionality (i.e. value). Please also note, that you can not deeplink to github. You have to download the file or use a cdn.

chee commented 11 years ago

You'll want to use a polyfill for the actual functionality, @dandv https://github.com/LeaVerou/HTML5-Progress-polyfill and maybe even to read this ! http://www.useragentman.com/blog/2012/01/03/cross-browser-html5-progress-bars-in-depth/

dandv commented 11 years ago

Thanks @chee. I was just hoping that html5shiv would make progress bars easy, but I see it's outside the scope.