[webkit-changes] [WebKit/WebKit] 379505: Subtitle size is enlarged in Full screen

Dana Estra noreply at github.com
Mon Feb 12 12:35:44 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 379505f1665c451170e5b98be8b8516e96ad9d53
      https://github.com/WebKit/WebKit/commit/379505f1665c451170e5b98be8b8516e96ad9d53
  Author: Dana Estra <destra at apple.com>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M Source/WebCore/html/track/VTTCue.cpp

  Log Message:
  -----------
  Subtitle size is enlarged in Full screen
https://bugs.webkit.org/show_bug.cgi?id=269085
rdar://122584350

Reviewed by Jer Noble.

Webkit-media-text-track-display pseudo-elements should have a font size unit of CQMIN instead of CQH. CQMIN will be calculated to be CQW if the width of the video element is shorter than the height, or CQH vice versa. This creates a more appropriate font size.

* Source/WebCore/html/track/VTTCue.cpp:
(WebCore::VTTCueBox::applyCSSProperties):

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




More information about the webkit-changes mailing list