Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 772dd795ab09984d97da1857548c643e9877ff51
      
https://github.com/WebKit/WebKit/commit/772dd795ab09984d97da1857548c643e9877ff51
  Author: Phinehas Fuachie <[email protected]>
  Date:   2026-04-20 (Mon, 20 Apr 2026)

  Changed paths:
    A 
LayoutTests/media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-volume-slider-concentric-padding-expected.txt
    A 
LayoutTests/media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-volume-slider-concentric-padding.html
    M Source/WebCore/rendering/cocoa/RenderThemeCocoa.mm

  Log Message:
  -----------
  volume slider of built-in media controls does not have enough horizontal 
margin
https://bugs.webkit.org/show_bug.cgi?id=312404
rdar://169024106

Reviewed by Andy Estes.

The volume slider and speaker glyph in the inline media controls lacked 
sufficient horizontal
margin compared to other control groups. Add padding-inline: 8px with 
box-sizing: border-box and
increase the container width from 180px to 196px to maintain the same content 
area while ensuring
leading/trailing padding matches top/bottom padding.

* 
LayoutTests/media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-volume-slider-concentric-padding-expected.txt:
 Added.
* Source/WebCore/rendering/cocoa/RenderThemeCocoa.mm:
(WebCore::macOSInlineMediaControlsStyleSheet):

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



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

Reply via email to