[webkit-changes] [WebKit/WebKit] 108f85: Generate aliases for Constant<CSSValueIDs> type us...
Sam Weinig
noreply at github.com
Mon Dec 2 07:54:40 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 108f857f2d9bb0e1adad624af656be4c2737545f
https://github.com/WebKit/WebKit/commit/108f857f2d9bb0e1adad624af656be4c2737545f
Author: Sam Weinig <sam at webkit.org>
Date: 2024-12-02 (Mon, 02 Dec 2024)
Changed paths:
M Source/WebCore/css/parser/CSSPropertyParserConsumer+ColorAdjust.cpp
M Source/WebCore/css/parser/CSSPropertyParserConsumer+Image.cpp
M Source/WebCore/css/parser/CSSPropertyParserConsumer+Motion.cpp
M Source/WebCore/css/parser/CSSPropertyParserConsumer+Position.cpp
M Source/WebCore/css/parser/CSSPropertyParserConsumer+Shapes.cpp
M Source/WebCore/css/process-css-values.py
M Source/WebCore/css/values/CSSValueTypes.h
M Source/WebCore/css/values/color-adjust/CSSColorScheme.cpp
M Source/WebCore/css/values/color-adjust/CSSColorScheme.h
M Source/WebCore/css/values/images/CSSGradient.cpp
M Source/WebCore/css/values/images/CSSGradient.h
M Source/WebCore/css/values/motion/CSSRayFunction.cpp
M Source/WebCore/css/values/motion/CSSRayFunction.h
M Source/WebCore/css/values/primitives/CSSPosition.cpp
M Source/WebCore/css/values/primitives/CSSPosition.h
M Source/WebCore/css/values/shapes/CSSCircleFunction.cpp
M Source/WebCore/css/values/shapes/CSSCircleFunction.h
M Source/WebCore/css/values/shapes/CSSEllipseFunction.cpp
M Source/WebCore/css/values/shapes/CSSEllipseFunction.h
M Source/WebCore/css/values/shapes/CSSFillRule.h
M Source/WebCore/css/values/shapes/CSSPathFunction.cpp
M Source/WebCore/css/values/shapes/CSSPolygonFunction.cpp
M Source/WebCore/css/values/shapes/CSSRectFunction.h
M Source/WebCore/css/values/shapes/CSSShapeFunction.cpp
M Source/WebCore/css/values/shapes/CSSShapeFunction.h
M Source/WebCore/rendering/MotionPath.cpp
M Source/WebCore/style/values/StyleValueTypes.h
M Source/WebCore/style/values/color-adjust/StyleColorScheme.h
M Source/WebCore/style/values/images/StyleGradient.cpp
M Source/WebCore/style/values/images/StyleGradient.h
M Source/WebCore/style/values/motion/StyleRayFunction.h
M Source/WebCore/style/values/primitives/StylePosition.cpp
M Source/WebCore/style/values/primitives/StylePosition.h
M Source/WebCore/style/values/shapes/StyleCircleFunction.cpp
M Source/WebCore/style/values/shapes/StyleEllipseFunction.cpp
M Source/WebCore/style/values/shapes/StyleFillRule.h
M Source/WebCore/style/values/shapes/StylePathFunction.cpp
M Source/WebCore/style/values/shapes/StylePolygonFunction.cpp
M Source/WebCore/style/values/shapes/StyleRectFunction.cpp
M Source/WebCore/style/values/shapes/StyleShapeFunction.cpp
M Source/WebCore/style/values/shapes/StyleShapeFunction.h
M Source/WebCore/svg/SVGPathElement.cpp
M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
Log Message:
-----------
Generate aliases for Constant<CSSValueIDs> type used by CSS/Style values
https://bugs.webkit.org/show_bug.cgi?id=283873
Reviewed by Tim Nguyen.
Generates a type alias in the namespace CSS::Keyword, of the form:
using Foo = Constant<CSSValueFoo>;
for every CSSValueID at compile time.
These replace the adhoc definitions used, and standardizes on the
CSS::Keyword namespace for them.
* Source/WebCore/css/parser/CSSPropertyParserConsumer+ColorAdjust.cpp:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+Image.cpp:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+Motion.cpp:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+Position.cpp:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+Shapes.cpp:
* Source/WebCore/css/process-css-values.py:
* Source/WebCore/css/values/CSSValueTypes.h:
* Source/WebCore/css/values/color-adjust/CSSColorScheme.cpp:
* Source/WebCore/css/values/color-adjust/CSSColorScheme.h:
* Source/WebCore/css/values/images/CSSGradient.cpp:
* Source/WebCore/css/values/images/CSSGradient.h:
* Source/WebCore/css/values/motion/CSSRayFunction.cpp:
* Source/WebCore/css/values/motion/CSSRayFunction.h:
* Source/WebCore/css/values/primitives/CSSPosition.cpp:
* Source/WebCore/css/values/primitives/CSSPosition.h:
* Source/WebCore/css/values/shapes/CSSCircleFunction.cpp:
* Source/WebCore/css/values/shapes/CSSCircleFunction.h:
* Source/WebCore/css/values/shapes/CSSEllipseFunction.cpp:
* Source/WebCore/css/values/shapes/CSSEllipseFunction.h:
* Source/WebCore/css/values/shapes/CSSFillRule.h:
* Source/WebCore/css/values/shapes/CSSPathFunction.cpp:
* Source/WebCore/css/values/shapes/CSSPolygonFunction.cpp:
* Source/WebCore/css/values/shapes/CSSRectFunction.h:
* Source/WebCore/css/values/shapes/CSSShapeFunction.cpp:
* Source/WebCore/css/values/shapes/CSSShapeFunction.h:
* Source/WebCore/rendering/MotionPath.cpp:
* Source/WebCore/style/values/color-adjust/StyleColorScheme.h:
* Source/WebCore/style/values/images/StyleGradient.cpp:
* Source/WebCore/style/values/images/StyleGradient.h:
* Source/WebCore/style/values/motion/StyleRayFunction.h:
* Source/WebCore/style/values/primitives/StylePosition.cpp:
* Source/WebCore/style/values/primitives/StylePosition.h:
* Source/WebCore/style/values/shapes/StyleCircleFunction.cpp:
* Source/WebCore/style/values/shapes/StyleEllipseFunction.cpp:
* Source/WebCore/style/values/shapes/StyleFillRule.h:
* Source/WebCore/style/values/shapes/StylePathFunction.cpp:
* Source/WebCore/style/values/shapes/StylePolygonFunction.cpp:
* Source/WebCore/style/values/shapes/StyleRectFunction.cpp:
* Source/WebCore/style/values/shapes/StyleShapeFunction.cpp:
* Source/WebCore/style/values/shapes/StyleShapeFunction.h:
* Source/WebCore/svg/SVGPathElement.cpp:
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
Canonical link: https://commits.webkit.org/287219@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