| OLD | NEW |
| 1 <head> | 1 <head> |
| 2 <script src="../js/resources/js-test-pre.js"></script> | 2 <script src="../../resources/js-test.js"></script> |
| 3 <script> | 3 <script> |
| 4 function test() { | 4 function test() { |
| 5 if (window.testRunner) { | 5 if (window.testRunner) { |
| 6 testRunner.dumpAsText(); | 6 testRunner.dumpAsText(); |
| 7 } | 7 } |
| 8 | 8 |
| 9 if (!window.internals) { | 9 if (!window.internals) { |
| 10 testFailed('This test requires the test harness to run.'); | 10 testFailed('This test requires the test harness to run.'); |
| 11 return; | 11 return; |
| 12 } | 12 } |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 </style> | 90 </style> |
| 91 </head> | 91 </head> |
| 92 <body onload="test()"> | 92 <body onload="test()"> |
| 93 This tests that foreground and background colors properly change for autofil
led inputs. It can only be run using the test harness.<br> | 93 This tests that foreground and background colors properly change for autofil
led inputs. It can only be run using the test harness.<br> |
| 94 <form name="fm"> | 94 <form name="fm"> |
| 95 <input type="text" id="field" value="Field value"> | 95 <input type="text" id="field" value="Field value"> |
| 96 <textarea id="textarea"></textarea> | 96 <textarea id="textarea"></textarea> |
| 97 </form> | 97 </form> |
| 98 <div id="console"></div> | 98 <div id="console"></div> |
| 99 </body> | 99 </body> |
| OLD | NEW |