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 13 matching lines...) Expand all Loading... |
24 description('Test that directionality of an element with dir=auto set is determi
ned by the first child text node of that element.'); | 24 description('Test that directionality of an element with dir=auto set is determi
ned by the first child text node of that element.'); |
25 | 25 |
26 var el = document.getElementById("left-to-right"); | 26 var el = document.getElementById("left-to-right"); |
27 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('bord
er-right-color')", "'rgb(255, 0, 0)'"); | 27 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('bord
er-right-color')", "'rgb(255, 0, 0)'"); |
28 el = document.getElementById("right-to-left1"); | 28 el = document.getElementById("right-to-left1"); |
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 = document.getElementById("right-to-left2"); | 30 el = document.getElementById("right-to-left2"); |
31 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('bord
er-right-color')", "'rgb(0, 128, 0)'"); | 31 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('bord
er-right-color')", "'rgb(0, 128, 0)'"); |
32 document.getElementById("parentDiv").style.display = "none"; | 32 document.getElementById("parentDiv").style.display = "none"; |
33 </script> | 33 </script> |
34 <script src="../../js/resources/js-test-post.js"></script> | |
35 </body> | 34 </body> |
36 </html> | 35 </html> |
OLD | NEW |