[webkit-changes] [WebKit/WebKit] df0a44: Follow-up after 284826 at main: make `transform-style...
Etienne Segonzac
noreply at github.com
Thu Oct 17 14:56:42 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: df0a4447327fbf612b16a59dad219c41a0395cb1
https://github.com/WebKit/WebKit/commit/df0a4447327fbf612b16a59dad219c41a0395cb1
Author: Etienne Segonzac <sgz at apple.com>
Date: 2024-10-17 (Thu, 17 Oct 2024)
Changed paths:
M LayoutTests/platform/visionos/TestExpectations
M LayoutTests/platform/visionos/transforms/separated-expected.txt
M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
M Source/WebCore/css/CSSPrimitiveValueMappings.h
M Source/WebCore/css/CSSProperties.json
M Source/WebCore/css/CSSValueKeywords.in
M Source/WebCore/css/ComputedStyleExtractor.cpp
M Source/WebCore/css/parser/CSSParserContext.cpp
M Source/WebCore/css/parser/CSSParserContext.h
M Source/WebCore/rendering/RenderLayerBacking.cpp
M Source/WebCore/rendering/style/RenderStyleConstants.cpp
M Source/WebCore/rendering/style/RenderStyleConstants.h
M Source/WebKit/UIProcess/API/APIPageConfiguration.h
M Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm
M Source/WebKit/UIProcess/API/Cocoa/WKWebViewConfiguration.mm
M Tools/WebKitTestRunner/cocoa/TestControllerCocoa.mm
Log Message:
-----------
Follow-up after 284826 at main: make `transform-style: separated` testable in EWS
https://bugs.webkit.org/show_bug.cgi?id=281659
<rdar://138102510>
Reviewed by Simon Fraser and Tim Nguyen.
Replace the previous compile time flag with one based on the required
CA capability (CORE_ANIMATION_SEPARATED_LAYERS), and mark the feature as
testable.
This is is still gated by a runtime configuration flag.
* LayoutTests/platform/visionos/TestExpectations:
* LayoutTests/platform/visionos/transforms/separated-expected.txt:
Mark the test as passing and rebaseline the expectations.
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
Mark CSSTransformStyleSeparatedEnabled as testable.
* Source/WebCore/css/CSSPrimitiveValueMappings.h:
(WebCore::toCSSValueID):
(WebCore::fromCSSValueID):
* Source/WebCore/css/CSSProperties.json:
* Source/WebCore/css/CSSValueKeywords.in:
* Source/WebCore/css/ComputedStyleExtractor.cpp:
(WebCore::ComputedStyleExtractor::valueForPropertyInStyle const):
* Source/WebCore/css/parser/CSSParserContext.cpp:
(WebCore::add):
* Source/WebCore/css/parser/CSSParserContext.h:
* Source/WebCore/rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::updateGeometry):
* Source/WebCore/rendering/style/RenderStyleConstants.cpp:
(WebCore::operator<<):
* Source/WebCore/rendering/style/RenderStyleConstants.h:
* Source/WebKit/UIProcess/API/APIPageConfiguration.h:
* Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView _setupPageConfiguration:withPool:]):
* Source/WebKit/UIProcess/API/Cocoa/WKWebViewConfiguration.mm:
(-[WKWebViewConfiguration _cssTransformStyleSeparatedEnabled]):
(-[WKWebViewConfiguration _setCSSTransformStyleSeparatedEnabled:]):
* Tools/WebKitTestRunner/cocoa/TestControllerCocoa.mm:
(WTR::initializeWebViewConfiguration):
Replace `ENABLE(CSS_TRANSFORM_STYLE_SEPARATED)` with `HAVE(CORE_ANIMATION_SEPARATED_LAYERS)`.
Canonical link: https://commits.webkit.org/285360@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