summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/495385-1f.html
blob: c0f4e3d7d1b44fd0298b5a9a1ff573d40d8c419d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE HTML>
<html>
<!-- Test that 'white-space' creates text frames between blocks (dynamically) when necessary -->
<head>
<script>
function loaded() {
  document.body.offsetHeight;
  document.body.style.whiteSpace = 'pre-wrap';
}
</script>
</head>
<body onload="loaded()" style="border:1px solid black;">  Hello<div></div>  Hello
<div></div>
Hello</body></html>