tor-browser

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

flow-tolerance-computed.html (1034B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Grid Lanes: flow-tolerance getComputedStyle()</title>
      6 <link rel="help" href="https://drafts.csswg.org/css-grid-3">
      7 <link rel="author" title="Sam Davis Omekara Jr." href="mailto:samomekarajr@microsoft.com">
      8 <meta name="assert" content="flow-tolerance computed value is as specified.">
      9 <script src="/resources/testharness.js"></script>
     10 <script src="/resources/testharnessreport.js"></script>
     11 <script src="/css/support/computed-testcommon.js"></script>
     12 </head>
     13 <body>
     14 <div id="target"></div>
     15 <style>
     16  #target {
     17    font-size: 40px;
     18  }
     19 </style>
     20 <script>
     21 test_computed_value("flow-tolerance", "normal");
     22 test_computed_value("flow-tolerance", "infinite");
     23 
     24 test_computed_value("flow-tolerance", "10px");
     25 test_computed_value("flow-tolerance", "20%");
     26 test_computed_value("flow-tolerance", "calc(20% + 10px)");
     27 
     28 test_computed_value("flow-tolerance", "calc(-0.5em + 10px)", "0px");
     29 test_computed_value("flow-tolerance", "calc(0.5em + 10px)", "30px");
     30 </script>
     31 </body>
     32 </html>