summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/384876-1-ref.html
blob: e3fc7e0616969cde2decc08b64bc079ed7ce6df6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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>