blob: eedd574282d9eb28ba42c1ccac11b716d74dab93 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<div id="container"><span id="host">world WebKit</span> rocks</div>
<script src="resources/dump-attributed-string.js"></script>
<script>
const shadowRoot = host.attachShadow({mode: 'open'});
shadowRoot.innerHTML = 'hello <slot></slot>';
if (window.testRunner)
dumpAttributedString(container, shadowRoot, 0, host.firstChild, host.firstChild.data.indexOf('Kit'));
</script>
</body>
</html>