| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <!-- Password form with the username and password fields having ambiguity in id
attribute. --> | 2 <!-- Password form with the username and password fields having ambiguity in id
attribute. --> |
| 3 <form id='ambiguous_form' method='POST' action='done.html'> | 3 <form id='ambiguous_form' method='POST' action='done.html'> |
| 4 <label>Username: </label><input type='text' id='ambiguous_id' /> | 4 <label>Username: </label><input type='text' id='ambiguous_id' /> |
| 5 <label>Password: </label><input type='password' id='ambiguous_id' /> | 5 <label>Password: </label><input type='password' id='ambiguous_id' /> |
| 6 <input type='submit' /> | 6 <input type='submit' /> |
| 7 </form> | 7 </form> |
| 8 | 8 |
| 9 <!-- Password form having username and password fields without name and id attri
bute. --> | 9 <!-- Password form having username and password fields without name and id attri
bute. --> |
| 10 <form id='no_name_id_form' method='POST' action='done.html'> | 10 <form id='no_name_id_form' method='POST' action='done.html'> |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 <input type='submit' /> | 29 <input type='submit' /> |
| 30 </form> | 30 </form> |
| 31 | 31 |
| 32 <!-- Change password form having username and password fields with empty names b
ut no |autocomplete='xxx'| attributes. --> | 32 <!-- Change password form having username and password fields with empty names b
ut no |autocomplete='xxx'| attributes. --> |
| 33 <form id='change_pwd_but_no_autocomplete' method='POST' action='done.html'> | 33 <form id='change_pwd_but_no_autocomplete' method='POST' action='done.html'> |
| 34 <label>Username: </label> <input type='text' placeholder='username' /> | 34 <label>Username: </label> <input type='text' placeholder='username' /> |
| 35 <label>Old Password: </label> <input type='password' placeholder='Old Password
' /> | 35 <label>Old Password: </label> <input type='password' placeholder='Old Password
' /> |
| 36 <label>New Password: </label> <input type='password' placeholder='New password
' /> | 36 <label>New Password: </label> <input type='password' placeholder='New password
' /> |
| 37 <input type='submit' /> | 37 <input type='submit' /> |
| 38 </form> | 38 </form> |
| 39 |
| 40 <!-- Ambiguous password form with problematic invisible password field. --> |
| 41 <form id='hidden_password_form' method='POST' action='done.html'> |
| 42 <label>Username: </label><input type='text' placeholder='Username' /> |
| 43 <input type='password' placeholder='Password' style="display:none;" autocomple
te="off" /> |
| 44 <label>Password: </label><input type='password' placeholder='Password' /> |
| 45 <input type='submit' /> |
| 46 </form> |
| OLD | NEW |