4 <title>CSS Flexbox Test: Flex-direction = column
</title>
5 <link rel=
"author" title=
"Gavin Elster" href=
"mailto:gavin.elster@me.com">
6 <link rel=
"reviewer" title=
"Elika J. Etemad" href=
"http://fantasai.inkedblade.net/contact">
7 <link rel=
"help" href=
"http://www.w3.org/TR/css-flexbox-1/#flex-direction-property">
8 <link rel=
"match" href=
"reference/flexbox-flex-direction-ref.htm" />
9 <meta name=
"flags" content=
"">
10 <meta name=
"assert" content=
"Test checks that flex container's main axis has the same orientation as the block axis of the current writing mode, when flex-direction = column. This assumes writing-direction = horizontal-tb', and direction = 'ltr'.">
13 /* Test specific Styles */
17 flex-direction: column;
21 /* Test-series styles */
27 /* should only display on error */
30 /* Enforce writing mode */
32 writing-mode: horizontal-tb;
40 border:
1px solid limegreen;
45 vertical-align: middle;
50 <p>The test passes if there is a
3x3 grid of green squares, numbered
1-
9 left-to-right and top-to-bottom, and there is no red.
</p>
51 <div class=
"flex-wrapper">
52 <div>1</div><div>4</div><div>7</div>
53 <div>2</div><div>5</div><div>8</div>
54 <div>3</div><div>6</div><div>9</div>