OLD | NEW |
1 Tests for writing and reading .type property of HTMLInputElement. | 1 Tests for writing and reading .type property of HTMLInputElement. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS input.type is "text" | 6 PASS input.type is "text" |
7 PASS input.getAttribute('type') is null | 7 PASS input.getAttribute('type') is null |
8 PASS input.type for "text" is correctly "text". | 8 PASS input.type for "text" is correctly "text". |
9 PASS input.getAttribute("type") for "text" is correctly "text". | 9 PASS input.getAttribute("type") for "text" is correctly "text". |
10 PASS input.type for "TEXT" is correctly "text". | 10 PASS input.type for "TEXT" is correctly "text". |
11 PASS input.getAttribute("type") for "TEXT" is correctly "TEXT". | 11 PASS input.getAttribute("type") for "TEXT" is correctly "TEXT". |
12 PASS input.type for " text " is correctly "text". | 12 PASS input.type for " text " is correctly "text". |
13 PASS input.getAttribute("type") for " text " is correctly " text ". | 13 PASS input.getAttribute("type") for " text " is correctly " text ". |
14 PASS input.type for "button" is correctly "button". | 14 PASS input.type for "button" is correctly "button". |
15 PASS input.getAttribute("type") for "button" is correctly "button". | 15 PASS input.getAttribute("type") for "button" is correctly "button". |
16 PASS input.type for " button " is correctly "text". | 16 PASS input.type for " button " is correctly "text". |
17 PASS input.getAttribute("type") for " button " is correctly " button ". | 17 PASS input.getAttribute("type") for " button " is correctly " button ". |
18 PASS input.type for "checkbox" is correctly "checkbox". | 18 PASS input.type for "checkbox" is correctly "checkbox". |
19 PASS input.getAttribute("type") for "checkbox" is correctly "checkbox". | 19 PASS input.getAttribute("type") for "checkbox" is correctly "checkbox". |
| 20 PASS input.type for "checKbox" is correctly "text". |
| 21 PASS input.getAttribute("type") for "checKbox" is correctly "checKbox". |
20 PASS input.type for "email" is correctly "email". | 22 PASS input.type for "email" is correctly "email". |
21 PASS input.getAttribute("type") for "email" is correctly "email". | 23 PASS input.getAttribute("type") for "email" is correctly "email". |
22 PASS input.type for "file" is correctly "file". | 24 PASS input.type for "file" is correctly "file". |
23 PASS input.getAttribute("type") for "file" is correctly "file". | 25 PASS input.getAttribute("type") for "file" is correctly "file". |
24 PASS input.type for "hidden" is correctly "hidden". | 26 PASS input.type for "hidden" is correctly "hidden". |
25 PASS input.getAttribute("type") for "hidden" is correctly "hidden". | 27 PASS input.getAttribute("type") for "hidden" is correctly "hidden". |
26 PASS input.type for "image" is correctly "image". | 28 PASS input.type for "image" is correctly "image". |
27 PASS input.getAttribute("type") for "image" is correctly "image". | 29 PASS input.getAttribute("type") for "image" is correctly "image". |
28 PASS input.type for "isindex" is correctly "text". | 30 PASS input.type for "isindex" is correctly "text". |
29 PASS input.getAttribute("type") for "isindex" is correctly "isindex". | 31 PASS input.getAttribute("type") for "isindex" is correctly "isindex". |
(...skipping 27 matching lines...) Expand all Loading... |
57 PASS input.getAttribute("type") for "x-unknown" is correctly "x-unknown". | 59 PASS input.getAttribute("type") for "x-unknown" is correctly "x-unknown". |
58 PASS input.removeAttribute('type'); input.getAttribute('type') is null | 60 PASS input.removeAttribute('type'); input.getAttribute('type') is null |
59 Check dirty flag behavior | 61 Check dirty flag behavior |
60 PASS input.defaultValue = 'UpdatedDefault'; input.value is "UpdatedDefault" | 62 PASS input.defaultValue = 'UpdatedDefault'; input.value is "UpdatedDefault" |
61 Changing the type to file should discard the dirty value. | 63 Changing the type to file should discard the dirty value. |
62 PASS input.value is input.getAttribute('value') | 64 PASS input.value is input.getAttribute('value') |
63 PASS successfullyParsed is true | 65 PASS successfullyParsed is true |
64 | 66 |
65 TEST COMPLETE | 67 TEST COMPLETE |
66 | 68 |
OLD | NEW |