Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-backgrounds/animations/border-image-slice-interpolation-stability.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="UTF-8">
<title>border-image-slice interpolation stability</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="target"></div>
<script>
test(function() {
var player = target.animate([
{borderImageSlice: '50'},
{borderImageSlice: '50'},
], {
duration: 1,
fill: 'forwards',
easing: 'cubic-bezier(0, 1.5, 1, 1.5)',
});
player.pause();
player.currentTime = 0.6345195996109396
assert_equals(getComputedStyle(target).borderImageSlice, '50');
});
</script>