| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script> | 3 <script> |
| 4 function test() { | 4 function test() { |
| 5 if (window.testRunner) | 5 if (window.testRunner) |
| 6 testRunner.waitUntilDone(); | 6 testRunner.waitUntilDone(); |
| 7 | 7 |
| 8 setTimeout('addLongOption();', 100); | 8 setTimeout('addLongOption();', 100); |
| 9 } | 9 } |
| 10 function addLongOption() | 10 function addLongOption() |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 <body onload="test()"> | 22 <body onload="test()"> |
| 23 This tests that when an option is dynamically added to a menu list, and it i
s too long for the current width,<br> | 23 This tests that when an option is dynamically added to a menu list, and it i
s too long for the current width,<br> |
| 24 that the select automatically recalculates the correct width.<br> | 24 that the select automatically recalculates the correct width.<br> |
| 25 <select id="t"> | 25 <select id="t"> |
| 26 <option id="short">Short</option> | 26 <option id="short">Short</option> |
| 27 <option id="medium">Medium</option> | 27 <option id="medium">Medium</option> |
| 28 </select> | 28 </select> |
| 29 <div id="res"></div> | 29 <div id="res"></div> |
| 30 </body> | 30 </body> |
| 31 </html> | 31 </html> |
| OLD | NEW |