3 <form method=
"POST" action=
"done.html" onsubmit=
"return true;" id=
"testform">
4 <input type=
"text" id=
"username_field" name=
"username_field">
5 <input type=
"password" id=
"password_field" name=
"password_field">
6 <input type=
"submit" id=
"input_submit_button" name=
"input_submit_button">
9 <button id=
"submit_button" name=
"submit_button"
10 onclick=
"document.getElementById('testform').submit()">
14 <form method=
"POST" action=
"done.html" id=
"testform_no_name">
15 <input type=
"text" id=
"username_field_no_name">
16 <input type=
"password" id=
"password_field_no_name">
17 <input type=
"submit" id=
"input_submit_button_no_name">
20 <form method=
"POST" action=
"done.html" id=
"testform_elements_no_id">
21 <input type=
"text" name=
"username_field_no_id">
22 <input type=
"password" name=
"password_field_no_id">
23 <input type=
"submit" name=
"input_submit_button_no_id">
26 <form method=
"POST" action=
"redirect.html" id=
"redirectform">
27 <input type=
"text" id=
"username_redirect" name=
"username_redirect">
28 <input type=
"password" id=
"password_redirect" name=
"password_redirect">
29 <input type=
"submit" id=
"submit_redirect" name=
"submit_redirect">
33 Don't add anything inside this form, and don't change the order of the
34 elements. Because the elements have no "id" or "name" attributes, the test
35 needs to access them by their offsets in the array of the form children.
37 <form method=
"POST" action=
"done.html" id=
"testform_elements_no_id_no_name">
39 <input type=
"password">
43 <form method=
"POST" action=
"done_and_unrelated_form.html" id=
"to_unrelated">
44 <input type=
"text" id=
"username_unrelated" name=
"username_unrelated">
45 <input type=
"password" id=
"password_unrelated" name=
"password_unrelated">
46 <input type=
"submit" id=
"submit_unrelated" name=
"submit_unrelated">
49 <form method=
"POST" action=
"failed.html" id=
"to_failed">
50 <input type=
"text" id=
"username_failed" name=
"username_failed">
51 <input type=
"password" id=
"password_failed" name=
"password_failed">
52 <input type=
"submit" id=
"submit_failed" name=
"submit_failed">