OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
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 | 6 |
7 #test1 :not(.evenclass1) { background-color: green; } | 7 #test1 :not(.evenclass1) { background-color: green; } |
8 #test1 :not(h1) { background-color: blue; } | 8 #test1 :not(h1) { background-color: blue; } |
9 #test1 span { background-color: red; } | 9 #test1 span { background-color: red; } |
10 | 10 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 | 92 |
93 el = document.getElementById("span41"); | 93 el = document.getElementById("span41"); |
94 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('back
ground-color')", "'rgb(0, 128, 0)'"); | 94 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('back
ground-color')", "'rgb(0, 128, 0)'"); |
95 | 95 |
96 el = document.getElementById("span42"); | 96 el = document.getElementById("span42"); |
97 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('back
ground-color')", "'rgb(0, 0, 255)'"); | 97 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('back
ground-color')", "'rgb(0, 0, 255)'"); |
98 | 98 |
99 el = document.getElementById("span43"); | 99 el = document.getElementById("span43"); |
100 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('back
ground-color')", "'rgb(0, 128, 0)'"); | 100 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('back
ground-color')", "'rgb(0, 128, 0)'"); |
101 </script> | 101 </script> |
102 <script src="../js/resources/js-test-post.js"></script> | |
103 </body> | 102 </body> |
104 </html> | 103 </html> |
OLD | NEW |