summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/fieldset/positioned-container-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/forms/fieldset/positioned-container-1.html')
-rw-r--r--layout/reftests/forms/fieldset/positioned-container-1.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/layout/reftests/forms/fieldset/positioned-container-1.html b/layout/reftests/forms/fieldset/positioned-container-1.html
new file mode 100644
index 000000000..04e81ca6b
--- /dev/null
+++ b/layout/reftests/forms/fieldset/positioned-container-1.html
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML>
+<html>
+<body>
+<fieldset id="f" style="position:relative; overflow:hidden; width:500px; height:500px;">
+ <legend>Legend</legend>
+ <div style="height:1000px;">
+ <div style="position:absolute; padding:2px; left:20px; top:50px; background:yellow;">Abs-pos</div>
+ </div>
+</fieldset>
+<script>
+f.scrollTop = 30;
+</script>
+</body>
+</html>