Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: d5844d6138a1247f0cceee88545a30881440487f https://github.com/WebKit/WebKit/commit/d5844d6138a1247f0cceee88545a30881440487f Author: Sam Weinig <s...@webkit.org> Date: 2025-07-20 (Sun, 20 Jul 2025)
Changed paths: M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml M Source/WTF/wtf/PlatformEnable.h M Source/WTF/wtf/PlatformEnableCocoa.h M Source/WebCore/CMakeLists.txt 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/CSSValueKeywords.in M Source/WebCore/html/HTMLImageElement.cpp M Source/WebCore/loader/DocumentLoader.cpp M Source/WebCore/page/ScrollBehavior.cpp M Source/WebCore/rendering/RenderLayerScrollableArea.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/StyleRareInheritedData.cpp M Source/WebCore/rendering/style/StyleRareInheritedData.h M Source/WebCore/rendering/style/StyleRareNonInheritedData.cpp M Source/WebCore/rendering/style/StyleRareNonInheritedData.h M Source/WebCore/rendering/style/WillChangeData.cpp M Source/WebCore/style/StyleAdjuster.cpp M Source/WebCore/style/StyleBuilderConverter.h M Source/WebCore/style/StyleExtractorConverter.h M Source/WebCore/style/StyleExtractorSerializer.h A Source/WebCore/style/values/non-standard/StyleWebKitOverflowScrolling.cpp A Source/WebCore/style/values/non-standard/StyleWebKitOverflowScrolling.h A Source/WebCore/style/values/non-standard/StyleWebKitTouchCallout.cpp A Source/WebCore/style/values/non-standard/StyleWebKitTouchCallout.h A Source/WebCore/style/values/overflow/StyleScrollBehavior.cpp A Source/WebCore/style/values/overflow/StyleScrollBehavior.h M Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm M Source/cmake/OptionsWin.cmake M Source/cmake/WebKitFeatures.cmake M Tools/Scripts/webkitperl/FeatureList.pm Log Message: ----------- [Style] Use enums for `scroll-behavior`, `-webkit-overflow-scrolling` and `-webkit-touch-callout` in RenderStyle https://bugs.webkit.org/show_bug.cgi?id=296194 Reviewed by Tim Nguyen. Converts the representations for `scroll-behavior`, `-webkit-overflow-scrolling` and `-webkit-touch-callout` in RenderStyle to use enums rather than `bool` to allow them to participate in more autogeneration. Also updated the ENALBE macros for `-webkit-overflow-scrolling` and `-webkit-touch-callout` to match their names, using `ENABLE(WEBKIT_TOUCH_CALLOUT_CSS_PROPERTY)` and `ENABLE(WEBKIT_OVERFLOW_SCROLLING_CSS_PROPERTY)` respectively. * Tools/Scripts/webkitperl/FeatureList.pm: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml: * Source/WTF/wtf/PlatformEnable.h: * Source/WTF/wtf/PlatformEnableCocoa.h: * Source/WebCore/CMakeLists.txt: * 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/css/CSSValueKeywords.in: * Source/WebCore/html/HTMLImageElement.cpp: * Source/WebCore/loader/DocumentLoader.cpp: * Source/WebCore/page/ScrollBehavior.cpp: * Source/WebCore/rendering/RenderLayerScrollableArea.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/StyleRareInheritedData.cpp: * Source/WebCore/rendering/style/StyleRareInheritedData.h: * Source/WebCore/rendering/style/StyleRareNonInheritedData.cpp: * Source/WebCore/rendering/style/StyleRareNonInheritedData.h: * Source/WebCore/rendering/style/WillChangeData.cpp: * Source/WebCore/style/StyleAdjuster.cpp: * Source/WebCore/style/StyleBuilderConverter.h: * Source/WebCore/style/StyleExtractorConverter.h: * Source/WebCore/style/StyleExtractorSerializer.h: * Source/WebCore/style/values/non-standard/StyleWebKitOverflowScrolling.cpp: Added. * Source/WebCore/style/values/non-standard/StyleWebKitOverflowScrolling.h: Added. * Source/WebCore/style/values/non-standard/StyleWebKitTouchCallout.cpp: Added. * Source/WebCore/style/values/non-standard/StyleWebKitTouchCallout.h: Added. * Source/WebCore/style/values/overflow/StyleScrollBehavior.cpp: Added. * Source/WebCore/style/values/overflow/StyleScrollBehavior.h: Added. * Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm: Canonical link: https://commits.webkit.org/297666@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