20 lines
456 B
HTML
20 lines
456 B
HTML
<!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>
|