| Summary: | Animation.commitStyles() doesn't change "style" attribute for individual CSS transform properties | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Andrew Shcherbyna <octrace> | ||||
| Component: | Animations | Assignee: | Antoine Quint <graouts> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | dino, graouts, graouts, koivisto, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | Safari 16 | ||||||
| Hardware: | Mac (Intel) | ||||||
| OS: | macOS 13 | ||||||
| See Also: | https://github.com/web-platform-tests/wpt/pull/36986 | ||||||
| Attachments: |
|
||||||
|
Description
Andrew Shcherbyna
2022-10-30 11:19:49 PDT
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. |