Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 36e2729f79f4525c161106fb5cb47f4f1eb59a5d
      
https://github.com/WebKit/WebKit/commit/36e2729f79f4525c161106fb5cb47f4f1eb59a5d
  Author: Jer Noble <[email protected]>
  Date:   2026-01-27 (Tue, 27 Jan 2026)

  Changed paths:
    M 
LayoutTests/media/modern-media-controls/tracks-support/sorted-by-user-preferred-languages-expected.txt
    A LayoutTests/media/on-item-enables-subtitles-expected.txt
    A LayoutTests/media/on-item-enables-subtitles.html
    M Source/WebCore/html/track/TextTrack.cpp

  Log Message:
  -----------
  [Cocoa] On caption menu does not enable tracks with kind="subtitle"
rdar://168103697
https://bugs.webkit.org/show_bug.cgi?id=306151

Reviewed by Eric Carlson.

Count "subtitle" tracks as main program content, so they can be
selected automatically when the caption display mode is set to
"always on".

Test: media/on-item-enables-subtitles.html

* LayoutTests/media/on-item-enables-subtitles-expected.txt: Added.
* LayoutTests/media/on-item-enables-subtitles.html: Added.
* Source/WebCore/html/track/TextTrack.cpp:
(WebCore::TextTrack::isMainProgramContent const):

Canonical link: https://commits.webkit.org/306291@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to