Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / HTMLProgressElement / progress-bar-set-value.html
blob6bf86d645dfa8fce69b5eaf12f0fa42559caccfe
1 <!doctype html>
2 <html>
3 <head>
4 <style>
5 progress {
6 -webkit-appearance: none;
8 </style>
9 <script type="text/javascript">
10 function runTest() {
11 bad = document.createElement("progress");
12 bad.id="bad";
13 bad.max=100;
14 bad.setAttribute("value",10);
15 bad.setAttribute("style", "border:solid red");
16 document.getElementsByTagName('body')[0].appendChild(bad);
17 document.body.offsetLeft;
18 document.getElementById('bad').value = 50;
20 </script>
21 </head>
22 <body onload="runTest();">
23 <!-- [bug 100507] https://bugs.webkit.org/show_bug.cgi?id=100507 -->
24 <!-- Progress bar shadow tree sometimes is not relayouted. -->
25 </body>
26 </html>