tor-browser

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

flexbox_computedstyle_min-width-auto.html (623B)


      1 <!DOCTYPE html>
      2 <title>flexbox | computed style | min-width: 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 }
     12 body {
     13 color: red;
     14 min-width: auto;
     15 }
     16 </style>
     17 <div id="log"></div>
     18 <script>
     19 test(function() {
     20    var body = document.body;
     21 
     22    assert_equals(getComputedStyle(body).getPropertyValue("min-width"),
     23           "auto");
     24 });
     25 </script>