| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <body> | 2 <body> |
| 3 <script src="../js/resources/js-test-pre.js"></script> | 3 <script src="../js/resources/js-test-pre.js"></script> |
| 4 <style> | 4 <style> |
| 5 input { | 5 input { |
| 6 border: none; | 6 border: none; |
| 7 padding: 0; | 7 padding: 0; |
| 8 margin: 0; | 8 margin: 0; |
| 9 } | 9 } |
| 10 </style> | 10 </style> |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 input1.style.height = '0px'; | 45 input1.style.height = '0px'; |
| 46 shouldBe('input1.offsetHeight', '0', true); | 46 shouldBe('input1.offsetHeight', '0', true); |
| 47 input1.focus(); | 47 input1.focus(); |
| 48 shouldBe('document.activeElement', 'input1'); | 48 shouldBe('document.activeElement', 'input1'); |
| 49 | 49 |
| 50 finishJSTest(); | 50 finishJSTest(); |
| 51 } | 51 } |
| 52 | 52 |
| 53 jsTestIsAsync = true; | 53 jsTestIsAsync = true; |
| 54 </script> | 54 </script> |
| 55 <script src="../js/resources/js-test-post.js"></script> | |
| 56 </body> | 55 </body> |
| OLD | NEW |