| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="resources/polyfill.js"></script> | |
| 5 </head> | 4 </head> |
| 6 | 5 |
| 7 <body> | 6 <body> |
| 8 | 7 |
| 9 <p>When the 'enabled' state of a button tag is changed, we have to invalidate di
stribution.</p> | 8 <p>When the 'enabled' state of a button tag is changed, we have to invalidate di
stribution.</p> |
| 10 | 9 |
| 11 <div id="host1"> | 10 <div id="host1"> |
| 12 <button id="button1">Button 1</button> | 11 <button id="button1">Button 1</button> |
| 13 <button id="button2">Button 2</button> | 12 <button id="button2">Button 2</button> |
| 14 </div> | 13 </div> |
| (...skipping 13 matching lines...) Expand all Loading... |
| 28 setTimeout(function() { | 27 setTimeout(function() { |
| 29 button2.setAttribute('disabled', true); | 28 button2.setAttribute('disabled', true); |
| 30 button4.removeAttribute('disabled'); | 29 button4.removeAttribute('disabled'); |
| 31 testRunner.notifyDone(); | 30 testRunner.notifyDone(); |
| 32 }, 0); | 31 }, 0); |
| 33 | 32 |
| 34 </script> | 33 </script> |
| 35 </body> | 34 </body> |
| 36 </html> | 35 </html> |
| 37 | 36 |
| OLD | NEW |