| 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 createDOM('content', {'id': 'content1'}))))), | 115 createDOM('content', {'id': 'content1'}))))), |
| 116 createDOM('div', {'class': 'content'}, | 116 createDOM('div', {'class': 'content'}, |
| 117 document.createTextNode('content')))); | 117 document.createTextNode('content')))); |
| 118 | 118 |
| 119 shouldBe('window.getComputedStyle(document.querySelector("#host1 > .content")).c
olor', '"rgb(0, 128, 0)"'); | 119 shouldBe('window.getComputedStyle(document.querySelector("#host1 > .content")).c
olor', '"rgb(0, 128, 0)"'); |
| 120 | 120 |
| 121 cleanUp(); | 121 cleanUp(); |
| 122 | 122 |
| 123 </script> | 123 </script> |
| 124 </html> | 124 </html> |
| OLD | NEW |