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="../../../resources/js-test.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> |
11 <p id="description"></p> | 11 <p id="description"></p> |
12 <div id="console"></div> | 12 <div id="console"></div> |
13 <div id="result"></div> | 13 <div id="result"></div> |
14 | 14 |
15 <div id="parentDiv"> | 15 <div id="parentDiv"> |
(...skipping 12 matching lines...) Expand all Loading... |
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 </body> | 36 </body> |
37 </html> | 37 </html> |
OLD | NEW |