[webkit-changes] [WebKit/WebKit] da5d5f: [web-animations] do not account for progress for a...
Antoine Quint
noreply at github.com
Thu Nov 24 13:09:05 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: da5d5fadcc4463a124d96c9a1b2686df3d09486b
https://github.com/WebKit/WebKit/commit/da5d5fadcc4463a124d96c9a1b2686df3d09486b
Author: Antoine Quint <graouts at apple.com>
Date: 2022-11-24 (Thu, 24 Nov 2022)
Changed paths:
M Source/WebCore/platform/graphics/transforms/TransformationMatrix.cpp
Log Message:
-----------
[web-animations] do not account for progress for additivity and accumulation interpolation for transforms
https://bugs.webkit.org/show_bug.cgi?id=248313
Reviewed by Antti Koivisto.
The progress is always 1 when blending with additivity or accumulation, so instead of using it to multiply
we can simply ASSERT() and remove the multiplication, which allows us to simplify the additions.
* Source/WebCore/platform/graphics/transforms/TransformationMatrix.cpp:
(WebCore::blendFloat):
Canonical link: https://commits.webkit.org/256997@main
More information about the webkit-changes
mailing list