summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/528038-1f.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/528038-1f.html')
-rw-r--r--layout/reftests/bugs/528038-1f.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/layout/reftests/bugs/528038-1f.html b/layout/reftests/bugs/528038-1f.html
new file mode 100644
index 000000000..edc91dec2
--- /dev/null
+++ b/layout/reftests/bugs/528038-1f.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <script>
+ window.onload = function() {
+ document.body.offsetWidth;
+ document.getElementById("foo").style.top = "200px";
+ };
+ </script>
+ </head>
+ <body style="font-size: 0"><span id="foo"><span style="position: relative; top: inherit; display: block; font-size: medium">This text should be 200px from the top of the body</span></span></body>
+</html>