| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <body> | 2 <body> |
| 3 <form method="POST" action="done.html" onsubmit="return true;" id="testform"> | 3 <form method="POST" action="done.html" onsubmit="return true;" id="testform"> |
| 4 <input type="text" id="username_field" name="username_field"> | 4 <input type="text" id="username_field" name="username_field"> |
| 5 <input type="password" id="password_field" name="password_field"> | 5 <input type="password" id="password_field" name="password_field"> |
| 6 <input type="submit" id="input_submit_button" name="input_submit_button"> | 6 <input type="submit" id="input_submit_button" name="input_submit_button"> |
| 7 </form> | 7 </form> |
| 8 | 8 |
| 9 <button id="submit_button" name="submit_button" | 9 <button id="submit_button" name="submit_button" |
| 10 onclick="document.getElementById('testform').submit()"> | 10 onclick="document.getElementById('testform').submit()"> |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 <input type="password" name="password_field_no_id"> | 24 <input type="password" name="password_field_no_id"> |
| 25 <input type="submit" name="input_submit_button_no_id"> | 25 <input type="submit" name="input_submit_button_no_id"> |
| 26 </form> | 26 </form> |
| 27 | 27 |
| 28 <form method="POST" action="redirect.html" id="redirectform"> | 28 <form method="POST" action="redirect.html" id="redirectform"> |
| 29 <input type="text" id="username_redirect" name="username_redirect"> | 29 <input type="text" id="username_redirect" name="username_redirect"> |
| 30 <input type="password" id="password_redirect" name="password_redirect"> | 30 <input type="password" id="password_redirect" name="password_redirect"> |
| 31 <input type="submit" id="submit_redirect" name="submit_redirect"> | 31 <input type="submit" id="submit_redirect" name="submit_redirect"> |
| 32 </form> | 32 </form> |
| 33 | 33 |
| 34 <form method="POST" action="does_not_exist.html" id="form_with_http_error_status
_code_landing_page"> |
| 35 <input type="text" id="username_field_http_error"> |
| 36 <input type="password" id="password_field_http_error"> |
| 37 <input type="submit" id="input_submit_button_http_error"> |
| 38 </form> |
| 39 |
| 34 <!-- | 40 <!-- |
| 35 Don't add anything inside this form, and don't change the order of the | 41 Don't add anything inside this form, and don't change the order of the |
| 36 elements. Because the elements have no "id" or "name" attributes, the test | 42 elements. Because the elements have no "id" or "name" attributes, the test |
| 37 needs to access them by their offsets in the array of the form children. | 43 needs to access them by their offsets in the array of the form children. |
| 38 --> | 44 --> |
| 39 <form method="POST" action="done.html" id="testform_elements_no_id_no_name"> | 45 <form method="POST" action="done.html" id="testform_elements_no_id_no_name"> |
| 40 <input type="text"> | 46 <input type="text"> |
| 41 <input type="password"> | 47 <input type="password"> |
| 42 <input type="submit"> | 48 <input type="submit"> |
| 43 </form> | 49 </form> |
| 44 | 50 |
| 45 <form method="POST" action="done_and_unrelated_form.html" id="to_unrelated"> | 51 <form method="POST" action="done_and_unrelated_form.html" id="to_unrelated"> |
| 46 <input type="text" id="username_unrelated" name="username_unrelated"> | 52 <input type="text" id="username_unrelated" name="username_unrelated"> |
| 47 <input type="password" id="password_unrelated" name="password_unrelated"> | 53 <input type="password" id="password_unrelated" name="password_unrelated"> |
| 48 <input type="submit" id="submit_unrelated" name="submit_unrelated"> | 54 <input type="submit" id="submit_unrelated" name="submit_unrelated"> |
| 49 </form> | 55 </form> |
| 50 | 56 |
| 51 <form method="POST" action="failed.html" id="to_failed"> | 57 <form method="POST" action="failed.html" id="to_failed"> |
| 52 <input type="text" id="username_failed" name="username_failed"> | 58 <input type="text" id="username_failed" name="username_failed"> |
| 53 <input type="password" id="password_failed" name="password_failed"> | 59 <input type="password" id="password_failed" name="password_failed"> |
| 54 <input type="submit" id="submit_failed" name="submit_failed"> | 60 <input type="submit" id="submit_failed" name="submit_failed"> |
| 55 </form> | 61 </form> |
| 56 | 62 |
| 57 </body> | 63 </body> |
| 58 </html> | 64 </html> |
| OLD | NEW |