tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

flexbox_computedstyle_flex-flow-column-reverse.html (830B)


      1 <!DOCTYPE html>
      2 <title>flexbox | computed style | flex-flow: column-reverse</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-reverse">
      6 <script src="/resources/testharness.js"></script>
      7 <script src="/resources/testharnessreport.js"></script>
      8 <meta name="flags" content="dom">
      9 <style>
     10 body {
     11 color: red;
     12 flex-flow: column-reverse;
     13 }
     14 </style>
     15 <div id="log"></div>
     16 <script>
     17 test(function() {
     18    var body = document.body;
     19 
     20    assert_equals(getComputedStyle(body).getPropertyValue("flex-direction"),
     21           "column-reverse");
     22    assert_equals(getComputedStyle(body).getPropertyValue("flex-wrap"),
     23           "nowrap");
     24 });
     25 </script>