| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../js/resources/js-test-pre.js"></script> | 3 <script src="../js/resources/js-test-pre.js"></script> |
| 4 <script> | 4 <script> |
| 5 | 5 |
| 6 function resetField() | 6 function resetField() |
| 7 { | 7 { |
| 8 event.target.value = ''; | 8 event.target.value = ''; |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 </head> | 39 </head> |
| 40 <body> | 40 <body> |
| 41 <p id="description"></p> | 41 <p id="description"></p> |
| 42 <a id="elementToDrag" href="http://example.com">A link!</a> | 42 <a id="elementToDrag" href="http://example.com">A link!</a> |
| 43 <input id="dragTarget" type="text" value="Original Text" onfocus="resetF
ield()" /> | 43 <input id="dragTarget" type="text" value="Original Text" onfocus="resetF
ield()" /> |
| 44 <div id="console"></div> | 44 <div id="console"></div> |
| 45 <script> | 45 <script> |
| 46 description("This tests that we don't lose data dropped onto an inp
ut field that changes its content during a drop event"); | 46 description("This tests that we don't lose data dropped onto an inp
ut field that changes its content during a drop event"); |
| 47 runTest(); | 47 runTest(); |
| 48 </script> | 48 </script> |
| 49 <script src="../js/resources/js-test-post.js"></script> | |
| 50 </body> | 49 </body> |
| 51 </html> | 50 </html> |
| OLD | NEW |