haikuwebkit/LayoutTests/fast/text/simple-line-layout-wrapping...

24 lines
584 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>This tests that simple line layout manages text fragments when they overlap multiple renderers.</title>
<style>
pre {
width: 45px;
word-wrap: break-word;
white-space: pre-wrap;
}
</style>
</head>
<body>
The test passes if it does not hang or crash.
<pre id=container></pre>
<script>
var container = document.getElementById("container");
container.appendChild(document.createTextNode("A foo"));
container.appendChild(document.createTextNode("bar foobar"));
document.body.offsetWidth;
</script>
</body>
</html>