OLD | NEW |
1 Tests the htmlFor attribute and its properties. | 1 Tests the htmlFor attribute and its properties. |
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 - Tests from http://simon.html5.org/test/html/dom/reflecting/DOMTokenList/ | 6 - Tests from http://simon.html5.org/test/html/dom/reflecting/DOMTokenList/ |
| 7 PASS element.htmlFor.value is "x" |
7 PASS String(element.htmlFor) is "x" | 8 PASS String(element.htmlFor) is "x" |
| 9 PASS element.htmlFor.value is "y" |
| 10 PASS String(element.htmlFor) is "y" |
8 PASS element.htmlFor.length is 0 | 11 PASS element.htmlFor.length is 0 |
9 PASS element.htmlFor.length is 1 | 12 PASS element.htmlFor.length is 1 |
10 PASS element.htmlFor.length is 2 | 13 PASS element.htmlFor.length is 2 |
11 PASS element.htmlFor.length is 2 | 14 PASS element.htmlFor.length is 2 |
12 PASS element.htmlFor.toString() is "x" | 15 PASS element.htmlFor.toString() is "x" |
13 PASS element.htmlFor.toString() is "x" | 16 PASS element.htmlFor.toString() is "x" |
14 PASS element.htmlFor.toString() is "x x" | 17 PASS element.htmlFor.toString() is "x x" |
15 PASS element.htmlFor.toString() is "y x" | 18 PASS element.htmlFor.toString() is "y x" |
16 PASS element.htmlFor.toString() is "" | 19 PASS element.htmlFor.toString() is "" |
17 PASS element.htmlFor.toString() is "" | 20 PASS element.htmlFor.toString() is "" |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 - DOMSettableTokenList presence and type | 69 - DOMSettableTokenList presence and type |
67 PASS 'undefined' != typeof DOMSettableTokenList is true | 70 PASS 'undefined' != typeof DOMSettableTokenList is true |
68 PASS typeof DOMSettableTokenList.prototype is "object" | 71 PASS typeof DOMSettableTokenList.prototype is "object" |
69 PASS typeof element.htmlFor is "object" | 72 PASS typeof element.htmlFor is "object" |
70 PASS element.htmlFor.constructor is DOMSettableTokenList | 73 PASS element.htmlFor.constructor is DOMSettableTokenList |
71 PASS element.htmlFor === element.htmlFor is true | 74 PASS element.htmlFor === element.htmlFor is true |
72 PASS successfullyParsed is true | 75 PASS successfullyParsed is true |
73 | 76 |
74 TEST COMPLETE | 77 TEST COMPLETE |
75 | 78 |
OLD | NEW |