| OLD | NEW |
| 1 Tests the behavior of .formaction, .formenctype, .formmethod and .formtarget of
HTMLInputElement and HTMLButtonElement. | 1 Tests the behavior of .formaction, .formenctype, .formmethod and .formtarget of
HTMLInputElement and HTMLButtonElement. |
| 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 Ordinary values for input: | 6 Ordinary values for input: |
| 7 PASS input.formAction is "" | 7 PASS input.formAction is "" |
| 8 PASS input.formEnctype is "" | 8 PASS input.formEnctype is "" |
| 9 PASS input.formMethod is "" | 9 PASS input.formMethod is "" |
| 10 PASS input.formTarget is "" | 10 PASS input.formTarget is "" |
| 11 PASS input.formAction is "http://localhost/" | 11 PASS input.formAction is "http://localhost/" |
| 12 PASS input.formAction is "http://localhost/" | 12 PASS input.formAction is "http://localhost/" |
| 13 PASS input.formEnctype is "text/plain" | 13 PASS input.formEnctype is "text/plain" |
| 14 PASS input.formEnctype is "application/x-www-form-urlencoded" | 14 PASS input.formEnctype is "application/x-www-form-urlencoded" |
| 15 PASS input.formMethod is "get" | 15 PASS input.formMethod is "get" |
| 16 PASS input.formMethod is "get" | 16 PASS input.formMethod is "get" |
| 17 PASS input.formTarget is "_blank" | 17 PASS input.formTarget is "_blank" |
| 18 PASS input.formTarget is "nu" | 18 PASS input.formTarget is "nu" |
| 19 PASS input.formAction is "http://example.com/" | 19 PASS input.formAction is "http://example.com/" |
| 20 PASS input.formAction is "http://example.com/" | 20 PASS input.formAction is "http://example.com/" |
| 21 PASS input.formEnctype is "text/plain" | 21 PASS input.formEnctype is "text/plain" |
| 22 PASS input.formEnctype is "application/x-www-form-urlencoded" | 22 PASS input.formEnctype is "application/x-www-form-urlencoded" |
| 23 PASS input.formMethod is "post" | 23 PASS input.formMethod is "post" |
| 24 PASS input.formMethod is "get" | 24 PASS input.formMethod is "get" |
| 25 PASS input.formTarget is "http://example.com" | 25 PASS input.formTarget is "http://example.com" |
| 26 PASS input.formTarget is "nta" | 26 PASS input.formTarget is "nta" |
| 27 | 27 |
| 28 Setting null for input: | 28 Setting null for input: |
| 29 PASS input.formEnctype is "" | |
| 30 PASS input.getAttribute("formEnctype") is null | |
| 31 PASS input.formEnctype is "application/x-www-form-urlencoded" | 29 PASS input.formEnctype is "application/x-www-form-urlencoded" |
| 32 PASS input.formMethod is "" | 30 PASS input.getAttribute("formEnctype") is "null" |
| 33 PASS input.getAttribute("formMethod") is null | 31 PASS input.formEnctype is "application/x-www-form-urlencoded" |
| 34 PASS input.formMethod is "get" | 32 PASS input.formMethod is "get" |
| 35 PASS input.formTarget is "" | 33 PASS input.getAttribute("formMethod") is "null" |
| 36 PASS input.getAttribute("formTarget") is null | 34 PASS input.formMethod is "get" |
| 35 PASS input.formTarget is "null" |
| 36 PASS input.getAttribute("formTarget") is "null" |
| 37 PASS input.formTarget is "null" | 37 PASS input.formTarget is "null" |
| 38 | 38 |
| 39 Setting undefined for input: | 39 Setting undefined for input: |
| 40 PASS input.formEnctype is "application/x-www-form-urlencoded" | 40 PASS input.formEnctype is "application/x-www-form-urlencoded" |
| 41 PASS input.getAttribute("formEnctype") is "undefined" | 41 PASS input.getAttribute("formEnctype") is "undefined" |
| 42 PASS input.formEnctype is "application/x-www-form-urlencoded" | 42 PASS input.formEnctype is "application/x-www-form-urlencoded" |
| 43 PASS input.formMethod is "get" | 43 PASS input.formMethod is "get" |
| 44 PASS input.getAttribute("formMethod") is "undefined" | 44 PASS input.getAttribute("formMethod") is "undefined" |
| 45 PASS input.formMethod is "get" | 45 PASS input.formMethod is "get" |
| 46 PASS input.formTarget is "undefined" | 46 PASS input.formTarget is "undefined" |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 PASS button.formMethod is "get" | 109 PASS button.formMethod is "get" |
| 110 PASS button.getAttribute("formMethod") is "128" | 110 PASS button.getAttribute("formMethod") is "128" |
| 111 PASS button.formMethod is "get" | 111 PASS button.formMethod is "get" |
| 112 PASS button.formTarget is "100" | 112 PASS button.formTarget is "100" |
| 113 PASS button.getAttribute("formTarget") is "100" | 113 PASS button.getAttribute("formTarget") is "100" |
| 114 PASS button.formTarget is "281" | 114 PASS button.formTarget is "281" |
| 115 PASS successfullyParsed is true | 115 PASS successfullyParsed is true |
| 116 | 116 |
| 117 TEST COMPLETE | 117 TEST COMPLETE |
| 118 | 118 |
| OLD | NEW |