summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/890495-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/890495-1.html')
-rw-r--r--layout/reftests/bugs/890495-1.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layout/reftests/bugs/890495-1.html b/layout/reftests/bugs/890495-1.html
new file mode 100644
index 0000000000..7acf6aa7ed
--- /dev/null
+++ b/layout/reftests/bugs/890495-1.html
@@ -0,0 +1,17 @@
+<html>
+<head>
+<script type="text/javascript">
+function run() {
+ document.documentElement.offsetLeft;
+ var leg = document.getElementById('leg');
+ leg.style.marginLeft = '100px';
+}
+</script>
+</head>
+<body onload="run();">
+<fieldset>
+ <legend id="leg">Legend</legend>
+ fieldset contents
+</fieldset>
+</body>
+</html>