[webkit-changes] [WebKit/WebKit] 7eb463: REGRESSION(289503 at main): www.business-standard.com...

Jer Noble noreply at github.com
Fri Feb 14 10:21:59 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7eb463a782c516d7ce373f1215d8f9e8997eb3b3
      https://github.com/WebKit/WebKit/commit/7eb463a782c516d7ce373f1215d8f9e8997eb3b3
  Author: Jer Noble <jer.noble at apple.com>
  Date:   2025-02-14 (Fri, 14 Feb 2025)

  Changed paths:
    A LayoutTests/media/modern-media-controls/audio/audio-controls-metrics-content-box-expected.txt
    A LayoutTests/media/modern-media-controls/audio/audio-controls-metrics-content-box.html
    M Source/WebCore/Modules/modern-media-controls/controls/media-controls.css

  Log Message:
  -----------
  REGRESSION(289503 at main): www.business-standard.com audio player is cut off
rdar://144633668
https://bugs.webkit.org/show_bug.cgi?id=287565

Reviewed by Simon Fraser.

The business-standard.com site set a padding on the <audio> elements it inserts into
its articles, but also sets `box-sizing:border-box` on those elements. In combination
with the UA rule requiring a specific height for those elements, this causes the content
area of those elements to be reduced and clipped.

Set a UA rule for audio elements such that the element's `box-sizing:` is set to
`content-box`, which ensures the content area of the element will always be visible.

* Source/WebCore/Modules/modern-media-controls/controls/media-controls.css:
(:host(audio)):

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



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


More information about the webkit-changes mailing list