3 <body onload=
"runTest()";
>
4 <div id='sandbox'
></div>
7 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);
18 setTimeout(function(){
19 if (window
.testRunner
)
20 testRunner
.notifyDone();