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