2 <script src="resources/shadow-dom.js"></script>
3 <script src="../../../resources/js-test.js"></script>
5 .hello, div::shadow .hello {
8 .world, div::shadow .world {
13 .world, div::shadow .world {
19 description('crbug.com/396585: ShadowDom CSS doesn\'t merge style');
21 document.body.appendChild(
22 createDOM('div', {'id': 'host'},
24 createDOM('span', {'class': 'hello' },
25 document.createTextNode("Hello, ")),
26 createDOM('span', {'id': 'world', 'class': 'hello world' },
27 document.createTextNode("World")))));
29 shouldBe('window.getComputedStyle(getNodeInTreeOfTrees("host/world")).color', '"rgb(255, 255, 0)"');