summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/flex-direction-row-vertical-ref.html
blob: 71ecabb6d9041ba419fb4525b5d89daf732157d8 (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>
 <head>
  <title>CSS Reference: flex-direction:row has the same orientation as inline axis</title>
  <style>
    #vertical {
      writing-mode: vertical-lr;
    }

    .test {
      display: flex;
      width: 3em;
      flex-direction: row;
    }

    .test > span {
      width: 1em;
    }
  </style>
 </head>
 <body>
  <p>Test passes if both the two columns below are identical.</p>
  <div id="vertical">
    <div class="test">
      <span>A</span><span>B</span><span>C</span>
    </div>
    <div class="test">
      <span>A</span><span>B</span><span>C</span>
    </div>
  </div>
 </body>
</html>