[webkit-changes] [WebKit/WebKit] b5b239: Cherry-pick 284010 at main (7bfadd7e9dc6). https://bu...
Nikos Mouchtaris
noreply at github.com
Tue Sep 24 05:52:54 PDT 2024
Branch: refs/heads/webkitglib/2.46
Home: https://github.com/WebKit/WebKit
Commit: b5b2394216d9a7f899c5e0267be6c77d0099682f
https://github.com/WebKit/WebKit/commit/b5b2394216d9a7f899c5e0267be6c77d0099682f
Author: Nikolaos Mouchtaris <nmouchtaris at apple.com>
Date: 2024-09-24 (Tue, 24 Sep 2024)
Changed paths:
M Source/WebCore/page/Quirks.cpp
M Source/WebCore/page/Quirks.h
M Source/WebCore/style/StyleAdjuster.cpp
Log Message:
-----------
Cherry-pick 284010 at main (7bfadd7e9dc6). https://bugs.webkit.org/show_bug.cgi?id=279942
REGRESSION(282068 at main): Scrollbars no longer match YouTube's dark theme
https://bugs.webkit.org/show_bug.cgi?id=279942
<rdar://problem/135886305>
Reviewed by Tim Nguyen.
Add quirk to youtube to set color-scheme to dark if dark attribute is present on html element. This is due
to scrollbar-width being turned on, which overrides the scrollbar pseudo elements being used by youtube,
which exposes the native scrollbars not being set to dark mode.
* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::needsYouTubeDarkModeQuirk const):
* Source/WebCore/page/Quirks.h:
* Source/WebCore/style/StyleAdjuster.cpp:
(WebCore::Style::Adjuster::adjustForSiteSpecificQuirks const):
Canonical link: https://commits.webkit.org/284010@main
Canonical link: https://commits.webkit.org/282416.133@webkitglib/2.46
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list