| 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 span.c1:nth-of-type(2n + 1){ color: red; } | 6 span.c1:nth-of-type(2n + 1){ color: red; } |
| 7 span.c1:nth-of-type(2n - 2){ color: green; } | 7 span.c1:nth-of-type(2n - 2){ color: green; } |
| 8 span.c2:nth-of-type(odd){ color: red; } | 8 span.c2:nth-of-type(odd){ color: red; } |
| 9 span.c2:nth-of-type(even){ color: green; } | 9 span.c2:nth-of-type(even){ color: green; } |
| 10 span.c3:nth-of-type(n3){ color: red; } | 10 span.c3:nth-of-type(n3){ color: red; } |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 | 62 |
| 63 el = document.getElementById("span32"); | 63 el = document.getElementById("span32"); |
| 64 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('colo
r')", "'rgb(0, 0, 0)'"); | 64 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('colo
r')", "'rgb(0, 0, 0)'"); |
| 65 | 65 |
| 66 el = document.getElementById("span41"); | 66 el = document.getElementById("span41"); |
| 67 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('colo
r')", "'rgb(0, 0, 0)'"); | 67 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('colo
r')", "'rgb(0, 0, 0)'"); |
| 68 | 68 |
| 69 el = document.getElementById("span42"); | 69 el = document.getElementById("span42"); |
| 70 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('colo
r')", "'rgb(0, 0, 0)'"); | 70 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('colo
r')", "'rgb(0, 0, 0)'"); |
| 71 </script> | 71 </script> |
| 72 <script src="../js/resources/js-test-post.js"></script> | |
| 73 </body> | 72 </body> |
| 74 </html> | 73 </html> |
| OLD | NEW |