order-with-column-reverse.html (1065B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Test: flex container layout lowest order with column-reverse direction</title> 5 <link rel="author" title="tmtysk" href="mailto:tmtysk@gmail.com"> 6 <link rel="reviewer" title="Tab Atkins" href="mailto:jackalmage@gmail.com"> 7 <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#order-property"> 8 <link rel="match" href="order-with-column-reverse-ref.html"> 9 <meta name="assert" content="This test check that a flex container layouts out its content starting with the lowest numbered ordinal group and going up with column-reverse direction."> 10 <style> 11 #test { 12 display: flex; 13 flex-direction: column-reverse; 14 } 15 16 #first { 17 order: 3; 18 } 19 20 #second { 21 order: 2; 22 } 23 24 #third { 25 order: 1; 26 } 27 p { 28 margin: 0; 29 } 30 </style> 31 </head> 32 <body> 33 <p>Test passes if the paragraph below reads 'First,Second,Third' from top.</p> 34 <div id="test"> 35 <p id="second">Second,</p> 36 <p id="first">First,</p> 37 <p id="third">Third</p> 38 </div> 39 </body> 40 </html>