summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/384876-1-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/384876-1-ref.html')
-rw-r--r--layout/reftests/bugs/384876-1-ref.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/layout/reftests/bugs/384876-1-ref.html b/layout/reftests/bugs/384876-1-ref.html
new file mode 100644
index 0000000000..e3fc7e0616
--- /dev/null
+++ b/layout/reftests/bugs/384876-1-ref.html
@@ -0,0 +1,37 @@
+<html>
+<head>
+ <title>Width:auto and padding</title>
+</head>
+
+<body>
+
+<div style="border-bottom:5px solid #000;
+ overflow: hidden;
+ background-color:#fbb;
+ position: absolute;
+ left:0px;
+ top:20px"><div style="padding: 0px 0px 0px 45px;">The bottom border should end with my text (overflow:hidden)</div></div>
+
+<div style="border-bottom:5px solid #000;
+ overflow: visible;
+ background-color:#fbb;
+ position: absolute;
+ left:0px;
+ top:60px"><div style="padding: 0px 0px 0px 45px;">The bottom border should end with my text (overflow:visible)</div></div>
+
+<div style="border-bottom:5px solid #000;
+ overflow: auto;
+ background-color:#fbb;
+ position: absolute;
+ left:0px;
+ top:100px"><div style="padding: 0px 0px 0px 45px;">The bottom border should end with my text (overflow:auto)</div></div>
+
+<div style="border-bottom:5px solid #000;
+ background-color:#fbb;
+ position: absolute;
+ left:0px;
+ top:140px"><div style="padding: 0px 0px 0px 45px;">The bottom border should end with my text (no overflow defined)</div></div>
+
+
+</body>
+</html>