Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8917b6acfc0d79357c993094fd7b9d8e271ee75e
      
https://github.com/WebKit/WebKit/commit/8917b6acfc0d79357c993094fd7b9d8e271ee75e
  Author: Dana Estra <[email protected]>
  Date:   2025-10-07 (Tue, 07 Oct 2025)

  Changed paths:
    M Source/WebCore/Modules/modern-media-controls/controls/text-tracks.css

  Log Message:
  -----------
  Change value of css property -webkit-line-box-contain on text track container 
div
https://bugs.webkit.org/show_bug.cgi?id=298623
rdar://156714727

Reviewed by Tim Nguyen.

On the <div useragentpart=-webkit-text-track-container>, the value of css 
property
-webkit-line-box-contain should be changed from "block inline-box replaced" to
the default, "block inline replaced". This will allow us to pass webvtt web 
platform
test class_font_shorthand.html and probably others as well.

class_font_shorthand.html tests a cue with a nested <c> element, where <c> is 
given a line height of 18px.
Because of  -webkit-line-box-contain:"block inline-box replaced", the line 
height of the cue is not
impacted by the line height of <c>, causing it to differ from the reference 
file.

* Source/WebCore/Modules/modern-media-controls/controls/text-tracks.css:
(video::-webkit-media-text-track-container):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to