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". |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 PASS input.getAttribute("type") for "telephone" is correctly "telephone". | 49 PASS input.getAttribute("type") for "telephone" is correctly "telephone". |
50 PASS input.type for "url" is correctly "url". | 50 PASS input.type for "url" is correctly "url". |
51 PASS input.getAttribute("type") for "url" is correctly "url". | 51 PASS input.getAttribute("type") for "url" is correctly "url". |
52 PASS input.type for "uri" is correctly "text". | 52 PASS input.type for "uri" is correctly "text". |
53 PASS input.getAttribute("type") for "uri" is correctly "uri". | 53 PASS input.getAttribute("type") for "uri" is correctly "uri". |
54 PASS input.type for "" is correctly "text". | 54 PASS input.type for "" is correctly "text". |
55 PASS input.getAttribute("type") for "" is correctly "". | 55 PASS input.getAttribute("type") for "" is correctly "". |
56 PASS input.type for "x-unknown" is correctly "text". | 56 PASS input.type for "x-unknown" is correctly "text". |
57 PASS input.getAttribute("type") for "x-unknown" is correctly "x-unknown". | 57 PASS input.getAttribute("type") for "x-unknown" is correctly "x-unknown". |
58 PASS input.removeAttribute('type'); input.getAttribute('type') is null | 58 PASS input.removeAttribute('type'); input.getAttribute('type') is null |
| 59 Check dirty flag behavior |
| 60 PASS input.defaultValue = 'UpdatedDefault'; input.value is "UpdatedDefault" |
59 PASS successfullyParsed is true | 61 PASS successfullyParsed is true |
60 | 62 |
61 TEST COMPLETE | 63 TEST COMPLETE |
62 | 64 |
OLD | NEW |