Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5b1d2f13b22fcaa97c290d6ab6730c3e38c29318
https://github.com/WebKit/WebKit/commit/5b1d2f13b22fcaa97c290d6ab6730c3e38c29318
Author: Jer Noble <[email protected]>
Date: 2025-12-04 (Thu, 04 Dec 2025)
Changed paths:
M LayoutTests/media/track/text-track-caption-style-menu-expected.txt
M LayoutTests/media/track/text-track-caption-style-menu.html
M Source/WebCore/html/shadow/MediaControlTextTrackContainerElement.cpp
Log Message:
-----------
Subtitle Previews are not visible if there is not an enabled TextTrack
rdar://165805195
https://bugs.webkit.org/show_bug.cgi?id=303512
Reviewed by Eric Carlson.
MediaControlTextTrackContainerElement will check the HTMLMediaElement to see if
captions are visible before adding cues to the render tree; it should also check
whether caption previews are enabled.
* LayoutTests/media/track/text-track-caption-style-menu-expected.txt:
* LayoutTests/media/track/text-track-caption-style-menu.html:
* Source/WebCore/html/shadow/MediaControlTextTrackContainerElement.cpp:
(WebCore::MediaControlTextTrackContainerElement::updateDisplay):
Canonical link: https://commits.webkit.org/303916@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications