tor-browser

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

flexbox_computedstyle_min-height-auto.html (651B)


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