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 .testDiv {-webkit-border-start: 5px solid green; -webkit-border-end: 5px solid r
ed; } | 7 .testDiv {-webkit-border-start: 5px solid green; -webkit-border-end: 5px solid r
ed; } |
8 </style> | 8 </style> |
9 </head> | 9 </head> |
10 <body> | 10 <body> |
(...skipping 24 matching lines...) Expand all Loading... |
35 | 35 |
36 child2.innerHTML = "Test"; | 36 child2.innerHTML = "Test"; |
37 shouldBe("document.defaultView.getComputedStyle(child2, null).getPropertyValue('
border-right-color')", "'rgb(255, 0, 0)'"); | 37 shouldBe("document.defaultView.getComputedStyle(child2, null).getPropertyValue('
border-right-color')", "'rgb(255, 0, 0)'"); |
38 | 38 |
39 el.setAttribute("dir", "auto"); | 39 el.setAttribute("dir", "auto"); |
40 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('bord
er-right-color')", "'rgb(0, 128, 0)'"); | 40 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('bord
er-right-color')", "'rgb(0, 128, 0)'"); |
41 shouldBe("document.defaultView.getComputedStyle(child2, null).getPropertyValue('
border-right-color')", "'rgb(255, 0, 0)'"); | 41 shouldBe("document.defaultView.getComputedStyle(child2, null).getPropertyValue('
border-right-color')", "'rgb(255, 0, 0)'"); |
42 | 42 |
43 el.style.display = "none"; | 43 el.style.display = "none"; |
44 </script> | 44 </script> |
45 <script src="../../js/resources/js-test-post.js"></script> | |
46 </body> | 45 </body> |
47 </html> | 46 </html> |
OLD | NEW |