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