OLD | NEW |
1 <head> | 1 <head> |
2 | 2 |
3 <script> | 3 <script> |
4 | 4 |
5 function test() | 5 function test() |
6 { | 6 { |
7 if (window.testRunner) | 7 if (window.testRunner) |
8 testRunner.dumpAsText(); | 8 testRunner.dumpAsText(); |
9 | 9 |
10 var widthBefore = document.getElementById("select").offsetWidth; | 10 var widthBefore = document.getElementById("select").offsetWidth; |
(...skipping 14 matching lines...) Expand all Loading... |
25 | 25 |
26 <p>This test checks to see if changing the font of a select element causes it to
resize to accomodate the larger text.</p> | 26 <p>This test checks to see if changing the font of a select element causes it to
resize to accomodate the larger text.</p> |
27 | 27 |
28 <p><select id="select" style="font-size: 9px"> | 28 <p><select id="select" style="font-size: 9px"> |
29 <option>This is an option with some text in it.</option> | 29 <option>This is an option with some text in it.</option> |
30 </select></p> | 30 </select></p> |
31 | 31 |
32 <p id="result"></p> | 32 <p id="result"></p> |
33 | 33 |
34 <body> | 34 <body> |
OLD | NEW |