OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../js/resources/js-test-pre.js"></script> |
5 <style> | 5 <style> |
6 :invalid { background: rgb(255, 0, 0); } | 6 :invalid { background: rgb(255, 0, 0); } |
7 :valid { background: rgb(0, 0, 255); } | 7 :valid { background: rgb(0, 0, 255); } |
8 </style> | 8 </style> |
9 </head> | 9 </head> |
10 <body> | 10 <body> |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 shouldBe('parent.appendChild(requiredRadioButton); backgroundOf($("radio1"))', '
invalidColor'); | 88 shouldBe('parent.appendChild(requiredRadioButton); backgroundOf($("radio1"))', '
invalidColor'); |
89 shouldBe('backgroundOf(requiredRadioButton)', 'invalidColor'); | 89 shouldBe('backgroundOf(requiredRadioButton)', 'invalidColor'); |
90 debug(''); | 90 debug(''); |
91 | 91 |
92 debug('Removing a radio button with the required attribute from a radio button g
roup:'); | 92 debug('Removing a radio button with the required attribute from a radio button g
roup:'); |
93 shouldBe('parent.removeChild(requiredRadioButton); backgroundOf($("radio1"))', '
validColor'); | 93 shouldBe('parent.removeChild(requiredRadioButton); backgroundOf($("radio1"))', '
validColor'); |
94 debug(''); | 94 debug(''); |
95 | 95 |
96 parent.innerHTML = ''; | 96 parent.innerHTML = ''; |
97 </script> | 97 </script> |
98 <script src="../../js/resources/js-test-post.js"></script> | |
99 </body> | 98 </body> |
100 </html> | 99 </html> |
OLD | NEW |