Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /web-animations/crashtests/sibling-index-offset-crash.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<div id="target"></div>
<script>
target.animate([
{ offset: "calc(20% * sibling-index())" },
], 2000);
</script>