OLD | NEW |
1 This test checks fieldset.name attribute. | 1 This test checks fieldset.name attribute. |
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 Read from HTML | 6 Read from HTML |
7 PASS fs1.name is "a" | 7 PASS fs1.name is "a" |
8 PASS fs1.getAttribute("name") is "a" | 8 PASS fs1.getAttribute("name") is "a" |
9 fs1.name="b" | 9 fs1.name="b" |
10 PASS fs1.name is "b" | 10 PASS fs1.name is "b" |
11 PASS fs1.getAttribute("name") is "b" | 11 PASS fs1.getAttribute("name") is "b" |
12 fs1.name=1234 | 12 fs1.name=1234 |
13 PASS fs1.name is "1234" | 13 PASS fs1.name is "1234" |
14 PASS fs1.getAttribute("name") is "1234" | 14 PASS fs1.getAttribute("name") is "1234" |
15 fs1.name=null | 15 fs1.name=null |
16 PASS fs1.name is "" | 16 PASS fs1.name is "null" |
17 PASS fs1.getAttribute("name") is null | 17 PASS fs1.getAttribute("name") is "null" |
18 PASS fs1.hasAttribute("name") is false | 18 PASS fs1.hasAttribute("name") is true |
19 fs1.name=undefined | 19 fs1.name=undefined |
20 PASS fs1.name is "undefined" | 20 PASS fs1.name is "undefined" |
21 PASS fs1.getAttribute("name") is "undefined" | 21 PASS fs1.getAttribute("name") is "undefined" |
22 PASS fs1.hasAttribute("name") is true | 22 PASS fs1.hasAttribute("name") is true |
23 PASS successfullyParsed is true | 23 PASS successfullyParsed is true |
24 | 24 |
25 TEST COMPLETE | 25 TEST COMPLETE |
26 | 26 |
OLD | NEW |