blob: 3256b4c76c52cdd3ca5dbff18305f259b0221268 [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, host.firstChild, 0, container.lastChild, container.lastChild.data.length);
</script>
</body>
</html>