Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: dfc530cd33adea18c0c7e15b1f58483f5457775c
https://github.com/WebKit/WebKit/commit/dfc530cd33adea18c0c7e15b1f58483f5457775c
Author: Sam Weinig <[email protected]>
Date: 2026-09-06 (Sun, 06 Sep 2026)
Changed paths:
M LayoutTests/platform/glib/fast/quirks/active-quirks-by-domain-expected.txt
M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
M Source/WTF/wtf/PlatformEnable.h
M Source/WTF/wtf/PlatformEnableCocoa.h
M Source/WebCore/Scripts/SettingsTemplates/Settings.cpp.erb
M Source/WebCore/Sources.txt
M Source/WebCore/SourcesCocoa.txt
M Source/WebCore/css/CSSProperties.json
M Source/WebCore/dom/Document.cpp
M Source/WebCore/dom/Document.h
M Source/WebCore/editing/EditingStyle.cpp
M Source/WebCore/page/ChromeClient.h
M Source/WebCore/page/LocalFrameViewLayoutContext.cpp
M Source/WebCore/page/LocalFrameViewLayoutContext.h
M Source/WebCore/page/Page.cpp
M Source/WebCore/page/Page.h
M Source/WebCore/page/QuirkTable.cpp
M Source/WebCore/page/Settings.yaml
M Source/WebCore/page/SettingsBase.cpp
M Source/WebCore/page/SettingsBase.h
M Source/WebCore/platform/graphics/FontCascade.h
M Source/WebCore/platform/graphics/FontCascadeDescription.cpp
M Source/WebCore/platform/graphics/FontCascadeDescription.h
M Source/WebCore/rendering/RenderBlockFlow.cpp
M Source/WebCore/rendering/RenderBlockFlow.h
M Source/WebCore/rendering/RenderElement.cpp
M Source/WebCore/rendering/RenderElement.h
M Source/WebCore/rendering/RenderObject.cpp
M Source/WebCore/rendering/RenderObject.h
M Source/WebCore/rendering/RenderText.cpp
M Source/WebCore/rendering/RenderText.h
M Source/WebCore/rendering/RenderView.h
M Source/WebCore/rendering/TextAutoSizing.cpp
M Source/WebCore/rendering/TextAutoSizing.h
M Source/WebCore/rendering/style/AutosizeStatus.cpp
M Source/WebCore/rendering/style/AutosizeStatus.h
M Source/WebCore/style/StyleAdjuster.cpp
M Source/WebCore/style/StyleAdjuster.h
M Source/WebCore/style/StyleBuilderCustom.h
M Source/WebCore/style/StyleBuilderState.cpp
M Source/WebCore/style/StyleBuilderState.h
M Source/WebCore/style/StyleDifference.cpp
M Source/WebCore/style/computed/StyleComputedStyle+InitialInlines.h
M Source/WebCore/style/computed/StyleComputedStyle.h
M Source/WebCore/style/computed/StyleComputedStyleBase+ConstructionInlines.h
M Source/WebCore/style/computed/StyleComputedStyleBase.cpp
M Source/WebCore/style/computed/StyleComputedStyleBase.h
M Source/WebCore/style/computed/data/StyleInheritedData.cpp
M Source/WebCore/style/computed/data/StyleInheritedData.h
M Source/WebCore/style/computed/data/StyleInheritedRareData.cpp
M Source/WebCore/style/computed/data/StyleInheritedRareData.h
M Source/WebCore/style/values/size-adjust/StyleTextSizeAdjust.cpp
M Source/WebCore/style/values/size-adjust/StyleTextSizeAdjust.h
M Source/WebCore/testing/InternalSettings.cpp
M Source/WebKit/Shared/WebPreferencesDefaultValues.h
M Source/WebKit/Shared/ios/WebPreferencesDefaultValuesIOS.mm
M Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm
M Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp
M Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.h
M Source/WebKit/WebProcess/WebPage/WebPage.cpp
M Source/WebKit/WebProcess/WebPage/WebPage.h
M Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm
M Source/WebKitLegacy/mac/WebView/WebFrame.mm
M Source/WebKitLegacy/mac/WebView/WebPreferences.mm
M Source/cmake/OptionsCocoa.cmake
M Source/cmake/WebKitFeatures.cmake
M Tools/Scripts/webkitperl/FeatureList.pm
Log Message:
-----------
Remove ENABLE_TEXT_AUTOSIZING macro
https://bugs.webkit.org/show_bug.cgi?id=322941
Reviewed by Alan Baradlay.
`ENABLE_TEXT_AUTOSIZING` can be compiled on all platforms and has a runtime
setting `TextAutosizingEnabled` that can be used to disable the feature.
All Cocoa ports already always enabled ENABLE_TEXT_AUTOSIZING, with only the
IOS_PLATFORM enabling the runtime settings by default, so this only effects
the non-Cocoa ports. For those non-Cocoa ports, the runtime setting is off
by default.
This allows simplifying some code and reducing the matrix of test
configurations.
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WTF/wtf/PlatformEnable.h:
* Source/WTF/wtf/PlatformEnableCocoa.h:
* Source/WebCore/Scripts/SettingsTemplates/Settings.cpp.erb:
* Source/WebCore/css/CSSProperties.json:
* Source/WebCore/dom/Document.cpp:
* Source/WebCore/dom/Document.h:
* Source/WebCore/editing/EditingStyle.cpp:
* Source/WebCore/page/ChromeClient.h:
* Source/WebCore/page/LocalFrameViewLayoutContext.cpp:
* Source/WebCore/page/LocalFrameViewLayoutContext.h:
* Source/WebCore/page/Page.cpp:
* Source/WebCore/page/Page.h:
* Source/WebCore/page/Quirks.cpp:
* Source/WebCore/page/Quirks.h:
* Source/WebCore/page/QuirkTable.cpp:
* Source/WebCore/page/Settings.yaml:
* Source/WebCore/page/SettingsBase.cpp:
* Source/WebCore/page/SettingsBase.h:
* Source/WebCore/platform/graphics/FontCascade.h:
* Source/WebCore/platform/graphics/FontCascadeDescription.cpp:
* Source/WebCore/platform/graphics/FontCascadeDescription.h:
* Source/WebCore/rendering/RenderBlockFlow.cpp:
* Source/WebCore/rendering/RenderBlockFlow.h:
* Source/WebCore/rendering/RenderElement.cpp:
* Source/WebCore/rendering/RenderElement.h:
* Source/WebCore/rendering/RenderObject.cpp:
* Source/WebCore/rendering/RenderObject.h:
* Source/WebCore/rendering/RenderText.cpp:
* Source/WebCore/rendering/RenderText.h:
* Source/WebCore/rendering/RenderView.h:
* Source/WebCore/rendering/TextAutoSizing.cpp:
* Source/WebCore/rendering/TextAutoSizing.h:
* Source/WebCore/rendering/style/AutosizeStatus.cpp:
* Source/WebCore/rendering/style/AutosizeStatus.h:
* Source/WebCore/style/StyleAdjuster.cpp:
* Source/WebCore/style/StyleAdjuster.h:
* Source/WebCore/style/StyleBuilderCustom.h:
* Source/WebCore/style/StyleBuilderState.cpp:
* Source/WebCore/style/StyleBuilderState.h:
* Source/WebCore/style/StyleDifference.cpp:
* Source/WebCore/style/computed/StyleComputedStyle+InitialInlines.h:
* Source/WebCore/style/computed/StyleComputedStyle.h:
* Source/WebCore/style/computed/StyleComputedStyleBase+ConstructionInlines.h:
* Source/WebCore/style/computed/StyleComputedStyleBase.cpp:
* Source/WebCore/style/computed/StyleComputedStyleBase.h:
* Source/WebCore/style/computed/data/StyleInheritedData.cpp:
* Source/WebCore/style/computed/data/StyleInheritedData.h:
* Source/WebCore/style/computed/data/StyleInheritedRareData.cpp:
* Source/WebCore/style/computed/data/StyleInheritedRareData.h:
* Source/WebCore/style/values/size-adjust/StyleTextSizeAdjust.cpp:
* Source/WebCore/style/values/size-adjust/StyleTextSizeAdjust.h:
* Source/WebCore/testing/InternalSettings.cpp:
* Source/WebKit/Shared/WebPreferencesDefaultValues.h:
* Source/WebKit/Shared/ios/WebPreferencesDefaultValuesIOS.mm:
* Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm:
* Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp:
* Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.h:
* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
* Source/WebKit/WebProcess/WebPage/WebPage.h:
* Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm:
* Source/WebKitLegacy/mac/WebView/WebFrame.mm:
* Source/WebKitLegacy/mac/WebView/WebPreferences.mm:
* Source/cmake/OptionsCocoa.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Tools/Scripts/webkitperl/FeatureList.pm:
Canonical link: https://commits.webkit.org/320592@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications