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