OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../resources/js-test.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
5 <style> | 5 <style> |
6 .test { | 6 .test { |
7 color: red; | 7 color: red; |
8 } | 8 } |
9 </style> | 9 </style> |
10 <style id="non-css" type="foo/bar"></style> | 10 <style id="non-css" type="foo/bar"></style> |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 var otherStyle = document.getElementById('non-css'); | 49 var otherStyle = document.getElementById('non-css'); |
50 shouldBeFalse('otherStyle.disabled'); | 50 shouldBeFalse('otherStyle.disabled'); |
51 otherStyle.disabled = true | 51 otherStyle.disabled = true |
52 shouldBeFalse('otherStyle.disabled'); | 52 shouldBeFalse('otherStyle.disabled'); |
53 | 53 |
54 | 54 |
55 document.body.removeChild(testElement); | 55 document.body.removeChild(testElement); |
56 </script> | 56 </script> |
57 </body> | 57 </body> |
58 </html> | 58 </html> |
OLD | NEW |