[webkit-reviews] review granted: [Bug 203312] Implement the CSS exponent functions: pow(), sqrt(), hypot() : [Attachment 436786] Patch
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Aug 30 10:11:36 PDT 2021
Simon Fraser (smfr) <simon.fraser at apple.com> has granted Kevin Turner
<kevinturner at utexas.edu>'s request for review:
Bug 203312: Implement the CSS exponent functions: pow(), sqrt(), hypot()
https://bugs.webkit.org/show_bug.cgi?id=203312
Attachment 436786: Patch
https://bugs.webkit.org/attachment.cgi?id=436786&action=review
--- Comment #20 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
Comment on attachment 436786
--> https://bugs.webkit.org/attachment.cgi?id=436786
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=436786&action=review
Would be nice to make Web Platform Tests for these.
> Source/WebCore/ChangeLog:2
> + Add support for pow(), sqrt() and hypot() per
https://drafts.csswg.org/css-values-4/#exponent-funcs.
Missing blank line
> Source/WebCore/ChangeLog:7
> + Test: fast/css/calc-parsing.html
Normally we write some words here to say what the change does. The spec link
would be better here.
> Source/WebCore/ChangeLog:9
> +
> +
Extra. blank line.
> Source/WebCore/css/calc/CSSCalcOperationNode.cpp:154
> + // The type of a min(), max(), clamp() or hypot() expression is
the result of adding the types of its comma-separated calculations
> + return CalculationCategory::Other;
I can't tell if the line you copied above with the comment represents a TODO or
correct behavior.
More information about the webkit-reviews
mailing list