[webkit-changes] [WebKit/WebKit] f8ada9: Add missing implementation for CSSMathClamp::toSum...

Chris Dumez noreply at github.com
Wed Oct 19 11:28:41 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f8ada9305175b96be669f6ca4d7e5b3d9e174b3e
      https://github.com/WebKit/WebKit/commit/f8ada9305175b96be669f6ca4d7e5b3d9e174b3e
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2022-10-19 (Wed, 19 Oct 2022)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/stylevalue-subclasses/numeric-objects/to.tentative-expected.txt
    M Source/WebCore/css/typedom/numeric/CSSMathClamp.cpp

  Log Message:
  -----------
  Add missing implementation for CSSMathClamp::toSumValue()
https://bugs.webkit.org/show_bug.cgi?id=246703

Reviewed by Geoffrey Garen.

Add missing implementation for CSSMathClamp::toSumValue(). Sadly I couldn't
find the corresponding specification text for this so I filed:
- https://github.com/w3c/css-houdini-drafts/issues/1078

The specification is at [1] but currently fails to mention CSSMathClamp.
However, I implemented the same behavior as Blink for interoperability.

[1] https://drafts.css-houdini.org/css-typed-om/#create-a-sum-value

* LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/stylevalue-subclasses/numeric-objects/to.tentative-expected.txt:
* Source/WebCore/css/typedom/numeric/CSSMathClamp.cpp:
(WebCore::CSSMathClamp::toSumValue const):

Canonical link: https://commits.webkit.org/255746@main




More information about the webkit-changes mailing list