| 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="../../resources/js-test.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; } |
| 11 span.c3:nth-of-type(foo){ color: green; } | 11 span.c3:nth-of-type(foo){ color: green; } |
| 12 span.c4:nth-of-type(2n3){ color: red; } | 12 span.c4:nth-of-type(2n3){ color: red; } |
| 13 span.c4:nth-of-type(foon + bar ){ color: green; } | 13 span.c4:nth-of-type(foon + bar ){ color: green; } |
| 14 | 14 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 </body> | 72 </body> |
| 73 </html> | 73 </html> |
| OLD | NEW |