| 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 div.class { background-color: red; } | 6 div.class { background-color: red; } |
| 7 div.class:nth-of-type(3n | 7 div.class:nth-of-type(3n |
| 8 + 1) {background-color: green;} | 8 + 1) {background-color: green;} |
| 9 </style> | 9 </style> |
| 10 | 10 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 el = document.getElementById("second"); | 26 el = document.getElementById("second"); |
| 27 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('back
ground-color')", "'rgb(255, 0, 0)'"); | 27 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('back
ground-color')", "'rgb(255, 0, 0)'"); |
| 28 | 28 |
| 29 el = document.getElementById("third"); | 29 el = document.getElementById("third"); |
| 30 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('back
ground-color')", "'rgb(255, 0, 0)'"); | 30 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('back
ground-color')", "'rgb(255, 0, 0)'"); |
| 31 | 31 |
| 32 el = document.getElementById("fourth"); | 32 el = document.getElementById("fourth"); |
| 33 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('back
ground-color')", "'rgb(0, 128, 0)'"); | 33 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('back
ground-color')", "'rgb(0, 128, 0)'"); |
| 34 </script> | 34 </script> |
| 35 <script src="../js/resources/js-test-post.js"></script> | |
| 36 </body> | 35 </body> |
| 37 </html> | 36 </html> |
| OLD | NEW |