tor-browser

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

gap-decorations-width-neutral-keyframe-005.html (1039B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <meta charset="utf-8">
      5    <title>gap decorations column-rule-width neutral keyframe</title>
      6    <link rel="help" href="https://drafts.csswg.org/css-gaps-1/#column-column-rule-width">
      7    <meta name="assert" content="gap decorations column-rule-width supports neutral keyframe.">
      8    <script src="/resources/testharness.js"></script>
      9    <script src="/resources/testharnessreport.js"></script>
     10    <script src="/css/support/interpolation-testcommon.js"></script>
     11  </head>
     12  <body>
     13    <div id="target"></div>
     14    <script>
     15      test(() => {
     16        target.style.columnRuleStyle = 'solid';
     17        target.style.columnRuleWidth= '10px 15px 20px 25px';
     18        var animation = target.animate([{}, {columnRuleWidth: '20px 25px 30px 35px'}], 1000);
     19        animation.pause();
     20        animation.currentTime = 500;
     21        assert_equals(getComputedStyle(target).columnRuleWidth, '15px 20px 25px 30px');
     22      }, 'gap decorations column-rule-width supports neutral keyframe.');
     23    </script>
     24  </body>
     25 </html>