blob: 15c7647415689d9d500c18d247c6bd09d14e2cb1 [file] [log] [blame]
zalan@apple.com4ec72be2015-04-29 21:32:07 +00001<!DOCTYPE html>
2<html>
3<head>
4<title>This tests that simple line layout manages text fragments when they overlap multiple renderers.</title>
5<style>
6pre {
7 width: 45px;
8 word-wrap: break-word;
9 white-space: pre-wrap;
10}
11</style>
12</head>
13<body>
14The test passes if it does not hang or crash.
15<pre id=container></pre>
16<script>
17 var container = document.getElementById("container");
18 container.appendChild(document.createTextNode("A foo"));
19 container.appendChild(document.createTextNode("bar foobar"));
20 document.body.offsetWidth;
21</script>
22</body>
23</html>