Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9c2edfbd60bf4a38bc9e2abecea12ad8f4c51ae3
      
https://github.com/WebKit/WebKit/commit/9c2edfbd60bf4a38bc9e2abecea12ad8f4c51ae3
  Author: Sam Weinig <[email protected]>
  Date:   2025-06-18 (Wed, 18 Jun 2025)

  Changed paths:
    M Source/WebCore/css/calc/CSSCalcTree+Serialization.cpp
    M Source/WebCore/css/scripts/process-css-properties.py
    M Source/WebCore/css/values/CSSValueTypes.cpp
    M Source/WebCore/css/values/CSSValueTypes.h
    M Source/WebCore/css/values/color/CSSColorMix.cpp
    M Source/WebCore/css/values/color/CSSHexColor.cpp
    M Source/WebCore/css/values/images/CSSGradient.cpp
    M Source/WebCore/style/StyleBuilderConverter.h
    M Source/WebCore/style/StyleExtractorConverter.h
    M Source/WebCore/style/StyleExtractorSerializer.h
    M Source/WebCore/style/StyleInterpolationFunctions.h
    M Source/WebCore/style/values/StyleValueTypes.h
    M Source/WebCore/style/values/color/StyleColor.cpp
    M 
Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes+Blending.h

  Log Message:
  -----------
  [Style] Support variadic rest parameters for more style and css type 
interfaces
https://bugs.webkit.org/show_bug.cgi?id=294586

Reviewed by Darin Adler.

A few of the style interfaces (ToStyle and ToCSS specifically) already support
a client defined variadic "Rest..." parameter. This expands the set of 
interfaces
to include Serialize, CSSValueCreation, CSSValueConversion, and ToPlatform.

Doing this introduces a bit of ambiguity due to ADL. To fix this, we convert
the interface invokers to use "customization point objects" to avoid ADL.
See 
https://stackoverflow.com/questions/53495848/what-are-customization-point-objects-and-how-to-use-them
 for more.

* Source/WebCore/css/calc/CSSCalcTree+Serialization.cpp:
* Source/WebCore/css/scripts/process-css-properties.py:
* Source/WebCore/css/values/CSSValueTypes.cpp:
* Source/WebCore/css/values/CSSValueTypes.h:
* Source/WebCore/css/values/color/CSSColorMix.cpp:
* Source/WebCore/css/values/color/CSSHexColor.cpp:
* Source/WebCore/css/values/images/CSSGradient.cpp:
* Source/WebCore/style/StyleBuilderConverter.h:
* Source/WebCore/style/StyleExtractorConverter.h:
* Source/WebCore/style/StyleExtractorSerializer.h:
* Source/WebCore/style/StyleInterpolationFunctions.h:
* Source/WebCore/style/values/StyleValueTypes.h:
* Source/WebCore/style/values/color/StyleColor.cpp:
* Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes+Blending.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to