OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="resources/shadow-dom.js"></script> | 4 <script src="resources/shadow-dom.js"></script> |
5 <script src="../../../resources/js-test.js"></script> | 5 <script src="../../../resources/js-test.js"></script> |
6 </head> | 6 </head> |
7 <body class="bodyClass"> | 7 <body class="bodyClass"> |
8 <div id="sandbox"></div> | 8 <div id="sandbox"></div> |
9 <pre id="console"></pre> | 9 <pre id="console"></pre> |
10 </body> | 10 </body> |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 createDOM('content', {'id': 'content1'}))))), | 91 createDOM('content', {'id': 'content1'}))))), |
92 createDOM('div', {'class': 'content'}, | 92 createDOM('div', {'class': 'content'}, |
93 document.createTextNode('content')))); | 93 document.createTextNode('content')))); |
94 | 94 |
95 shouldNotBe('window.getComputedStyle(document.querySelector("#host1 > .content")
).color', '"rgb(255, 0, 0)"'); | 95 shouldNotBe('window.getComputedStyle(document.querySelector("#host1 > .content")
).color', '"rgb(255, 0, 0)"'); |
96 | 96 |
97 cleanUp(); | 97 cleanUp(); |
98 | 98 |
99 </script> | 99 </script> |
100 </html> | 100 </html> |
OLD | NEW |