Visit this sandbox in Safari: https://codesandbox.io/s/commitstyles-of-individual-transforms-kk8fdy Click 'Animate' button and wait for the animation to finish. After the animation is complete, the element's style attribute is set to an empty string, instead of 'translate: 200px'.
<rdar://problem/102014524>
Created attachment 463538 [details] Test Attaching a single-file version of the codesandbox example.
The issue is in `static Ref<CSSValue> computedTranslate(RenderObject*, const RenderStyle&)` where the `rendererCanBeTransformed(renderer)` check fails because the renderer is null when called under `WebAnimation::commitStyles()`. We should probably mirror `computedTransform()` to only check `is<RenderInline>(renderer)`.
Pull request: https://github.com/WebKit/WebKit/pull/6542
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/36986
Committed 256728@main (c148a252e8ff): <https://commits.webkit.org/256728@main> Reviewed commits have been landed. Closing PR #6542 and removing active labels.