[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 12:27:29 PST 2021


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

--- Comment #6 from Kevin Turner <kevinturner at utexas.edu> ---
Comment on attachment 417716
  --> https://bugs.webkit.org/attachment.cgi?id=417716
Patch

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

>> LayoutTests/fast/css/calc-parsing.html:61
>> +            testExpression('calc(sqrt(100px)', '999px', '999px');
> 
> How is this working given we forgot the end parenthesis?

I believe a mismatch in parentheses would cause us to fail silently (leaving the width set to 999px), but the original intention of this test case was to ensure we fail when trying to take the square root of a dimension type since sqrt() operates purely on numbers according to the spec. Will fix this in an updated patch shortly.

-- 
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/f3cbf8a1/attachment-0001.htm>


More information about the webkit-unassigned mailing list