| 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" |
| 11 PASS element.htmlFor.length is 0 | 11 PASS element.htmlFor.length is 0 |
| 12 PASS element.htmlFor.length is 1 | 12 PASS element.htmlFor.length is 1 |
| 13 PASS element.htmlFor.length is 2 | 13 PASS element.htmlFor.length is 2 |
| 14 PASS element.htmlFor.length is 2 | 14 PASS element.htmlFor.length is 2 |
| 15 PASS element.htmlFor.toString() is "x" | 15 PASS element.htmlFor.toString() is "x" |
| 16 PASS element.htmlFor.toString() is "x" | 16 PASS element.htmlFor.toString() is "x" |
| 17 PASS element.htmlFor.toString() is "x x" | 17 PASS element.htmlFor.toString() is "x x" |
| 18 PASS element.htmlFor.toString() is "y x" | 18 PASS element.htmlFor.toString() is "y x" |
| 19 PASS element.htmlFor.toString() is "" | 19 PASS element.htmlFor.toString() is "" |
| 20 PASS element.htmlFor.toString() is "" | 20 PASS element.htmlFor.toString() is "" |
| 21 PASS element.htmlFor.toString() is " y y " | 21 PASS element.htmlFor.toString() is "y y" |
| 22 PASS element.htmlFor.toString() is "y" | 22 PASS element.htmlFor.toString() is "y" |
| 23 - Ensure that we can handle empty form attribute correctly | 23 - Ensure that we can handle empty form attribute correctly |
| 24 PASS list.value is "x" | 24 PASS list.value is "x" |
| 25 PASS list.value is "" | 25 PASS list.value is "" |
| 26 PASS element.htmlFor.contains('x') is false | 26 PASS element.htmlFor.contains('x') is false |
| 27 PASS element.htmlFor[1] is undefined. | 27 PASS element.htmlFor[1] is undefined. |
| 28 PASS element.htmlFor.contains('x') is true | 28 PASS element.htmlFor.contains('x') is true |
| 29 PASS element.htmlFor[1] is undefined. | 29 PASS element.htmlFor[1] is undefined. |
| 30 - Testing add in presence of trailing white spaces. | 30 - Testing add in presence of trailing white spaces. |
| 31 PASS element.htmlFor.toString() is "x y" | 31 PASS element.htmlFor.toString() is "x y" |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 - DOMSettableTokenList presence and type | 69 - DOMSettableTokenList presence and type |
| 70 PASS 'undefined' != typeof DOMSettableTokenList is true | 70 PASS 'undefined' != typeof DOMSettableTokenList is true |
| 71 PASS typeof DOMSettableTokenList.prototype is "object" | 71 PASS typeof DOMSettableTokenList.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 DOMSettableTokenList |
| 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 |