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
color-scheme should not propagate to viewport background if set on <b…
…ody> https://bugs.webkit.org/show_bug.cgi?id=243757 Reviewed by Simon Fraser. Change to web compatible behavior where setting the color-scheme on <body> no longer propagates it to <html> tag for scrollbar and webpage background purposes. This change puts WebKit in-line with Gecko & Blink. * LayoutTests/css-dark-mode/color-scheme-scrollbar-expected.txt: * LayoutTests/css-dark-mode/color-scheme-scrollbar.html: * Source/WebCore/page/FrameView.cpp: (WebCore::FrameView::rendererForColorScheme const): Canonical link: https://commits.webkit.org/253565@main
- Loading branch information
Showing
3 changed files
with
11 additions
and
12 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