[webkit-changes] [WebKit/WebKit] 1a0c22: Add preference to enable vertical writing mode for...
Tim Nguyen
noreply at github.com
Tue Nov 22 02:17:32 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1a0c22eba39aa6bfeab16c9455210f5cb5e751e0
https://github.com/WebKit/WebKit/commit/1a0c22eba39aa6bfeab16c9455210f5cb5e751e0
Author: Tim Nguyen <ntim at apple.com>
Date: 2022-11-22 (Tue, 22 Nov 2022)
Changed paths:
M Source/WTF/Scripts/Preferences/WebPreferencesExperimental.yaml
M Source/WebCore/CMakeLists.txt
M Source/WebCore/DerivedSources-input.xcfilelist
M Source/WebCore/DerivedSources.make
A Source/WebCore/css/horizontalFormControls.css
M Source/WebCore/css/html.css
M Source/WebCore/style/InspectorCSSOMWrappers.cpp
M Source/WebCore/style/UserAgentStyle.cpp
M Source/WebCore/style/UserAgentStyle.h
M Tools/WebKitTestRunner/TestOptions.cpp
Log Message:
-----------
Add preference to enable vertical writing mode for form controls
https://bugs.webkit.org/show_bug.cgi?id=248198
rdar://102591869
Reviewed by Aditya Keerthi and Cameron McCormack.
Only append the rule forcing horizontal controls when the pref is disabled.
* Tools/WebKitTestRunner/TestOptions.cpp:
(WTR::TestOptions::defaults):
* Source/WTF/Scripts/Preferences/WebPreferencesExperimental.yaml:
* Source/WebCore/CMakeLists.txt:
* Source/WebCore/DerivedSources-input.xcfilelist:
* Source/WebCore/DerivedSources.make:
* Source/WebCore/css/horizontalFormControls.css: Added.
(input, textarea, select, button, meter, progress):
* Source/WebCore/css/html.css:
(input, textarea, select, button, meter, progress): Deleted.
* Source/WebCore/style/InspectorCSSOMWrappers.cpp:
(WebCore::Style::InspectorCSSOMWrappers::collectDocumentWrappers):
* Source/WebCore/style/UserAgentStyle.cpp:
(WebCore::Style::UserAgentStyle::ensureDefaultStyleSheetsForElement):
* Source/WebCore/style/UserAgentStyle.h:
Canonical link: https://commits.webkit.org/256928@main
More information about the webkit-changes
mailing list