tor-browser

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

flexbox_computedstyle_flex-flow-row-reverse-nowrap.html (917B)


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