tor-browser

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

will-change-computed.html (1104B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Will Change Test: getComputedStyle().willChange</title>
      6 <link rel="help" href="https://drafts.csswg.org/css-will-change/#propdef-will-change">
      7 <meta name="assert" content="will-change computed value is as specified.">
      8 <script src="/resources/testharness.js"></script>
      9 <script src="/resources/testharnessreport.js"></script>
     10 <script src="/css/support/computed-testcommon.js"></script>
     11 </head>
     12 <body>
     13 <div id="target"></div>
     14 <script>
     15 test_computed_value("will-change", "auto");
     16 
     17 // <animateable-feature> = scroll-position | contents | <custom-ident>
     18 test_computed_value("will-change", "scroll-position");
     19 test_computed_value("will-change", "contents");
     20 test_computed_value("will-change", "transform");
     21 test_computed_value("will-change", "background-color");
     22 
     23 test_computed_value("will-change", "scroll-position, contents");
     24 test_computed_value("will-change", "scroll-position, transform");
     25 test_computed_value("will-change", "contents, transform");
     26 test_computed_value("will-change", "transform, background-color");
     27 </script>
     28 </body>
     29 </html>