blob: 23b1d63ed8239274bc0e6adf2b6b4b1a11083a09 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>This tests that innerText works fine with new line characters. (replacing them with space)</title>
</head>
<body>
<div style="font: 0/0 a;">
foo
bar
</div>
<div id=result></div>
<script>
document.getElementById("result").innerHTML = document.body.innerText;
</script>
</body>