blob: daaab1697e38b4998dc6607f3098cb9d03d8c54c [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>This tests that slot subtree is included in innerText</title>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
</head>
<body>
<div id=container><slot id=sslot>if no crash or</slot></div>
<script>
container.insertBefore(document.createTextNode("Pass"), sslot);
container.appendChild(document.createTextNode("assert"));
document.body.offsetHeight;
document.body.innerText;
</script>
</body>
</html>