summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1130231-2-button-padding-rtl-ref.html
blob: 2b7b24c661b85d93c38aac94f17bab4d3d33a95d (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
<!doctype html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title>Bug 1130231</title>
	<style type="text/css">
	div {
	    width: 300px;
	    height: 50px;
	    border: 1px solid blue;
	    margin: 10px;
	    padding: 2px;
	}
	.inner {
		padding-left: 100px;
		padding-right: 50px;
		border: 5px solid black;
		border-left: 20px solid red;
		border-right: 10px solid green;
	}
	.right {
		padding-right: 100px;
		padding-left: 50px;
	}
	</style>
</head>
<html>
<body>
<div>
  <button class="inner">|button|</button>
</div>
<div style="text-align:right">
  <button class="inner right">|button|</button>
</div>
</body>
</html>