gap-decorations-width-neutral-keyframe-001.html (971B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>gap decorations row-rule-width neutral keyframe</title> 6 <link rel="help" href="https://drafts.csswg.org/css-gaps-1/#column-row-rule-width"> 7 <meta name="assert" content="gap decorations row-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.rowRuleStyle = 'solid'; 17 target.style.rowRuleWidth = '10px'; 18 var animation = target.animate([{}, {rowRuleWidth: '20px'}], 1000); 19 animation.pause(); 20 animation.currentTime = 500; 21 assert_equals(getComputedStyle(target).rowRuleWidth, '15px'); 22 }, 'gap decorations row-rule-width supports neutral keyframe.'); 23 </script> 24 </body> 25 </html>