Needed by clients to switch the appearance for DOM processing explicitly in light or dark mode. Similar to the WK2 version added in bug 193327.
Created attachment 361075 [details] Patch
Comment on attachment 361075 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=361075&action=review > Source/WebKitLegacy/mac/WebView/WebViewPrivate.h:325 > +- (void)_setUseDarkAppearance:(BOOL)useDarkAppearance; Why not a @property with a getter?
Created attachment 361088 [details] Patch
Comment on attachment 361088 [details] Patch Clearing flags on attachment: 361088 Committed r240948: <https://trac.webkit.org/changeset/240948>
All reviewed patches have been landed. Closing bug.
<rdar://problem/47804744>