| 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 element.htmlFor.value is "x" |
| 8 PASS String(element.htmlFor) is "x" | 8 PASS String(element.htmlFor) is "x" |
| 9 PASS element.htmlFor.value is "y" | 9 PASS element.htmlFor.value is "y" |
| 10 PASS String(element.htmlFor) is "y" | 10 PASS String(element.htmlFor) is "y" |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 PASS element.htmlFor[0] is "x" | 59 PASS element.htmlFor[0] is "x" |
| 60 PASS element.htmlFor.contains('X') is true | 60 PASS element.htmlFor.contains('X') is true |
| 61 PASS element.htmlFor.contains('x') is false | 61 PASS element.htmlFor.contains('x') is false |
| 62 PASS element.htmlFor[0] is "X" | 62 PASS element.htmlFor[0] is "X" |
| 63 - Testing whitespace | 63 - Testing whitespace |
| 64 PASS element.htmlFor.length is 2 | 64 PASS element.htmlFor.length is 2 |
| 65 PASS element.htmlFor.length is 2 | 65 PASS element.htmlFor.length is 2 |
| 66 PASS element.htmlFor.length is 2 | 66 PASS element.htmlFor.length is 2 |
| 67 PASS element.htmlFor.length is 2 | 67 PASS element.htmlFor.length is 2 |
| 68 PASS element.htmlFor.length is 2 | 68 PASS element.htmlFor.length is 2 |
| 69 - DOMSettableTokenList presence and type | 69 - DOMTokenList presence and type |
| 70 PASS 'undefined' != typeof DOMSettableTokenList is true | 70 PASS 'undefined' != typeof DOMTokenList is true |
| 71 PASS typeof DOMSettableTokenList.prototype is "object" | 71 PASS typeof DOMTokenList.prototype is "object" |
| 72 PASS typeof element.htmlFor is "object" | 72 PASS typeof element.htmlFor is "object" |
| 73 PASS element.htmlFor.constructor is DOMSettableTokenList | 73 PASS element.htmlFor.constructor is DOMTokenList |
| 74 PASS element.htmlFor === element.htmlFor is true | 74 PASS element.htmlFor === element.htmlFor is true |
| 75 PASS successfullyParsed is true | 75 PASS successfullyParsed is true |
| 76 | 76 |
| 77 TEST COMPLETE | 77 TEST COMPLETE |
| 78 | 78 |
| OLD | NEW |