<!DOCTYPE html><html><title>CSS Test (Animations): Element.animate() animating both transform and opacity on an inline</title><linkrel="author"title="L. David Baron"href="https://dbaron.org/"><linkrel="author"title="Google"href="http://www.google.com/"><linkrel="help"href="https://bugs.chromium.org/p/chromium/issues/detail?id=1316688"><linkrel="match"href="transform-and-opacity-on-inline-001-ref.html"><metaname="assert"content="This should not crash, and should render as opacity 0.5."><script>// The transform animation should be ignored; the opacity animation should work.window.onload=function(){document.getElementById("target").animate([{"transform":"translateX(0px)","opacity":"0.8",},{"transform":"translateX(300px)","opacity":"0.0",}],{duration:1000000,delay:-500000,easing:"steps(3, jump-both)"});}</script><body><spanid="target">x</span></body>