Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: ca468eea3bfd1ee638ea419cd679b3899de8b1d8 https://github.com/WebKit/WebKit/commit/ca468eea3bfd1ee638ea419cd679b3899de8b1d8 Author: Sam Weinig <s...@webkit.org> Date: 2025-09-10 (Wed, 10 Sep 2025)
Changed paths: M Source/WebCore/Headers.cmake M Source/WebCore/SaferCPPExpectations/UncheckedLocalVarsCheckerExpectations M Source/WebCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations M Source/WebCore/SaferCPPExpectations/UncountedLocalVarsCheckerExpectations M Source/WebCore/Sources.txt M Source/WebCore/WebCore.xcodeproj/project.pbxproj M Source/WebCore/animation/BlendingKeyframes.cpp M Source/WebCore/css/CSSProperties.json M Source/WebCore/css/DOMMatrixReadOnly.cpp M Source/WebCore/css/parser/CSSPropertyParser.cpp M Source/WebCore/css/parser/CSSPropertyParserConsumer+Transform.cpp M Source/WebCore/css/parser/CSSPropertyParserConsumer+Transform.h M Source/WebCore/css/values/CSSValueAggregates.h M Source/WebCore/platform/animation/AcceleratedEffect.cpp M Source/WebCore/platform/animation/AcceleratedEffectValues.cpp M Source/WebCore/platform/graphics/texmap/TextureMapperAnimation.cpp M Source/WebCore/platform/graphics/transforms/IdentityTransformOperation.h M Source/WebCore/platform/graphics/transforms/Matrix3DTransformOperation.cpp M Source/WebCore/platform/graphics/transforms/Matrix3DTransformOperation.h M Source/WebCore/platform/graphics/transforms/MatrixTransformOperation.cpp M Source/WebCore/platform/graphics/transforms/MatrixTransformOperation.h M Source/WebCore/platform/graphics/transforms/PerspectiveTransformOperation.cpp M Source/WebCore/platform/graphics/transforms/PerspectiveTransformOperation.h M Source/WebCore/platform/graphics/transforms/RotateTransformOperation.cpp M Source/WebCore/platform/graphics/transforms/RotateTransformOperation.h M Source/WebCore/platform/graphics/transforms/ScaleTransformOperation.cpp M Source/WebCore/platform/graphics/transforms/ScaleTransformOperation.h M Source/WebCore/platform/graphics/transforms/SkewTransformOperation.cpp M Source/WebCore/platform/graphics/transforms/SkewTransformOperation.h M Source/WebCore/platform/graphics/transforms/TransformOperation.h M Source/WebCore/platform/graphics/transforms/TransformOperations.cpp M Source/WebCore/platform/graphics/transforms/TransformOperations.h R Source/WebCore/platform/graphics/transforms/TransformOperationsSharedPrimitivesPrefix.cpp M Source/WebCore/platform/graphics/transforms/TransformOperationsSharedPrimitivesPrefix.h M Source/WebCore/platform/graphics/transforms/TranslateTransformOperation.cpp M Source/WebCore/platform/graphics/transforms/TranslateTransformOperation.h M Source/WebCore/rendering/RenderLayer.cpp M Source/WebCore/rendering/RenderLayerBacking.cpp M Source/WebCore/rendering/style/RenderStyle.cpp M Source/WebCore/rendering/style/RenderStyle.h M Source/WebCore/rendering/style/RenderStyleInlines.h M Source/WebCore/rendering/style/RenderStyleSetters.h M Source/WebCore/rendering/style/StyleTransformData.cpp M Source/WebCore/rendering/style/StyleTransformData.h M Source/WebCore/style/StyleBuilderConverter.h M Source/WebCore/style/StyleBuilderCustom.h M Source/WebCore/style/StyleBuilderState.cpp M Source/WebCore/style/StyleCustomProperty.cpp M Source/WebCore/style/StyleCustomProperty.h M Source/WebCore/style/StyleExtractorConverter.h M Source/WebCore/style/StyleExtractorCustom.h M Source/WebCore/style/StyleExtractorSerializer.h M Source/WebCore/style/StyleInterpolation.cpp M Source/WebCore/style/StyleInterpolationContext.h M Source/WebCore/style/StyleInterpolationFunctions.h M Source/WebCore/style/StyleInterpolationWrappers.h M Source/WebCore/style/StylePendingResources.cpp R Source/WebCore/style/TransformOperationsBuilder.cpp R Source/WebCore/style/TransformOperationsBuilder.h M Source/WebCore/style/values/StyleValueTypes.h A Source/WebCore/style/values/transforms/StyleTransform.cpp A Source/WebCore/style/values/transforms/StyleTransform.h A Source/WebCore/style/values/transforms/StyleTransformFunction.cpp A Source/WebCore/style/values/transforms/StyleTransformFunction.h A Source/WebCore/style/values/transforms/StyleTransformList.cpp A Source/WebCore/style/values/transforms/StyleTransformList.h Log Message: ----------- [Style] Convert the transform property to strong style types https://bugs.webkit.org/show_bug.cgi?id=298546 Reviewed by Darin Adler. Converts the `transform` property to use strong style types. To keep interpolation working, the `Style::Blend` interface had to be extended in two ways: 1. `Style::Blend::canBlend` now takes an optional `CompositeOperation` parameter. 2. `Style::Blend::blend` now either takes a `BlendingContext` (as before) or a `Style::Interpolation::Context`. These are necessary to properly implement `Blend` for `TransformList`. Additionally, `TransformOperationsSharedPrimitivesPrefix` was made generic over the a range of `TransformOperation` values so it can be used with either `TransformOperations` or `Style::TransformList`. * Source/WebCore/Headers.cmake: * Source/WebCore/SaferCPPExpectations/UncheckedLocalVarsCheckerExpectations: * Source/WebCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations: * Source/WebCore/SaferCPPExpectations/UncountedLocalVarsCheckerExpectations: * Source/WebCore/Sources.txt: * Source/WebCore/WebCore.xcodeproj/project.pbxproj: * Source/WebCore/animation/BlendingKeyframes.cpp: * Source/WebCore/css/CSSProperties.json: * Source/WebCore/css/DOMMatrixReadOnly.cpp: * Source/WebCore/css/parser/CSSPropertyParser.cpp: * Source/WebCore/css/parser/CSSPropertyParserConsumer+Transform.cpp: * Source/WebCore/css/parser/CSSPropertyParserConsumer+Transform.h: * Source/WebCore/css/values/CSSValueAggregates.h: * Source/WebCore/platform/animation/AcceleratedEffectValues.cpp: * Source/WebCore/platform/graphics/texmap/TextureMapperAnimation.cpp: * Source/WebCore/platform/graphics/transforms/IdentityTransformOperation.h: * Source/WebCore/platform/graphics/transforms/Matrix3DTransformOperation.cpp: * Source/WebCore/platform/graphics/transforms/Matrix3DTransformOperation.h: * Source/WebCore/platform/graphics/transforms/MatrixTransformOperation.cpp: * Source/WebCore/platform/graphics/transforms/MatrixTransformOperation.h: * Source/WebCore/platform/graphics/transforms/PerspectiveTransformOperation.cpp: * Source/WebCore/platform/graphics/transforms/PerspectiveTransformOperation.h: * Source/WebCore/platform/graphics/transforms/RotateTransformOperation.cpp: * Source/WebCore/platform/graphics/transforms/RotateTransformOperation.h: * Source/WebCore/platform/graphics/transforms/ScaleTransformOperation.cpp: * Source/WebCore/platform/graphics/transforms/ScaleTransformOperation.h: * Source/WebCore/platform/graphics/transforms/SkewTransformOperation.cpp: * Source/WebCore/platform/graphics/transforms/SkewTransformOperation.h: * Source/WebCore/platform/graphics/transforms/TransformOperation.h: * Source/WebCore/platform/graphics/transforms/TransformOperations.cpp: * Source/WebCore/platform/graphics/transforms/TransformOperations.h: * Source/WebCore/platform/graphics/transforms/TransformOperationsSharedPrimitivesPrefix.cpp: Removed. * Source/WebCore/platform/graphics/transforms/TransformOperationsSharedPrimitivesPrefix.h: * Source/WebCore/platform/graphics/transforms/TranslateTransformOperation.cpp: * Source/WebCore/platform/graphics/transforms/TranslateTransformOperation.h: * Source/WebCore/rendering/RenderLayer.cpp: * Source/WebCore/rendering/RenderLayerBacking.cpp: * Source/WebCore/rendering/style/RenderStyle.cpp: * Source/WebCore/rendering/style/RenderStyle.h: * Source/WebCore/rendering/style/RenderStyleInlines.h: * Source/WebCore/rendering/style/RenderStyleSetters.h: * Source/WebCore/rendering/style/StyleTransformData.cpp: * Source/WebCore/rendering/style/StyleTransformData.h: * Source/WebCore/style/StyleBuilderConverter.h: * Source/WebCore/style/StyleBuilderCustom.h: * Source/WebCore/style/StyleBuilderState.cpp: * Source/WebCore/style/StyleCustomProperty.cpp: * Source/WebCore/style/StyleCustomProperty.h: * Source/WebCore/style/StyleExtractorConverter.h: * Source/WebCore/style/StyleExtractorCustom.h: * Source/WebCore/style/StyleExtractorSerializer.h: * Source/WebCore/style/StyleInterpolation.cpp: * Source/WebCore/style/StyleInterpolationContext.h: * Source/WebCore/style/StyleInterpolationFunctions.h: * Source/WebCore/style/StyleInterpolationWrappers.h: * Source/WebCore/style/StylePendingResources.cpp: * Source/WebCore/style/values/StyleValueTypes.h: * Source/WebCore/style/values/transforms/StyleTransform.cpp: Added. * Source/WebCore/style/values/transforms/StyleTransform.h: Added. * Source/WebCore/style/values/transforms/StyleTransformFunction.cpp: Renamed from Source/WebCore/style/TransformOperationsBuilder.cpp. * Source/WebCore/style/values/transforms/StyleTransformFunction.h: Renamed from Source/WebCore/style/TransformOperationsBuilder.h. * Source/WebCore/style/values/transforms/StyleTransformList.cpp: Added. * Source/WebCore/style/values/transforms/StyleTransformList.h: Added. Canonical link: https://commits.webkit.org/299814@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