Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 904d209b92e989c17e5133a96c75eb75d2941d5a
      
https://github.com/WebKit/WebKit/commit/904d209b92e989c17e5133a96c75eb75d2941d5a
  Author: Phinehas Fuachie <[email protected]>
  Date:   2025-12-05 (Fri, 05 Dec 2025)

  Changed paths:
    M 
LayoutTests/media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-volume-container-mute-button.html
    M 
Source/WebCore/Modules/modern-media-controls/controls/macos-inline-media-controls.js
    M Source/WebCore/rendering/cocoa/RenderThemeCocoa.mm

  Log Message:
  -----------
  macos inline media controls are wrong in really narrow videos
rdar://164371162
https://bugs.webkit.org/show_bug.cgi?id=303323

Reviewed by Jer Noble.

Fix narrow slider on the bottom controls bar and keep it centered as the video 
gets narrow. Remove
top-right controls bar to prevent it from overlapping with volume slider 
container.

* 
LayoutTests/media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-volume-container-mute-button.html:
* 
Source/WebCore/Modules/modern-media-controls/controls/macos-inline-media-controls.js:
(MacOSInlineMediaControls.prototype.layout):
* Source/WebCore/rendering/cocoa/RenderThemeCocoa.mm:
(WebCore::macOSInlineMediaControlsStyleSheet):

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



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

Reply via email to