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 .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> |
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 <div id="parentDiv"> | 14 <div id="parentDiv"> |
15 <div id="parent1" dir="auto" class="testDiv"> | 15 <div id="parent1" dir="auto" class="testDiv"> |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 parent2.removeChild(child1) | 48 parent2.removeChild(child1) |
49 shouldBe("document.defaultView.getComputedStyle(parent2, null).getPropertyValue(
'border-right-color')", "'rgb(255, 0, 0)'"); | 49 shouldBe("document.defaultView.getComputedStyle(parent2, null).getPropertyValue(
'border-right-color')", "'rgb(255, 0, 0)'"); |
50 | 50 |
51 parent3.insertBefore(child1, child4); | 51 parent3.insertBefore(child1, child4); |
52 shouldBe("document.defaultView.getComputedStyle(parent3, null).getPropertyValue(
'border-right-color')", "'rgb(255, 0, 0)'"); | 52 shouldBe("document.defaultView.getComputedStyle(parent3, null).getPropertyValue(
'border-right-color')", "'rgb(255, 0, 0)'"); |
53 | 53 |
54 document.getElementById("parentDiv").style.display = "none"; | 54 document.getElementById("parentDiv").style.display = "none"; |
55 </script> | 55 </script> |
56 </body> | 56 </body> |
57 </html> | 57 </html> |
OLD | NEW |