Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r172958 - [GTK] Selection background is rendered white when unf…
…ocused with recent GTK+ https://bugs.webkit.org/show_bug.cgi?id=136251 Reviewed by Martin Robinson. This is due to a change in the GTK+ theme, but because we are not using the right flags to get the selections colors. We should use GTK_STATE_FLAG_SELECTED | GTK_STATE_FLAG_FOCUSED when focused and GTK_STATE_FLAG_SELECTED when unfocused, instead of GTK_STATE_FLAG_ACTIVE when unfocused. * platform/gtk/RenderThemeGtk3.cpp: (WebCore::RenderThemeGtk::platformActiveSelectionBackgroundColor): (WebCore::RenderThemeGtk::platformInactiveSelectionBackgroundColor): (WebCore::RenderThemeGtk::platformActiveSelectionForegroundColor): (WebCore::RenderThemeGtk::platformInactiveSelectionForegroundColor): (WebCore::RenderThemeGtk::platformActiveListBoxSelectionBackgroundColor): (WebCore::RenderThemeGtk::platformInactiveListBoxSelectionBackgroundColor): (WebCore::RenderThemeGtk::platformActiveListBoxSelectionForegroundColor): (WebCore::RenderThemeGtk::platformInactiveListBoxSelectionForegroundColor):
- Loading branch information
1 parent
9778814
commit 63a6b7d
Showing
2 changed files
with
31 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters