[webkit-changes] [WebKit/WebKit] 6f6b91: Promote isZero/isEmpty/evaluate to proper customiz...

Sam Weinig noreply at github.com
Fri Jan 31 14:57:14 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6f6b91eeb00de7d5019ce148307938c091bd5225
      https://github.com/WebKit/WebKit/commit/6f6b91eeb00de7d5019ce148307938c091bd5225
  Author: Sam Weinig <sam at webkit.org>
  Date:   2025-01-31 (Fri, 31 Jan 2025)

  Changed paths:
    M Source/WebCore/css/values/CSSValueAggregates.h
    M Source/WebCore/css/values/CSSValueConcepts.h
    M Source/WebCore/css/values/primitives/CSSPrimitiveNumericConcepts.h
    M Source/WebCore/rendering/TextPainter.cpp
    M Source/WebCore/style/values/StyleValueTypes.h
    M Source/WebCore/style/values/backgrounds/StyleBorderRadius.cpp
    M Source/WebCore/style/values/backgrounds/StyleBorderRadius.h
    M Source/WebCore/style/values/primitives/StylePosition.cpp
    M Source/WebCore/style/values/primitives/StylePosition.h
    M Source/WebCore/style/values/primitives/StylePrimitiveNumericConcepts.h
    M Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes+Evaluation.h
    M Source/WebCore/style/values/shapes/StyleShapeFunction.cpp

  Log Message:
  -----------
  Promote isZero/isEmpty/evaluate to proper customization points
https://bugs.webkit.org/show_bug.cgi?id=286692

Reviewed by Darin Adler.

Turns a few overloaded / member functions into customization points
to allow use of them over generic tuples and variants.

* Source/WebCore/css/values/CSSValueAggregates.h:
* Source/WebCore/css/values/CSSValueConcepts.h:
* Source/WebCore/rendering/TextPainter.cpp:
* Source/WebCore/style/values/StyleValueTypes.h:
* Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes+Evaluation.h:
* Source/WebCore/style/values/shapes/StyleShapeFunction.cpp:

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list