Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 415a0b0a6c6f73a64da000f8a9d54a21cfb9a9b5
https://github.com/WebKit/WebKit/commit/415a0b0a6c6f73a64da000f8a9d54a21cfb9a9b5
Author: Sam Weinig <[email protected]>
Date: 2026-01-04 (Sun, 04 Jan 2026)
Changed paths:
M
Source/WebCore/SaferCPPExpectations/NoUncheckedPtrMemberCheckerExpectations
M Source/WebCore/SaferCPPExpectations/UncheckedCallArgsCheckerExpectations
M Source/WebCore/css/CSSProperties.json
M Source/WebCore/css/CSSToLengthConversionData.cpp
M Source/WebCore/css/scripts/process-css-properties.py
M Source/WebCore/css/scripts/test/TestCSSProperties.json
M
Source/WebCore/css/scripts/test/TestCSSPropertiesResults/StyleBuilderGenerated.cpp
M
Source/WebCore/css/scripts/test/TestCSSPropertiesResults/StyleComputedStyleProperties.cpp
M
Source/WebCore/css/scripts/test/TestCSSPropertiesResults/StyleExtractorGenerated.cpp
M
Source/WebCore/css/scripts/test/TestCSSPropertiesResults/StyleInterpolationWrapperMap.cpp
M Source/WebCore/dom/Document.cpp
M Source/WebCore/dom/Document.h
M Source/WebCore/page/LocalFrame.cpp
M Source/WebCore/page/LocalFrameView.cpp
M Source/WebCore/rendering/style/RenderStyleBase.h
M Source/WebCore/style/AnchorPositionEvaluator.cpp
M Source/WebCore/style/StyleBuilder.cpp
M Source/WebCore/style/StyleBuilderCustom.h
M Source/WebCore/style/StyleBuilderState.cpp
M Source/WebCore/style/StyleBuilderState.h
M Source/WebCore/style/StyleBuilderStateInlines.h
M Source/WebCore/style/StyleFontSizeFunctions.cpp
M Source/WebCore/style/StyleFontSizeFunctions.h
M Source/WebCore/style/StyleInterpolationWrappers.h
M Source/WebCore/style/StyleResolveForDocument.cpp
M Source/WebCore/style/StyleResolver.cpp
M Source/WebCore/style/values/color/StyleColor.cpp
M Source/WebCore/style/values/color/StyleColor.h
M Source/WebCore/style/values/color/StyleColorResolutionState.h
M Source/WebCore/style/values/color/StyleKeywordColor.cpp
M Source/WebCore/style/values/content/StyleContent.cpp
M Tools/Scripts/webkitpy/style/checkers/jsonchecker.py
Log Message:
-----------
[UsedStyle] Start using ComputedStyle instead of RenderStyle in some
non-render places
https://bugs.webkit.org/show_bug.cgi?id=304907
Reviewed by Darin Adler.
Starts using `Style::ComputedStyle` in non-render places like `Style::Builder`,
`Style::Extractor and `Style::Interpolation`. Some duplicate function
definitions
are need to support `Style::ComputedStyle` and `RenderStyle` in parallel to
avoid
this change getting too big, but they will be removed over time.
Also updates the naming in CSSProperties.json to reflect that the codegen
entries
are primarily about `Style::ComputedStyle` not `RenderStyle`.
* Source/WebCore/css/CSSProperties.json:
* Source/WebCore/css/CSSToLengthConversionData.cpp:
* Source/WebCore/css/scripts/process-css-properties.py:
* Source/WebCore/css/scripts/test/TestCSSProperties.json:
*
Source/WebCore/css/scripts/test/TestCSSPropertiesResults/StyleBuilderGenerated.cpp:
*
Source/WebCore/css/scripts/test/TestCSSPropertiesResults/StyleComputedStyleProperties.cpp:
*
Source/WebCore/css/scripts/test/TestCSSPropertiesResults/StyleExtractorGenerated.cpp:
*
Source/WebCore/css/scripts/test/TestCSSPropertiesResults/StyleInterpolationWrapperMap.cpp:
* Source/WebCore/dom/Document.cpp:
* Source/WebCore/dom/Document.h:
* Source/WebCore/page/LocalFrame.cpp:
* Source/WebCore/page/LocalFrameView.cpp:
* Source/WebCore/rendering/style/RenderStyleBase.h:
* Source/WebCore/style/AnchorPositionEvaluator.cpp:
* Source/WebCore/style/StyleBuilder.cpp:
* Source/WebCore/style/StyleBuilderCustom.h:
* Source/WebCore/style/StyleBuilderState.cpp:
* Source/WebCore/style/StyleBuilderState.h:
* Source/WebCore/style/StyleBuilderStateInlines.h:
* Source/WebCore/style/StyleFontSizeFunctions.cpp:
* Source/WebCore/style/StyleFontSizeFunctions.h:
* Source/WebCore/style/StyleInterpolationWrappers.h:
* Source/WebCore/style/StyleResolveForDocument.cpp:
* Source/WebCore/style/StyleResolver.cpp:
* Source/WebCore/style/values/color/StyleColor.cpp:
* Source/WebCore/style/values/color/StyleColor.h:
* Source/WebCore/style/values/color/StyleColorResolutionState.h:
* Source/WebCore/style/values/color/StyleKeywordColor.cpp:
* Source/WebCore/style/values/content/StyleContent.cpp:
* Tools/Scripts/webkitpy/style/checkers/jsonchecker.py:
Canonical link: https://commits.webkit.org/305094@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications