Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[GTK] WebKit browser scrollbars not always correctly displayed if ove…
…rlay scrollbars are disabled https://bugs.webkit.org/show_bug.cgi?id=234874 Patch by Michael Catanzaro <mcatanzaro@gnome.org> on 2022-02-11 Reviewed by Carlos Garcia Campos. If overlay scrollbars are disabled, and there is not enough content for the page to be scrollable, and scrollbars are forced using overflow:scroll, then we currently fail to paint the scrollbars properly. At minimum, we need to paint the scrollbar background, which is what the macOS port does. Do so. In the future, we might want to additionally paint the rest of the scrollbars, similar to the GTK_POLICY_ALWAYS scrollbar policy type, but this would require more work. * platform/adwaita/ScrollbarThemeAdwaita.cpp: (WebCore::ScrollbarThemeAdwaita::paint): * platform/gtk/ScrollbarThemeGtk.cpp: (WebCore::ScrollbarThemeGtk::paint): Canonical link: https://commits.webkit.org/247131@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@289620 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
4378ecf
commit 905068e504c5a021410d3871a85ec04cb6d9d9e1
Showing
3 changed files
with
36 additions
and
14 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
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