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/background-trailing-comma.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<title>Animating background with implicit longhand values and more than one bg-layer should not crash</title>
<div id="target"></div>
<script>
target.animate({background: 'none, 10px'}, {fill: 'forwards'});
getComputedStyle(target).backgroundPosition;
</script>