| 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 18 matching lines...) Expand all Loading... |
| 29 description('Test that directionality of an element with dir=auto set is not det
ermined by the value of its child text form control.'); | 29 description('Test that directionality of an element with dir=auto set is not det
ermined by the value of its child text form control.'); |
| 30 | 30 |
| 31 var el = document.getElementById("left-to-right"); | 31 var el = document.getElementById("left-to-right"); |
| 32 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('bord
er-right-color')", "'rgb(255, 0, 0)'"); | 32 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('bord
er-right-color')", "'rgb(255, 0, 0)'"); |
| 33 el = document.getElementById("right-to-left1"); | 33 el = document.getElementById("right-to-left1"); |
| 34 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('bord
er-right-color')", "'rgb(0, 128, 0)'"); | 34 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('bord
er-right-color')", "'rgb(0, 128, 0)'"); |
| 35 el = document.getElementById("right-to-left2"); | 35 el = document.getElementById("right-to-left2"); |
| 36 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('bord
er-right-color')", "'rgb(0, 128, 0)'"); | 36 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('bord
er-right-color')", "'rgb(0, 128, 0)'"); |
| 37 document.getElementById("parentDiv").style.display = "none"; | 37 document.getElementById("parentDiv").style.display = "none"; |
| 38 </script> | 38 </script> |
| 39 <script src="../../js/resources/js-test-post.js"></script> | |
| 40 </body> | 39 </body> |
| 41 </html> | 40 </html> |
| OLD | NEW |