summaryrefslogtreecommitdiffstats
path: root/layout/reftests/writing-mode/1094914-1b.html
blob: e815348adaae13d735b5d59c888fa0c758d4256a (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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
#outer {
  margin: 0px;
  background: #ddd;
  font-size: 0;
  width: 300px;
}

#test1 {
  writing-mode: vertical-rl;

  height: 50px;
  width: 100px;

  margin-top: 10px;
  margin-bottom: 0px;
  margin-left: 50px;
  margin-right: 0px;

  border-top: 10px solid blue;
  border-left: 20px solid red;
  border-right: 30px solid green;
  border-bottom: 40px solid gray;

  display: inline-block;
  background: yellow;
}
</style>
</head>

<body>

<div id="outer">
  <div id="test1">
  </div>
</div>

</body>
</html>