Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 15b05b24423820280fb1b918fa79d149aba29591
      
https://github.com/WebKit/WebKit/commit/15b05b24423820280fb1b918fa79d149aba29591
  Author: Abrar Rahman Protyasha <[email protected]>
  Date:   2026-01-15 (Thu, 15 Jan 2026)

  Changed paths:
    M LayoutTests/pdf/fullscreen-expected.txt
    M LayoutTests/pdf/load-pdf-twice-in-sequence-expected.txt
    M LayoutTests/pdf/pdf-in-embed-expected.txt
    M LayoutTests/pdf/pdf-in-styled-embed-expected.txt
    M Source/WebKit/WebProcess/Plugins/PDF/PDFPluginBase.mm

  Log Message:
  -----------
  Change PDF background color from gray to white
https://bugs.webkit.org/show_bug.cgi?id=305588
rdar://163509989

Reviewed by Wenson Hsieh.

In a Liquid Glass world, the dark gray background in PDFs viewed in
Safari do not look great and are misaligned with other PDF viewing flows
in the system, particularly Preview.app. As such, this trivial patch
changes the PDF background color to white.

* LayoutTests/pdf/fullscreen-expected.txt:
* LayoutTests/pdf/load-pdf-twice-in-sequence-expected.txt:
* LayoutTests/pdf/pdf-in-embed-expected.txt:
* LayoutTests/pdf/pdf-in-styled-embed-expected.txt:
* Source/WebKit/WebProcess/Plugins/PDF/PDFPluginBase.mm:
(WebKit::PDFPluginBase::pluginBackgroundColor):

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



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

Reply via email to