| OLD | NEW |
| 1 Test the behavior of pattern attribute and pattern DOM property. | 1 Test the behavior of pattern attribute and pattern DOM property. |
| 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.pattern is "" | 6 PASS input.pattern is "" |
| 7 PASS input.getAttribute("pattern") is "foo" | 7 PASS input.getAttribute("pattern") is "foo" |
| 8 PASS input.pattern is "bar" | 8 PASS input.pattern is "bar" |
| 9 PASS input.pattern is "" | 9 PASS input.pattern is "null" |
| 10 PASS input.getAttribute("pattern") is null | 10 PASS input.getAttribute("pattern") is "null" |
| 11 PASS input.pattern is "null" | 11 PASS input.pattern is "null" |
| 12 PASS input.pattern is "undefined" | 12 PASS input.pattern is "undefined" |
| 13 PASS input.getAttribute("pattern") is "undefined" | 13 PASS input.getAttribute("pattern") is "undefined" |
| 14 PASS input.pattern is "undefined" | 14 PASS input.pattern is "undefined" |
| 15 PASS input.pattern is "256" | 15 PASS input.pattern is "256" |
| 16 PASS input.getAttribute("pattern") is "256" | 16 PASS input.getAttribute("pattern") is "256" |
| 17 PASS input.pattern is "256" | 17 PASS input.pattern is "256" |
| 18 PASS successfullyParsed is true | 18 PASS successfullyParsed is true |
| 19 | 19 |
| 20 TEST COMPLETE | 20 TEST COMPLETE |
| 21 | 21 |
| OLD | NEW |