Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e417ae6c5c6f268d2e5025bb68f165a594a063ac
      
https://github.com/WebKit/WebKit/commit/e417ae6c5c6f268d2e5025bb68f165a594a063ac
  Author: Simon Fraser <[email protected]>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

  Changed paths:
    M 
LayoutTests/platform/mac-wk2/fast/scrolling/rtl-scrollbars-animation-property-expected.txt
    M Source/WebCore/platform/mac/ScrollbarThemeMac.mm

  Log Message:
  -----------
  Always-on scrollbars are not symmetrical in the track
https://bugs.webkit.org/show_bug.cgi?id=299577
rdar://161372025

Reviewed by Aditya Keerthi.

Calling `[scrollerImp trackBoxWidth]` on a legacy scrollbar incorrectly 
includes the
track side gap only once, resulting in WebKit computing a scrollbar width of 14
when it should be 17.

Using +scrollerWidth avoids this problem.

* 
LayoutTests/platform/mac-wk2/fast/scrolling/rtl-scrollbars-animation-property-expected.txt:
* Source/WebCore/platform/mac/ScrollbarThemeMac.mm:
(WebCore::ScrollbarThemeMac::scrollbarThickness):

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



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

Reply via email to