1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bugs/384876-1-ref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,37 @@ 1.4 +<html> 1.5 +<head> 1.6 + <title>Width:auto and padding</title> 1.7 +</head> 1.8 + 1.9 +<body> 1.10 + 1.11 +<div style="border-bottom:5px solid #000; 1.12 + overflow: hidden; 1.13 + background-color:#fbb; 1.14 + position: absolute; 1.15 + left:0px; 1.16 + top:20px"><div style="padding: 0px 0px 0px 45px;">The bottom border should end with my text (overflow:hidden)</div></div> 1.17 + 1.18 +<div style="border-bottom:5px solid #000; 1.19 + overflow: visible; 1.20 + background-color:#fbb; 1.21 + position: absolute; 1.22 + left:0px; 1.23 + top:60px"><div style="padding: 0px 0px 0px 45px;">The bottom border should end with my text (overflow:visible)</div></div> 1.24 + 1.25 +<div style="border-bottom:5px solid #000; 1.26 + overflow: auto; 1.27 + background-color:#fbb; 1.28 + position: absolute; 1.29 + left:0px; 1.30 + top:100px"><div style="padding: 0px 0px 0px 45px;">The bottom border should end with my text (overflow:auto)</div></div> 1.31 + 1.32 +<div style="border-bottom:5px solid #000; 1.33 + background-color:#fbb; 1.34 + position: absolute; 1.35 + left:0px; 1.36 + top:140px"><div style="padding: 0px 0px 0px 45px;">The bottom border should end with my text (no overflow defined)</div></div> 1.37 + 1.38 + 1.39 +</body> 1.40 +</html>