This better matches the platform and avoid flickering. <rdar://problem/58652428>
Created attachment 398132 [details] Patch
Created attachment 398135 [details] Patch
Comment on attachment 398135 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=398135&action=review > Source/WebCore/page/FrameView.cpp:2990 > +#elif PLATFORM(WATCHOS) Can we do this without a platform #ifdef in this cross-platform file? > Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm:540 > + [self setBackgroundColor:[UIColor blackColor]]; What if the client has set _drawsBackground to NO?
Comment on attachment 398135 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=398135&action=review > Source/WebKit/ChangeLog:11 > + the background color for web views. This will then get propogated to propogated
Created attachment 399329 [details] Patch
Comment on attachment 399329 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=399329&action=review > Source/WebCore/style/UserAgentStyle.cpp:101 > +#define SYSTEM_BACKGROUND_COLOR "html{background-color: white;}" no need for the space or ;