summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/665597-1-ref.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/bugs/665597-1-ref.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/layout/reftests/bugs/665597-1-ref.html b/layout/reftests/bugs/665597-1-ref.html
new file mode 100644
index 0000000000..154988d4af
--- /dev/null
+++ b/layout/reftests/bugs/665597-1-ref.html
@@ -0,0 +1,23 @@
+<!DOCTYPE HTML>
+<title>Test that overflowing margins and padding on scrollable element add</title>
+<style>
+#scroll {
+ overflow: scroll; background: yellow;
+ height: 111px; width: 116px;
+}
+
+#content {
+ height: 223px;
+ margin-right: 5px;
+ margin-left: 11px;
+ background: aqua;
+}
+#gap {
+ height: 35px;
+}
+
+</style>
+<div id="scroll"><div id="content"></div><div id="gap"></div></div>
+<script>
+document.getElementById("scroll").scrollTop = "1000";
+</script>