mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 12:37:37 +00:00
15 lines
367 B
HTML
15 lines
367 B
HTML
<!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>
|