| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE html> | |
| 2 <html> | |
| 3 <head> | |
| 4 <style> | |
| 5 progress { | |
| 6 -webkit-appearance: none; | |
| 7 } | |
| 8 </style> | |
| 9 </head> | |
| 10 | |
| 11 <body> | |
| 12 | |
| 13 <p>When progress became 'indeterminate' or not-'indeterminate', distribution sho
uld happen.</p> | |
| 14 | |
| 15 <div id="host"> | |
| 16 <progress id="progress1"></progress> | |
| 17 <span>separator</span> | |
| 18 <progress id="progress2"></progress> | |
| 19 </div> | |
| 20 <script> | |
| 21 if (window.testRunner) | |
| 22 testRunner.waitUntilDone(); | |
| 23 | |
| 24 var shadowRoot = host.createShadowRoot(); | |
| 25 shadowRoot.innerHTML = '<content select="span,progress:indeterminate"></content>
'; | |
| 26 progress1.value = '30'; | |
| 27 | |
| 28 setTimeout(function() { | |
| 29 progress1.removeAttribute('value'); | |
| 30 progress2.value = '70'; | |
| 31 testRunner.notifyDone(); | |
| 32 }, 0); | |
| 33 | |
| 34 </script> | |
| 35 </body> | |
| 36 </html> | |
| 37 | |
| OLD | NEW |