| OLD | NEW |
| 1 Check if :valid/:invalid CSS pseudo selectors are lively applied for fieldsets | 1 Check if :valid/:invalid CSS pseudo selectors are lively applied for fieldsets |
| 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 Removing and adding required text inputs and modifying ther value by a DOM tree
mutation: | 6 Removing and adding required text inputs and modifying their value by a DOM tree
mutation: |
| 7 PASS backgroundOf(fieldset1) is invalidColor | 7 PASS backgroundOf(fieldset1) is invalidColor |
| 8 PASS backgroundOf(sub1) is subInvalidColor | 8 PASS backgroundOf(sub1) is subInvalidColor |
| 9 PASS fieldset1.removeChild(input1); backgroundOf(fieldset1) is validColor | 9 PASS fieldset1.removeChild(input1); backgroundOf(fieldset1) is validColor |
| 10 PASS backgroundOf(sub1) is subValidColor | 10 PASS backgroundOf(sub1) is subValidColor |
| 11 PASS fieldset1.appendChild(input1); backgroundOf(fieldset1) is invalidColor | 11 PASS fieldset1.appendChild(input1); backgroundOf(fieldset1) is invalidColor |
| 12 PASS backgroundOf(sub1) is subInvalidColor | 12 PASS backgroundOf(sub1) is subInvalidColor |
| 13 PASS input1.setAttribute("value", "a"); backgroundOf(fieldset1) is validColor | 13 PASS input1.setAttribute("value", "a"); backgroundOf(fieldset1) is validColor |
| 14 PASS backgroundOf(sub1) is subValidColor | 14 PASS backgroundOf(sub1) is subValidColor |
| 15 PASS input2.setAttribute("value", ""); backgroundOf(fieldset1) is invalidColor | 15 PASS input2.setAttribute("value", ""); backgroundOf(fieldset1) is invalidColor |
| 16 PASS backgroundOf(sub1) is subInvalidColor | 16 PASS backgroundOf(sub1) is subInvalidColor |
| 17 | 17 |
| 18 Disabling and marking inputs readonly by a DOM tree mutation: |
| 19 PASS backgroundOf(fieldset1) is invalidColor |
| 20 PASS backgroundOf(sub1) is subInvalidColor |
| 21 PASS input1.disabled=1; backgroundOf(fieldset1) is validColor |
| 22 PASS backgroundOf(sub1) is subValidColor |
| 23 PASS input1.disabled=0; backgroundOf(fieldset1) is invalidColor |
| 24 PASS backgroundOf(sub1) is subInvalidColor |
| 25 PASS input1.setAttribute("readonly", "1"); backgroundOf(fieldset1) is validColor |
| 26 PASS backgroundOf(sub1) is subValidColor |
| 27 |
| 18 Adding a required text input that is not a direct child of the fieldset: | 28 Adding a required text input that is not a direct child of the fieldset: |
| 19 PASS backgroundOf(fieldset1) is validColor | 29 PASS backgroundOf(fieldset1) is validColor |
| 20 PASS div1.appendChild(input1); backgroundOf(fieldset1) is invalidColor | 30 PASS div1.appendChild(input1); backgroundOf(fieldset1) is invalidColor |
| 21 | 31 |
| 22 Nested fieldsets: | 32 Nested fieldsets: |
| 23 PASS backgroundOf($("fieldset0")) is invalidColor | 33 PASS backgroundOf($("fieldset0")) is invalidColor |
| 24 PASS backgroundOf($("fieldset1")) is invalidColor | 34 PASS backgroundOf($("fieldset1")) is invalidColor |
| 25 PASS backgroundOf($("fieldset2")) is validColor | 35 PASS backgroundOf($("fieldset2")) is validColor |
| 26 PASS input1.setAttribute("value", "v"); backgroundOf($("fieldset0")) is validCol
or | 36 PASS input1.setAttribute("value", "v"); backgroundOf($("fieldset0")) is validCol
or |
| 27 PASS backgroundOf($("fieldset1")) is validColor | 37 PASS backgroundOf($("fieldset1")) is validColor |
| (...skipping 11 matching lines...) Expand all Loading... |
| 39 | 49 |
| 40 Ensure that invalid event was not triggered on style evaluation: | 50 Ensure that invalid event was not triggered on style evaluation: |
| 41 PASS backgroundOf(fieldset1) is invalidColor | 51 PASS backgroundOf(fieldset1) is invalidColor |
| 42 PASS val is "0" | 52 PASS val is "0" |
| 43 PASS input1.checkValidity(); val is "1" | 53 PASS input1.checkValidity(); val is "1" |
| 44 | 54 |
| 45 PASS successfullyParsed is true | 55 PASS successfullyParsed is true |
| 46 | 56 |
| 47 TEST COMPLETE | 57 TEST COMPLETE |
| 48 | 58 |
| OLD | NEW |