<!DOCTYPE html>
<html>
<body>
<div id="container">hello <span id="host">world</span> rocks</div>
<script src="resources/dump-attributed-string.js"></script>
<script>

const shadowRoot = host.attachShadow({mode: 'open'});
shadowRoot.innerHTML = '<slot></slot> WebKit';

if (window.testRunner)
    dumpAttributedString(container, host.firstChild, 0, container.lastChild, container.lastChild.data.length);

</script>
</body>
</html>
