| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../../resources/js-test.js"></script> |
| 5 <script src="../../dom/shadow/resources/shadow-dom.js"></script> | 5 <script src="../../dom/shadow/resources/shadow-dom.js"></script> |
| 6 <script> | 6 <script> |
| 7 shouldBeDefined("window.internals"); | 7 shouldBeDefined("window.internals"); |
| 8 | 8 |
| 9 var borderColor; | 9 var borderColor; |
| 10 | 10 |
| 11 function borderColorShouldBe(node, color) | 11 function borderColorShouldBe(node, color) |
| 12 { | 12 { |
| 13 borderColor = document.defaultView.getComputedStyle(node, null).getPropertyV
alue('border-color'); | 13 borderColor = document.defaultView.getComputedStyle(node, null).getPropertyV
alue('border-color'); |
| 14 shouldBeEqualToString('borderColor', color); | 14 shouldBeEqualToString('borderColor', color); |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 testNestedShadow(); | 234 testNestedShadow(); |
| 235 testMultipleShadow(); | 235 testMultipleShadow(); |
| 236 testOrderOfApplyStyle(); | 236 testOrderOfApplyStyle(); |
| 237 } | 237 } |
| 238 </script> | 238 </script> |
| 239 </head> | 239 </head> |
| 240 <body onload="runTests()"> | 240 <body onload="runTests()"> |
| 241 <div id='sandbox'></div> | 241 <div id='sandbox'></div> |
| 242 </body> | 242 </body> |
| 243 </html> | 243 </html> |
| OLD | NEW |