summaryrefslogtreecommitdiff
path: root/layout/reftests/writing-mode/1127488-align-start-horizontal-tb-rtl.html
blob: 8ce6cb3a773f36a3975dd7141c5e24da7e7a5528 (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>CSS Writing Modes</title>
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
   <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#vertical-layout" title="7.1 Principles of Layout in Vertical Writing Modes">
  <style type="text/css">
  body {
    margin: 0;
  }
  div.outer {
    background: red url("right-top-300x300.png");
    height: 300px;
    width: 300px;
    text-align: start;
    writing-mode: horizontal-tb;
    direction: rtl;
  }
  div.inner {
    display: inline-block;
    background-color: green;
    height: 100px;
    width: 100px;
  }
  </style>
 </head>
 <body>
  <div class="outer"><div class="inner"></div></div>
 </body>
</html>