Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 574cedd0a856d52b053535de03b6d959d98a1b7c
https://github.com/WebKit/WebKit/commit/574cedd0a856d52b053535de03b6d959d98a1b7c
Author: Sam Weinig <[email protected]>
Date: 2026-05-26 (Tue, 26 May 2026)
Changed paths:
M Source/WebCore/css/CSSGradientValue.cpp
M Source/WebCore/css/CSSPrimitiveValue.cpp
M Source/WebCore/css/CSSPrimitiveValue.h
M Source/WebCore/css/CSSPropertyInitialValues.cpp
M Source/WebCore/css/ShorthandSerializer.cpp
M Source/WebCore/css/calc/CSSCalcTree+Evaluation.cpp
M Source/WebCore/css/calc/CSSCalcValue.cpp
M Source/WebCore/css/calc/CSSCalcValue.h
M Source/WebCore/css/deprecated-cssom/DeprecatedCSSOMPrimitiveValue.cpp
M Source/WebCore/css/parser/CSSPropertyParser.cpp
M Source/WebCore/css/parser/CSSPropertyParserConsumer+Background.cpp
M
Source/WebCore/css/parser/CSSPropertyParserConsumer+CSSPrimitiveValueResolver.h
M
Source/WebCore/css/parser/CSSPropertyParserConsumer+MetaConsumerDefinitions.h
M Source/WebCore/css/parser/CSSPropertyParserConsumer+Timeline.cpp
M Source/WebCore/css/query/GenericMediaQueryParser.cpp
M Source/WebCore/css/typedom/CSSNumericValue.cpp
M Source/WebCore/css/typedom/CSSNumericValue.h
M Source/WebCore/css/typedom/CSSStyleValueFactory.cpp
M Source/WebCore/css/values/backgrounds/CSSBorderImageWidth.cpp
M Source/WebCore/css/values/images/CSSGradient.cpp
M Source/WebCore/css/values/primitives/CSSPrimitiveData.h
M Source/WebCore/css/values/primitives/CSSPrimitiveNumeric.h
M
Source/WebCore/css/values/primitives/CSSPrimitiveNumericTypes+EvaluateCalc.h
M Source/WebCore/css/values/primitives/CSSUnevaluatedCalc.cpp
M Source/WebCore/css/values/primitives/CSSUnevaluatedCalc.h
M Source/WebCore/style/StyleBuilderCustom.h
M Source/WebCore/style/StyleCustomProperty.cpp
M Source/WebCore/style/StyleInterpolationFunctions.h
M Source/WebCore/style/calc/StyleCalculationTree+Conversion.cpp
M Source/WebCore/style/calc/StyleCalculationValue.cpp
M Source/WebCore/style/calc/StyleCalculationValue.h
M Source/WebCore/style/values/animations/StyleSingleAnimationRange.cpp
M Source/WebCore/style/values/fill-stroke/StyleStrokeWidth.cpp
M Source/WebCore/style/values/flexbox/StyleFlexBasis.cpp
M Source/WebCore/style/values/images/kinds/StyleGradientImage.cpp
M Source/WebCore/style/values/inline/StyleLineHeight.cpp
M Source/WebCore/style/values/non-standard/StyleWebKitBoxReflect.cpp
M
Source/WebCore/style/values/primitives/StyleLengthWrapper+CSSValueConversion.h
M Source/WebCore/style/values/primitives/StyleLengthWrapper.h
M Source/WebCore/style/values/primitives/StyleLengthWrapperData.cpp
M Source/WebCore/style/values/primitives/StyleLengthWrapperData.h
M
Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes+CSSValueConversion.h
M
Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes+Conversions.h
M
Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes+DeprecatedCSSValueConversion.h
M
Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes+DeprecatedConversions.h
M
Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes+Evaluation.h
M
Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes+Logging.h
M Source/WebCore/style/values/primitives/StyleUnevaluatedCalculation.cpp
M Source/WebCore/style/values/primitives/StyleUnevaluatedCalculation.h
M
Source/WebCore/style/values/scroll-animations/StyleViewTimelineInsetItem.cpp
M Source/WebCore/style/values/sizing/StylePreferredSize.cpp
M Source/WebCore/style/values/svg/StyleSVGStrokeDashoffset.cpp
M Source/WebCore/style/values/text/StyleLetterSpacing.cpp
M Source/WebCore/style/values/text/StyleWordSpacing.cpp
M Source/WebCore/style/values/transforms/StyleTransformFunction.cpp
Log Message:
-----------
Further reduce includes of CSSCalcValue.h and StyleCalculationValue.h
https://bugs.webkit.org/show_bug.cgi?id=315480
Reviewed by Geoffrey Garen.
Adds necessary functions to CSS::UnevaluatedCalc/Style::UnevaluatedCalculation
to make them directly useable in more places.
Also removes no longer needed CSS::Range and CSS::Category members from
Style::UnevaluatedCalculation, since all callers now have that info statically
available to them.
* Source/WebCore/css/CSSGradientValue.cpp:
* Source/WebCore/css/CSSPrimitiveValue.cpp:
* Source/WebCore/css/CSSPrimitiveValue.h:
* Source/WebCore/css/CSSPropertyInitialValues.cpp:
* Source/WebCore/css/ShorthandSerializer.cpp:
* Source/WebCore/css/calc/CSSCalcTree+Evaluation.cpp:
* Source/WebCore/css/calc/CSSCalcValue.cpp:
* Source/WebCore/css/calc/CSSCalcValue.h:
* Source/WebCore/css/deprecated-cssom/DeprecatedCSSOMPrimitiveValue.cpp:
* Source/WebCore/css/parser/CSSPropertyParser.cpp:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+Background.cpp:
*
Source/WebCore/css/parser/CSSPropertyParserConsumer+CSSPrimitiveValueResolver.h:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+MetaConsumerDefinitions.h:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+Timeline.cpp:
* Source/WebCore/css/query/GenericMediaQueryParser.cpp:
* Source/WebCore/css/typedom/CSSNumericValue.cpp:
* Source/WebCore/css/typedom/CSSNumericValue.h:
* Source/WebCore/css/typedom/CSSStyleValueFactory.cpp:
* Source/WebCore/css/values/backgrounds/CSSBorderImageWidth.cpp:
* Source/WebCore/css/values/images/CSSGradient.cpp:
* Source/WebCore/css/values/primitives/CSSPrimitiveData.h:
* Source/WebCore/css/values/primitives/CSSPrimitiveNumeric.h:
* Source/WebCore/css/values/primitives/CSSPrimitiveNumericTypes+EvaluateCalc.h:
* Source/WebCore/css/values/primitives/CSSUnevaluatedCalc.cpp:
* Source/WebCore/css/values/primitives/CSSUnevaluatedCalc.h:
* Source/WebCore/style/StyleBuilderCustom.h:
* Source/WebCore/style/StyleCustomProperty.cpp:
* Source/WebCore/style/StyleInterpolationFunctions.h:
* Source/WebCore/style/calc/StyleCalculationTree+Conversion.cpp:
* Source/WebCore/style/calc/StyleCalculationValue.cpp:
* Source/WebCore/style/calc/StyleCalculationValue.h:
* Source/WebCore/style/values/animations/StyleSingleAnimationRange.cpp:
* Source/WebCore/style/values/fill-stroke/StyleStrokeWidth.cpp:
* Source/WebCore/style/values/flexbox/StyleFlexBasis.cpp:
* Source/WebCore/style/values/images/kinds/StyleGradientImage.cpp:
* Source/WebCore/style/values/inline/StyleLineHeight.cpp:
* Source/WebCore/style/values/non-standard/StyleWebKitBoxReflect.cpp:
*
Source/WebCore/style/values/primitives/StyleLengthWrapper+CSSValueConversion.h:
* Source/WebCore/style/values/primitives/StyleLengthWrapper.h:
* Source/WebCore/style/values/primitives/StyleLengthWrapperData.cpp:
* Source/WebCore/style/values/primitives/StyleLengthWrapperData.h:
*
Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes+CSSValueConversion.h:
*
Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes+Conversions.h:
*
Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes+DeprecatedCSSValueConversion.h:
*
Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes+DeprecatedConversions.h:
*
Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes+Evaluation.h:
* Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes+Logging.h:
* Source/WebCore/style/values/primitives/StyleUnevaluatedCalculation.cpp:
* Source/WebCore/style/values/primitives/StyleUnevaluatedCalculation.h:
* Source/WebCore/style/values/scroll-animations/StyleViewTimelineInsetItem.cpp:
* Source/WebCore/style/values/sizing/StylePreferredSize.cpp:
* Source/WebCore/style/values/svg/StyleSVGStrokeDashoffset.cpp:
* Source/WebCore/style/values/text/StyleLetterSpacing.cpp:
* Source/WebCore/style/values/text/StyleWordSpacing.cpp:
* Source/WebCore/style/values/transforms/StyleTransformFunction.cpp:
Canonical link: https://commits.webkit.org/313893@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications