10 <script src="../../../resources/js-test.js"></script>
18 description("Should not share style if sibling has different styles in older shadow roots");
20 document.body.offsetTop;
21 div1 = document.getElementById("sandbox").firstElementChild;
22 div2 = document.getElementById("sandbox").lastElementChild;
24 div2.createShadowRoot();
26 div1.createShadowRoot();
27 div1.createShadowRoot().innerHTML = "<style>:host { background: red; }</style>";
28 shouldBeEqualToString("getComputedStyle(div1).backgroundColor", "rgb(255, 0, 0)");