OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
5 <script src="../../js/resources/js-test-pre.js"></script> | 5 <script src="../../js/resources/js-test-pre.js"></script> |
6 <style> | 6 <style> |
7 .testElement {-webkit-border-start: 5px solid green; -webkit-border-end: 5px sol
id red; } | 7 .testElement {-webkit-border-start: 5px solid green; -webkit-border-end: 5px sol
id red; } |
8 </style> | 8 </style> |
9 </head> | 9 </head> |
10 <body> | 10 <body> |
(...skipping 15 matching lines...) Expand all Loading... |
26 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('bord
er-right-color')", "'rgb(255, 0, 0)'"); | 26 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('bord
er-right-color')", "'rgb(255, 0, 0)'"); |
27 | 27 |
28 el = document.getElementById("text2"); | 28 el = document.getElementById("text2"); |
29 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('bord
er-right-color')", "'rgb(0, 128, 0)'"); | 29 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('bord
er-right-color')", "'rgb(0, 128, 0)'"); |
30 el.setAttribute("dir", "ltr"); | 30 el.setAttribute("dir", "ltr"); |
31 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('bord
er-right-color')", "'rgb(255, 0, 0)'"); | 31 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('bord
er-right-color')", "'rgb(255, 0, 0)'"); |
32 | 32 |
33 el = document.getElementById("parentDiv"); | 33 el = document.getElementById("parentDiv"); |
34 el.style.display = "none"; | 34 el.style.display = "none"; |
35 </script> | 35 </script> |
36 <script src="../../js/resources/js-test-post.js"></script> | |
37 </body> | 36 </body> |
38 </html> | 37 </html> |
OLD | NEW |