Bug 312606

Summary: [threaded-animations] additive transform animations use matrix interpolation which does not account for additivity
Product: WebKit Reporter: Antoine Quint <graouts>
Component: AnimationsAssignee: Antoine Quint <graouts>
Status: RESOLVED FIXED    
Severity: Normal CC: graouts, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://github.com/web-platform-tests/wpt/pull/59327
Attachments:
Description Flags
Test none

Antoine Quint
Reported 2026-04-17 15:13:02 PDT
Created attachment 479156 [details] Test Consider this simple animation: @keyframes scale { 0%, 100% { transform: scale(2) } } … and this additional style: div { transform: translateX(100px); animation: scale 1s infinite; animation-composition: add; } This should yield a computed value of `transform: translateX(100px) scale(2)` but we end up instead in `void TransformationMatrix::blend(const TransformationMatrix&, double, CompositeOperation)` which has no idea about how to account for additivity.
Attachments
Test (352 bytes, text/html)
2026-04-17 15:13 PDT, Antoine Quint
no flags
Radar WebKit Bug Importer
Comment 1 2026-04-17 15:13:19 PDT
Antoine Quint
Comment 2 2026-04-17 15:47:20 PDT
Antoine Quint
Comment 3 2026-04-17 15:49:40 PDT
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/59327
Antoine Quint
Comment 4 2026-04-17 23:29:46 PDT
Note You need to log in before you can comment on or make changes to this bug.