Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0d9a7374d5782bd4e5f082b866d45a9d433a7761
      
https://github.com/WebKit/WebKit/commit/0d9a7374d5782bd4e5f082b866d45a9d433a7761
  Author: Sam Weinig <s...@webkit.org>
  Date:   2025-08-08 (Fri, 08 Aug 2025)

  Changed paths:
    M Source/WebCore/css/parser/CSSPropertyParser.cpp
    M Source/WebCore/style/StyleCustomProperty.cpp
    M Source/WebCore/style/StyleCustomProperty.h
    M Source/WebCore/style/StyleInterpolation.cpp
    M 
Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes+Blending.h

  Log Message:
  -----------
  Move Style::CustomProperty off of WebCore::Length
https://bugs.webkit.org/show_bug.cgi?id=297008

Reviewed by Darin Adler.

Updates `Style::CustomProperty` to use strong style types for all
currently supported values. This replaces the use of `WebCore::Length`
with `Style::LengthPercentage<>`, `CustomProperty::Numeric` with
standard `Style::{numeric}` types, and `RefPtr<StyleImage>` with
`Style::ImageWrapper`.

Also adds missing `requiresInterpolationForAccumulativeIteration`
needed for bare `LengthPercentage<>` blending.

* Source/WebCore/css/parser/CSSPropertyParser.cpp:
* Source/WebCore/style/StyleCustomProperty.cpp:
* Source/WebCore/style/StyleCustomProperty.h:
* Source/WebCore/style/StyleInterpolation.cpp:
* Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes+Blending.h:

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



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

Reply via email to