OLD | NEW |
1 This tests that the 'autocomplete' attribute of form and input elements is bound
to a JavaScript property. | 1 This tests that the 'autocomplete' attribute of form and input elements is bound
to a JavaScript property. |
2 | 2 |
3 PASS successfullyParsed is true | |
4 | |
5 TEST COMPLETE | |
6 PASS ('autocomplete' in form) is true | 3 PASS ('autocomplete' in form) is true |
7 PASS ('autocomplete' in field) is true | 4 PASS ('autocomplete' in field) is true |
8 PASS form.getAttribute('autocomplete') is null | 5 PASS form.getAttribute('autocomplete') is null |
9 PASS field.getAttribute('autocomplete') is null | 6 PASS field.getAttribute('autocomplete') is null |
10 PASS form.autocomplete is "" | 7 PASS form.autocomplete is "on" |
11 PASS field.autocomplete is "" | 8 PASS field.autocomplete is "" |
12 PASS form.getAttribute('autocomplete') is "off" | 9 PASS form.autocomplete = 'off'; form.getAttribute('autocomplete') is "off" |
13 PASS field.getAttribute('autocomplete') is "off" | 10 PASS field.autocomplete = 'off'; field.getAttribute('autocomplete') is "off" |
14 PASS form.autocomplete is "on" | 11 PASS form.setAttribute('autocomplete', 'on'); form.autocomplete is "on" |
15 PASS field.autocomplete is "on" | 12 PASS field.setAttribute('autocomplete', 'on'); field.autocomplete is "on" |
| 13 PASS form.setAttribute('autocomplete', 'indeterminate'); form.autocomplete is "o
n" |
| 14 PASS field.setAttribute('autocomplete', 'indeterminate'); field.autocomplete is
"indeterminate" |
| 15 PASS successfullyParsed is true |
16 | 16 |
| 17 TEST COMPLETE |
| 18 |
OLD | NEW |