summaryrefslogtreecommitdiffstats
path: root/layout/reftests/writing-mode/1147834-relative-overconstrained-vertical-rl-rtl.html
blob: c6645d489fafb33b06e2721747c9b5f943efb272 (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
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Overconstrained relative positioning</title>
    <style>
    .test {
      border: 1px solid black;
      height: 200px;
      width:  400px;
      writing-mode: vertical-rl;
      direction: rtl;
    }
    #inner1 {
      position: relative;
      left: 40px;
      right: 40px;
      top: 20px;
      bottom: 20px;
      height: 180px;
      width: 360px;
      background-color: teal;
    }
    </style>
  </head>
  <body>
    <div class="test">
      <div id="inner1"></div>
    </div>
  </body>
</html>