tor-browser

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

flexbox_computedstyle_flex-flow-column-wrap-reverse.html (921B)


      1 <!DOCTYPE html>
      2 <title>flexbox | computed style | flex-flow: column wrap-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">
      6 <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#valdef-flex-wrap-wrap-reverse">
      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-reverse;
     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-reverse");
     25 });
     26 </script>