tor-browser

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

zoom-with-sign-function.html (484B)


      1 <!DOCTYPE html>
      2 <link rel="help" href="https://drafts.csswg.org/css-values-4/#sign-funcs">
      3 <script src="/resources/testharness.js"></script>
      4 <script src="/resources/testharnessreport.js"></script>
      5 <script src="../../support/numeric-testcommon.js"></script>
      6 <style>
      7 #target {
      8  font-size: 10px;
      9 }
     10 </style>
     11 <div id="target"></div>
     12 <script>
     13  test_math_used('calc(sign(1em - 1px) * 2)', '2', {prop:'zoom'});
     14  test_math_used('calc(sign(1em - 1px) * 2%)', '2%', {prop:'zoom'});
     15 </script>