summaryrefslogtreecommitdiffstats
path: root/layout/reftests/writing-mode/1156021-text-indent-percent-ref.html
blob: 0bb7fcba82819b1f7ad1fa0bf37eabaf1e9e5e68 (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
38
39
40
41
42
43
44
45
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
body {
  font-size: 10px;
}
div {
  width: 100px;
  height: 200px;
  margin: 5px;
  border: 1px solid silver;
  display: inline-block;
  vertical-align: top;
}
p {
  inline-size: 100%;
  margin: 0;
}
span {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: green;
  position: relative;
}
</style>
</head>
<body>
<div> <p><span style="left: 20px;"></span></p> </div>
<div> <p><span style="left: 60px;"></span></p> </div>
<div> <p><span style="top: 40px;"></span></p> </div>
<div> <p><span style="top: 140px;"></span></p> </div>
<div> <p><span style="top: 40px; left: 80px;"></span></p> </div>
<div> <p><span style="top: 140px; left: 80px;"></span></p> </div>
<br>
<div> <p><span style="left: 20px;"></span></p> </div>
<div> <p><span style="left: 60px;"></span></p> </div>
<div> <p><span style="top: 40px;"></span></p> </div>
<div> <p><span style="top: 140px;"></span></p> </div>
<div> <p><span style="top: 40px;"></span></p> </div>
<div> <p><span style="top: 140px;"></span></p> </div>
</body>
</html>