[Webkit-unassigned] [Bug 203312] Implement the CSS exponent functions: pow(), sqrt(), hypot()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 15 14:00:15 PST 2021


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

--- Comment #8 from Darin Adler <darin at apple.com> ---
Comment on attachment 417728
  --> https://bugs.webkit.org/attachment.cgi?id=417728
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=417728&action=review

> Source/WebCore/css/CSSCalculationValue.cpp:943
> +
> +        if (!isValidHypotType(currentCategory))
> +            return nullptr;

Just realized this is dead code. We’e already checked expectedCategory and currentCategory is == it. So we don’t need this and thus don’t really need the helper function.

-- 
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/20210115/5be54054/attachment.htm>


More information about the webkit-unassigned mailing list