aboutsummaryrefslogtreecommitdiffstats
path: root/test/render/flex/-css-flexbox-row-wrap-reverse.htm
blob: e0e2529ec147b4f2a474471d0f4a44af7f38e03b (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
46
<!DOCTYPE html>
<html>
<!-- Mirrored from test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/css-flexbox-row-wrap-reverse.htm by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 23 Dec 2023 16:15:11 GMT -->
<head>
    <meta charset="utf-8">
    <title>CSS Flexbox Test: flex direction: row, writing mode vertical</title>
    <link href="mailto:info@ogaoga.org" rel="author" title="Tsutomu ogaoga Ogasawara">
    <link href="http://fantasai.inkedblade.net/contact" rel="reviewer" title="Elika J Etemad">
    <!-- You must have at least one spec link, but may have as many as are covered in the test. -->
    <!-- Be sure to make the main testing area first in the order -->
    <link href="http://www.w3.org/TR/css-flexbox-1/#flex-flow-property" rel="help">
    <link href="http://www.w3.org/TR/css-writing-modes-3/#block-flow" rel="help">
    <!-- The match link is only required if this is a reftest -->
    <link href="http://test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/reference/css-flexbox-row-ref.htm" rel="match">
    <meta content="" name="flags">
    <meta content="Test checks that when writing mode is vertical and flex-flow: row wrap-reverse, the flex container is vertical." name="assert">
    <style type="text/css">
        .container {
            display: flex;
            flex-flow: row wrap-reverse;
            writing-mode: vertical-rl;
            border: 2px solid black;
            height: 90px;
        }
        .item {
            width: 15px;
            height: 45px;

            /* make sure UA that doesn't support writing mode and flexbox fails. */
            float: right;
        }
    </style>
</head>
<body>
<p>Pass condition: 4 rectangles, with colors in clockwise order starting from top-left: grey, orange, blue, yellow.
  </p><div class="container">
    <div style="background: grey" class="item"></div>
    <div style="background: yellow" class="item"></div>
    <div style="background: orange" class="item"></div>
    <div style="background: blue" class="item"></div>
  </div>


</body>
<!-- Mirrored from test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/css-flexbox-row-wrap-reverse.htm by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 23 Dec 2023 16:15:11 GMT -->
</html>