[webkit-reviews] review granted: [Bug 220848] CSS aspect-ratio interpolation : [Attachment 423151] Patch
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Mar 15 03:50:03 PDT 2021
Antoine Quint <graouts at webkit.org> has granted Rob Buis <rbuis at igalia.com>'s
request for review:
Bug 220848: CSS aspect-ratio interpolation
https://bugs.webkit.org/show_bug.cgi?id=220848
Attachment 423151: Patch
https://bugs.webkit.org/attachment.cgi?id=423151&action=review
--- Comment #16 from Antoine Quint <graouts at webkit.org> ---
Comment on attachment 423151
--> https://bugs.webkit.org/attachment.cgi?id=423151
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=423151&action=review
> Source/WebCore/animation/CSSPropertyAnimation.cpp:1897
> + auto* applicableStyle = progress < 0.5 ? from : to;
This can be simply "progress ? to : from" since we've already asserted that
progress is 0 or 1.
More information about the webkit-reviews
mailing list