summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1130231-2-button-padding-rtl.html
blob: 4050d2383a662ea7348edb78fe334ec9e25a9eb3 (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
<!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-inline-start: 100px;
		padding-inline-end: 50px;
		border: 5px solid black;
		border-left: 20px solid red;
		border-right: 10px solid green;
	}
	</style>
</head>
<html>
<body>
<div>
  <button class="inner">|button|</button>
</div>
<div dir=rtl>
  <button class="inner">|button|</button>
</div>
</body>
</html>