Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <html> | |
| 3 <head> | |
| 4 <script src="../../../resources/testharness.js"></script> | |
| 5 <script src="../../../resources/testharnessreport.js"></script> | |
| 6 <link rel="import" href="resources/custom-element-style.html"> | |
| 7 </head> | |
| 8 <body> | |
| 9 <x-test></x-test> | |
| 10 <script> | |
| 11 test(function(){ | |
|
dominicc (has gone to gerrit)
2014/03/18 23:55:28
This test appears to have no assertions? Is this a
| |
| 12 var x = document.querySelector('x-test'); | |
| 13 var port = x.shadowRoot.querySelector('style').sheet.cssRules[0]; | |
| 14 console.log(port.cssText); | |
| 15 console.log(port.styleSheet); | |
| 16 }, "The @import sytle in custom element shadow DOM blocks following script eleme nt."); | |
| 17 </script> | |
| 18 </body> | |
| 19 </html> | |
| OLD | NEW |