blob: 30b49020c38fe1f696f1cdc8113a062409497abe [file] [log] [blame]
<!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>