OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <body> | 3 <body> |
4 <div style="display: inline; position: relative;"> | 4 <div style="display: inline; position: relative;"> |
5 <input type="text" id="one"><br> | 5 <input type="text" id="one"><br> |
6 <input type="text" id="two"> | 6 <input type="text" id="two"> |
7 <div style="position: absolute"></div> | 7 <div style="position: absolute"></div> |
8 </div> | 8 </div> |
9 <script> | 9 <script> |
10 if (window.testRunner) | 10 if (window.testRunner) |
11 testRunner.waitUntilDone(); | 11 testRunner.waitUntilDone(); |
12 | 12 |
13 function finish() { | 13 function finish() { |
14 one.value = "One"; | 14 one.value = "One"; |
15 two.value = "Two"; | 15 two.value = "Two"; |
16 if (window.testRunner) | 16 if (window.testRunner) |
17 testRunner.notifyDone(); | 17 testRunner.notifyDone(); |
18 } | 18 } |
19 | 19 |
20 setTimeout("finish()", 0); | 20 setTimeout("finish()", 0); |
21 </script> | 21 </script> |
22 </body> | 22 </body> |
23 </html> | 23 </html> |
OLD | NEW |