| Summary: | Bring slerp interpolation in line with spec | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | Animations | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED CONFIGURATION CHANGED | ||
| Severity: | Normal | CC: | dino, graouts, graouts, mattwoodrow, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 250970 | ||
|
Description
Ahmad Saleem
2023-04-12 15:14:18 PDT
Blink regressed this: Safari was doing correctly due to relying on system for doing animations (but if we are planning to change, we might have same bug): After this change, will Blink match Safari? If not, Safari can't change its behavior since it relies on the operation system to do animations... ___________________ Test Case mentioned in the Spec Discussion - https://jsfiddle.net/bpLx7gtq/show _____________________ Blink regressed it here (as per documentation): I think so, yes. We got the "bad" behavior when we switched from WebCore::TransformationMatrix to gfx::Transform, according to <https://code.google.com/p/chromium/issues/detail?id=236018>. A quick test in Safari with the example code in my first post has it doing the short-path animation. _________ Another test case - https://jsfiddle.net/f2hxo9k6/ This might be Not Applicable after Matt's changes and moving this function (slerp) to 'Quaternion.cpp' here: https://github.com/WebKit/WebKit/blob/53dd791f052cd7ee77e99c492a0b480166fb12b0/Source/WebCore/platform/graphics/transforms/Quaternion.cpp#L36 @Matt - can we close this? I think we can close this, we should indeed have the changes already. |