Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 111a8cc470a7408ea63ba1a47d09fb5de122c0cb
https://github.com/WebKit/WebKit/commit/111a8cc470a7408ea63ba1a47d09fb5de122c0cb
Author: Simon Fraser <[email protected]>
Date: 2026-09-13 (Sun, 13 Sep 2026)
Changed paths:
A
LayoutTests/media/modern-media-controls/media-controller/media-controller-color-scheme-expected.txt
A
LayoutTests/media/modern-media-controls/media-controller/media-controller-color-scheme.html
M Source/WebCore/Modules/modern-media-controls/controls/media-controls.css
Log Message:
-----------
Media controls should declare their support for light & dark mode
https://bugs.webkit.org/show_bug.cgi?id=324121
rdar://187337299
Reviewed by Abrar Rahman Protyasha.
In Mail auto dark mode, which uses the color-filter property to change CSS
colors,
we want to ensure that media controls aren't affected, which we can do by
explicitly
declaring that the media controls support light and dark modes.
Test:
media/modern-media-controls/media-controller/media-controller-color-scheme.html
*
LayoutTests/media/modern-media-controls/media-controller/media-controller-color-scheme-expected.txt:
Added.
*
LayoutTests/media/modern-media-controls/media-controller/media-controller-color-scheme.html:
Added.
* Source/WebCore/Modules/modern-media-controls/controls/media-controls.css:
(.media-controls-container):
Canonical link: https://commits.webkit.org/321034@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications