RESOLVED FIXED 223027
Improve font-variation-settings interpolation
https://bugs.webkit.org/show_bug.cgi?id=223027
Summary Improve font-variation-settings interpolation
Antoine Quint
Reported 2021-03-10 06:03:59 PST
Improve font-variation-settings interpolation
Attachments
Patch (74.37 KB, patch)
2021-03-10 06:08 PST, Antoine Quint
ews-feeder: commit-queue-
Patch (79.39 KB, patch)
2021-03-10 07:49 PST, Antoine Quint
dino: review+
ews-feeder: commit-queue-
Antoine Quint
Comment 1 2021-03-10 06:08:38 PST
Antoine Quint
Comment 2 2021-03-10 07:49:16 PST
Dean Jackson
Comment 3 2021-03-10 13:29:57 PST
Comment on attachment 422833 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=422833&action=review > Source/WebCore/animation/CSSPropertyAnimation.cpp:535 > + ASSERT(from.size() == to.size()); Even though you check the sizes in canInterpolate, it might be better to keep the return of the empty FontVariationSettings just in case.
EWS
Comment 4 2021-03-10 13:37:16 PST
commit-queue failed to commit attachment 422833 [details] to WebKit repository. To retry, please set cq+ flag again.
Antoine Quint
Comment 5 2021-03-10 13:41:41 PST
Radar WebKit Bug Importer
Comment 6 2021-03-10 13:42:16 PST
Antoine Quint
Comment 7 2021-03-10 14:14:31 PST
(In reply to Dean Jackson from comment #3) > Comment on attachment 422833 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=422833&action=review > > > Source/WebCore/animation/CSSPropertyAnimation.cpp:535 > > + ASSERT(from.size() == to.size()); > > Even though you check the sizes in canInterpolate, it might be better to > keep the return of the empty FontVariationSettings just in case. I opted to keep the ASSERT as we really shouldn't be entering this function if we don't know how to blend.
Note You need to log in before you can comment on or make changes to this bug.