[webkit-changes] [WebKit/WebKit] 7bfadd: REGRESSION(282068 at main): Scrollbars no longer matc...
Nikos Mouchtaris
noreply at github.com
Fri Sep 20 14:10:26 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7bfadd7e9dc6f12de05d72357d6dad3b8ed18b2d
https://github.com/WebKit/WebKit/commit/7bfadd7e9dc6f12de05d72357d6dad3b8ed18b2d
Author: Nikolaos Mouchtaris <nmouchtaris at apple.com>
Date: 2024-09-20 (Fri, 20 Sep 2024)
Changed paths:
M Source/WebCore/page/Quirks.cpp
M Source/WebCore/page/Quirks.h
M Source/WebCore/style/StyleAdjuster.cpp
Log Message:
-----------
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
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