| 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="../../js/resources/js-test-pre.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 <div id='sandbox'></div> | 7 <div id='sandbox'></div> |
| 8 <div id="console"></div> | 8 <div id="console"></div> |
| 9 <script> | 9 <script> |
| 10 var sandbox = document.getElementById('sandbox'); | 10 var sandbox = document.getElementById('sandbox'); |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 shouldBe('style.sheet', 'null') | 26 shouldBe('style.sheet', 'null') |
| 27 shouldBe('sheet.ownerNode', 'null') | 27 shouldBe('sheet.ownerNode', 'null') |
| 28 shouldBe('sheet.cssRules[0].cssText[0]', '"*"') | 28 shouldBe('sheet.cssRules[0].cssText[0]', '"*"') |
| 29 | 29 |
| 30 debug("Re-adding <style>..."); | 30 debug("Re-adding <style>..."); |
| 31 shadowRoot.appendChild(style); | 31 shadowRoot.appendChild(style); |
| 32 shouldBe('sheet.ownerNode', 'null') | 32 shouldBe('sheet.ownerNode', 'null') |
| 33 shouldBe('style.sheet === sheet', 'false') | 33 shouldBe('style.sheet === sheet', 'false') |
| 34 shouldBe('style.sheet.ownerNode', 'style') | 34 shouldBe('style.sheet.ownerNode', 'style') |
| 35 </script> | 35 </script> |
| 36 <script src="../../js/resources/js-test-post.js"></script> | |
| 37 </body> | 36 </body> |
| 38 </html> | 37 </html> |
| OLD | NEW |