summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/495385-1f.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/bugs/495385-1f.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/layout/reftests/bugs/495385-1f.html b/layout/reftests/bugs/495385-1f.html
new file mode 100644
index 0000000000..c0f4e3d7d1
--- /dev/null
+++ b/layout/reftests/bugs/495385-1f.html
@@ -0,0 +1,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>