| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../../resources/js-test.js"></script> |
| 5 <script src="../resources/common.js"></script> | 5 <script src="../resources/common.js"></script> |
| 6 </head> | 6 </head> |
| 7 <body> | 7 <body> |
| 8 <p>Test if selected options are correctly restored even if their positions were
changed.</p> | 8 <p>Test if selected options are correctly restored even if their positions were
changed.</p> |
| 9 <div id="console"></div> | 9 <div id="console"></div> |
| 10 | 10 |
| 11 <input id="emptyOnFirstVisit"> | 11 <input id="emptyOnFirstVisit"> |
| 12 <div id="parent"> | 12 <div id="parent"> |
| 13 <form action="data:text/html,<script>history.back()</script>" id=form1> | 13 <form action="data:text/html,<script>history.back()</script>" id=form1> |
| 14 <select id="select1" multiple> | 14 <select id="select1" multiple> |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 $('parent').innerHTML = ''; | 59 $('parent').innerHTML = ''; |
| 60 setTimeout(function() { | 60 setTimeout(function() { |
| 61 finishJSTest(); | 61 finishJSTest(); |
| 62 }, 0); | 62 }, 0); |
| 63 } | 63 } |
| 64 } | 64 } |
| 65 | 65 |
| 66 window.onload = runTest; | 66 window.onload = runTest; |
| 67 </script> | 67 </script> |
| 68 </body> | 68 </body> |
| OLD | NEW |