[Webkit-unassigned] [Bug 235792] css/css-fonts/animations/font-variation-settings-interpolation.html has failures

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 23 09:16:17 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=235792

--- Comment #6 from Antoine Quint <graouts at webkit.org> ---
The issue is that we're animating font-variation-settings values which are floats and using a very large progress value for blending that itself is represented as a double. The blending happens in this method:

static inline float blendFunc(float from, float to, const CSSPropertyBlendingContext& context)
{
    if (context.compositeOperation == CompositeOperation::Replace)
        return narrowPrecisionToFloat(from + (to - from) * context.progress);
    return narrowPrecisionToFloat(from + from + (to - from) * context.progress);
}

If we returned a double here, we would retain the precision, but narrowPrecisionToFloat() leads to the Infinity value.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221023/b0e3b38e/attachment.htm>


More information about the webkit-unassigned mailing list