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 textColor; | 9 var textColor; |
10 | 10 |
11 function shouldHaveTextColor(node, col) | 11 function shouldHaveTextColor(node, col) |
12 { | 12 { |
13 textColor = document.defaultView.getComputedStyle(node, null).getPropertyVal
ue('color'); | 13 textColor = document.defaultView.getComputedStyle(node, null).getPropertyVal
ue('color'); |
14 shouldBeEqualToString('textColor', col); | 14 shouldBeEqualToString('textColor', col); |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 testInsertScopedStyle(); | 295 testInsertScopedStyle(); |
296 testInsertStyle(); | 296 testInsertStyle(); |
297 testChangeScopedAttributeOffline(); | 297 testChangeScopedAttributeOffline(); |
298 } | 298 } |
299 </script> | 299 </script> |
300 </head> | 300 </head> |
301 <body onload="runTests()"> | 301 <body onload="runTests()"> |
302 <div id='sandbox'></div> | 302 <div id='sandbox'></div> |
303 </body> | 303 </body> |
304 </html> | 304 </html> |
OLD | NEW |