Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a6315aec31a4ec2933eeb3b5632970449188cc93
      
https://github.com/WebKit/WebKit/commit/a6315aec31a4ec2933eeb3b5632970449188cc93
  Author: Dana Estra <[email protected]>
  Date:   2026-10-10 (Sat, 10 Oct 2026)

  Changed paths:
    M LayoutTests/TestExpectations
    M LayoutTests/media/track/captions-webvtt/no-snap-to-lines-overlap.vtt
    M LayoutTests/media/track/captions-webvtt/snap-to-lines-inline-style.vtt
    M LayoutTests/media/track/captions-webvtt/snap-to-lines-left-and-right.vtt
    M LayoutTests/platform/wpe/TestExpectations
    M Source/WebCore/Modules/modern-media-controls/controls/text-tracks.css

  Log Message:
  -----------
  WebVTT display backdrop overflows outside of cue
https://bugs.webkit.org/show_bug.cgi?id=326595
rdar://183472002

Reviewed by Jer Noble.

Add css rules width:stretch and height:stretch to 
-webkit-media-text-track-display-backdrop.

The backdrop is meant to provide a way to style the cue at the inline-block 
level.
Currently the backdrop allows the cue text to overflow outside the block-level 
cue element.
Since the block element is what is styled based on the author's vtt settings, 
the backdrop
needs to conform to the block's shape/size.

Updates test expectations to reflect tests that are now passing.

* Source/WebCore/Modules/modern-media-controls/controls/text-tracks.css:
(::-webkit-media-text-track-display-backdrop):
* LayoutTests/TestExpectations:
* LayoutTests/media/track/captions-webvtt/no-snap-to-lines-overlap.vtt:
* LayoutTests/media/track/captions-webvtt/snap-to-lines-inline-style.vtt:
* LayoutTests/media/track/captions-webvtt/snap-to-lines-left-and-right.vtt:
* LayoutTests/platform/wpe/TestExpectations:

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



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

Reply via email to