diff options
Diffstat (limited to 'layout/reftests/bugs/495385-1e.html')
-rw-r--r-- | layout/reftests/bugs/495385-1e.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/layout/reftests/bugs/495385-1e.html b/layout/reftests/bugs/495385-1e.html new file mode 100644 index 000000000..29adcb1b4 --- /dev/null +++ b/layout/reftests/bugs/495385-1e.html @@ -0,0 +1,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> |