OLD | NEW |
| (Empty) |
1 Check if :valid/:invalid CSS pseudo selectors are lively applied | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 Removing a checked radio button from a required radio button group by a DOM tree
mutation: | |
7 PASS backgroundOf($("radio1")) is validColor | |
8 PASS parent.removeChild($("radio2")); backgroundOf($("radio1")) is invalidColor | |
9 | |
10 Removing a checked radio button from a required radio button group by name attri
bute change: | |
11 PASS $("radio2").name = "group2"; backgroundOf($("radio1")) is invalidColor | |
12 | |
13 Removing a checked radio button from a required radio button group by type chang
e: | |
14 PASS $("radio2").type = "text"; backgroundOf($("radio1")) is invalidColor | |
15 | |
16 Make a radio button group required by required attribute change: | |
17 PASS backgroundOf($("radio1")) is validColor | |
18 PASS backgroundOf($("radio2")) is validColor | |
19 PASS $("radio1").required = true; backgroundOf($("radio1")) is invalidColor | |
20 PASS backgroundOf($("radio2")) is invalidColor | |
21 | |
22 Make a radio button group not required by required attribute change: | |
23 PASS backgroundOf($("radio1")) is invalidColor | |
24 PASS backgroundOf($("radio2")) is invalidColor | |
25 PASS $("radio1").required = false; backgroundOf($("radio1")) is validColor | |
26 PASS backgroundOf($("radio2")) is validColor | |
27 | |
28 Removing one of multiple required attributes: | |
29 PASS backgroundOf($("radio1")) is invalidColor | |
30 PASS backgroundOf($("radio2")) is invalidColor | |
31 PASS $("radio1").required = false; backgroundOf($("radio1")) is invalidColor | |
32 PASS backgroundOf($("radio2")) is invalidColor | |
33 | |
34 Adding a radio button with the required attribute to a radio button group: | |
35 PASS backgroundOf($("radio1")) is validColor | |
36 PASS parent.appendChild(requiredRadioButton); backgroundOf($("radio1")) is inval
idColor | |
37 PASS backgroundOf(requiredRadioButton) is invalidColor | |
38 | |
39 Removing a radio button with the required attribute from a radio button group: | |
40 PASS parent.removeChild(requiredRadioButton); backgroundOf($("radio1")) is valid
Color | |
41 | |
42 PASS successfullyParsed is true | |
43 | |
44 TEST COMPLETE | |
45 | |
OLD | NEW |