tor-browser

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

transform-important.html (575B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <title>CSS Transforms: !important flag parsing</title>
      5    <link rel="help" href="https://crbug.com/340100643">
      6    <script src="/resources/testharness.js"></script>
      7    <script src="/resources/testharnessreport.js"></script>
      8  </head>
      9  <body>
     10    <div id="target" style="transform: translateX(10px) !important; will-change: transform !important">Some text.</div>
     11  </body>
     12  <script>
     13 test(() => {
     14  assert_equals(target.style.transform, 'translateX(10px)');
     15  assert_equals(target.style.willChange, 'transform');
     16 });
     17  </script>
     18 </html>