Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / test / data / password / password_form.html
blobc271025394c2269def57c422837066bbfda2579e
1 <html>
2 <body>
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">
7 </form>
9 <button id="submit_button" name="submit_button"
10 onclick="document.getElementById('testform').submit()">
11 Submit!
12 </button>
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">
18 </form>
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">
24 </form>
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">
30 </form>
32 <!--
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.
36 -->
37 <form method="POST" action="done.html" id="testform_elements_no_id_no_name">
38 <input type="text">
39 <input type="password">
40 <input type="submit">
41 </form>
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">
47 </form>
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">
53 </form>
55 </body>
56 </html>