<!DOCTYPE html>
<html>
<head>
<title>This tests that innerText works fine when a flow node is present in a simple line layout container.</title>
<style>
 .to {
     -webkit-flow-into: redirectToNowhere;
 }
</style>
<script>
	if (window.testRunner)
	  testRunner.dumpAsText();
</script>
</head>
<body><div id=foo>PASS if no crash or ASSERT in debug.<span class="to">f</span>o</div>
<script>
  document.getElementById("foo").innerText;
</script>
</body>