flexbox_computedstyle_flex-flow-column-wrap.html (889B)
1 <!DOCTYPE html> 2 <title>flexbox | computed style | flex-flow: column wrap</title> 3 <link rel="author" href="http://opera.com" title="Opera Software"> 4 <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-flow-property"> 5 <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#valdef-flex-direction-column"> 6 <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#valdef-flex-wrap-wrap"> 7 <script src="/resources/testharness.js"></script> 8 <script src="/resources/testharnessreport.js"></script> 9 <meta name="flags" content="dom"> 10 <style> 11 body { 12 color: red; 13 flex-flow: column wrap; 14 } 15 </style> 16 <div id="log"></div> 17 <script> 18 test(function() { 19 var body = document.body; 20 21 assert_equals(getComputedStyle(body).getPropertyValue("flex-direction"), 22 "column"); 23 assert_equals(getComputedStyle(body).getPropertyValue("flex-wrap"), 24 "wrap"); 25 }); 26 </script>