6 testRunner.waitUntilDone();
9 var sandbox = document.getElementById('sandbox');
10 var host = document.createElement('p');
11 var shadowRoot = host.createShadowRoot();
12 shadowRoot.innerHTML = '<style>div { width: 100px; height: 100px; }</style><div></div>';
13 sandbox.appendChild(host);
14 document.body.offsetLeft;
15 shadowRoot.styleSheets[0].insertRule('@import url(../resources/css-insert-import-rule.css);', 0);
17 setTimeout(function(){
18 if (window.testRunner)
19 testRunner.notifyDone();
24 <body onload="runTest()";>
25 <div id='sandbox'></div>