summaryrefslogtreecommitdiffstats
path: root/layout/reftests/abs-pos/button-2-ref.html
blob: fd2cc66af1a3cd483f692f05e87c483daedb2385 (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
<!doctype html>
<html>
<head>
<style>
div {
position:relative;
padding:0;
background:green;
width: 200px;
height: 100px;
border:none;
text-align: left;
font: 12px serif;
}
div span {
display:block;
position:absolute;
right:0;
top:0;
width:10px;
height:100%;
background:red;
}
</style>
</head>
<body>
<div>
<span></span>
</div>
</body>
</html>