Changeset 282237 in webkit
- Timestamp:
- Sep 9, 2021, 1:05:16 PM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
rendering/RenderThemeWin.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r282235 r282237 1 2021-09-09 Fujii Hironori <Hironori.Fujii@sony.com> 2 3 [Win] REGRESSION(r282123): some layout tests are failing because the bgcolor of text input forms are unexpectedly black 4 https://bugs.webkit.org/show_bug.cgi?id=230077 5 6 Reviewed by Don Olmstead. 7 8 r282123 enabled HAVE_OS_DARK_MODE_SUPPORT for WinCairo. It uses 9 '-webkit-control-background' in the user-agent style sheet. 10 RenderThemeWin::systemColor always returned black for it. Because 11 WinCairo doesn't support dark mode yet, it is always light mode. 12 So, '-webkit-control-background' should be white at the moment. 13 14 * rendering/RenderThemeWin.cpp: 15 (WebCore::RenderThemeWin::systemColor const): Return white for CSSValueWebkitControlBackground. 16 1 17 2021-09-09 Sihui Liu <sihui_liu@apple.com> 2 18 -
trunk/Source/WebCore/rendering/RenderThemeWin.cpp
r278618 r282237 1005 1005 Color RenderThemeWin::systemColor(CSSValueID cssValueId, OptionSet<StyleColor::Options> options) const 1006 1006 { 1007 #if HAVE(OS_DARK_MODE_SUPPORT) 1008 switch (cssValueId) { 1009 case CSSValueWebkitControlBackground: 1010 // FIXME: Dark mode isn't supported yet. https://webkit.org/b/230032 1011 return Color::white; 1012 } 1013 #endif 1007 1014 int sysColorIndex = cssValueIdToSysColorIndex(cssValueId); 1008 1015 if (sysColorIndex == -1)
Note:
See TracChangeset
for help on using the changeset viewer.