Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 607278ffe6a8cff1dbfdae88c0ab45fb7e430e6b
https://github.com/WebKit/WebKit/commit/607278ffe6a8cff1dbfdae88c0ab45fb7e430e6b
Author: Sam Weinig <[email protected]>
Date: 2025-11-26 (Wed, 26 Nov 2025)
Changed paths:
M Source/WebCore/Headers.cmake
M Source/WebCore/Sources.txt
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
M Source/WebCore/css/CSSPrimitiveValueMappings.h
M Source/WebCore/css/CSSProperties.json
M Source/WebCore/css/values/CSSValueAggregates.h
M Source/WebCore/css/values/CSSValueTypes.h
M Source/WebCore/rendering/RenderBox.cpp
R Source/WebCore/rendering/style/PositionTryFallback.cpp
R Source/WebCore/rendering/style/PositionTryFallback.h
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/StyleRareNonInheritedData.h
M Source/WebCore/rendering/updating/RenderTreeBuilderFormControls.cpp
M Source/WebCore/style/AnchorPositionEvaluator.cpp
M Source/WebCore/style/StyleBuilderConverter.h
M Source/WebCore/style/StyleBuilderCustom.h
M Source/WebCore/style/StyleBuilderState.h
M Source/WebCore/style/StyleExtractorConverter.h
M Source/WebCore/style/StyleExtractorSerializer.h
M Source/WebCore/style/StyleTreeResolver.cpp
M Source/WebCore/style/StyleTreeResolver.h
M Source/WebCore/style/values/StyleValueTypes+CSSValueConversion.h
M Source/WebCore/style/values/StyleValueTypes.h
M Source/WebCore/style/values/anchor-position/StylePositionArea.cpp
A Source/WebCore/style/values/anchor-position/StylePositionTryFallback.cpp
A Source/WebCore/style/values/anchor-position/StylePositionTryFallback.h
A
Source/WebCore/style/values/anchor-position/StylePositionTryFallbackTactic.h
A Source/WebCore/style/values/anchor-position/StylePositionTryFallbacks.h
M Source/WebCore/style/values/will-change/StyleWillChange.cpp
Log Message:
-----------
[Style] Convert the 'position-try-fallbacks' property to strong style types
https://bugs.webkit.org/show_bug.cgi?id=302878
Reviewed by Darin Adler and Antti Koivisto.
Converts the 'position-try-fallbacks' property to use strong style types.
Adds checking of separators to generic list CSSValue -> Style type conversion
to account for the case where the single item optimization kicks in and the
nested type is also a list. In that case, the list must have a different
separator type, so checking at conversion time allows us to select the correct
type to convert to.
* Source/WebCore/Headers.cmake:
* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/css/CSSPrimitiveValueMappings.h:
* Source/WebCore/css/CSSProperties.json:
* Source/WebCore/rendering/RenderBox.cpp:
* Source/WebCore/rendering/style/PositionTryFallback.cpp: Removed.
* Source/WebCore/rendering/style/PositionTryFallback.h: Removed.
* 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/StyleRareNonInheritedData.h:
* Source/WebCore/style/AnchorPositionEvaluator.cpp:
* Source/WebCore/style/StyleBuilderConverter.h:
* Source/WebCore/style/StyleBuilderCustom.h:
* Source/WebCore/style/StyleBuilderState.h:
* Source/WebCore/style/StyleExtractorConverter.h:
* Source/WebCore/style/StyleExtractorSerializer.h:
* Source/WebCore/style/StyleTreeResolver.cpp:
* Source/WebCore/style/StyleTreeResolver.h:
* Source/WebCore/style/values/StyleValueTypes+CSSValueConversion.h:
* Source/WebCore/style/values/anchor-position/StylePositionArea.cpp:
* Source/WebCore/style/values/anchor-position/StylePositionTryFallback.cpp:
Added.
* Source/WebCore/style/values/anchor-position/StylePositionTryFallback.h: Added.
* Source/WebCore/style/values/anchor-position/StylePositionTryFallbackTactic.h:
Added.
* Source/WebCore/style/values/anchor-position/StylePositionTryFallbacks.h:
Added.
* Source/WebCore/style/values/images/StyleImageOrientation.cpp:
Canonical link: https://commits.webkit.org/303580@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications