[webkit-changes] [WebKit/WebKit] d70968: [UnifiedPDF] Vertical scrollbar is too short after...

Simon Fraser noreply at github.com
Wed Dec 20 19:50:45 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d70968a09fbce20180836668cfe081a333d81834
      https://github.com/WebKit/WebKit/commit/d70968a09fbce20180836668cfe081a333d81834
  Author: Simon Fraser <simon.fraser at apple.com>
  Date:   2023-12-20 (Wed, 20 Dec 2023)

  Changed paths:
    M Source/WebKit/WebProcess/Plugins/PDF/PDFPluginBase.mm

  Log Message:
  -----------
  [UnifiedPDF] Vertical scrollbar is too short after zooming
https://bugs.webkit.org/show_bug.cgi?id=266747
rdar://119963305

Reviewed by Tim Horton.

When leaving space for the scroll corner, we need to subtract the height of the
horizontal scrollbar, not its width.

* Source/WebKit/WebProcess/Plugins/PDF/PDFPluginBase.mm:
(WebKit::PDFPluginBase::viewRelativeVerticalScrollbarRect const):

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




More information about the webkit-changes mailing list