UPDATE: My original post was misleading as I was misunderstanding part of the problem specific to my application. In any case, there is still a problem and it turns out it appears to be an unexpected change in WKWebView's print rendering (not html rendering as I originally thought). All of a sudden printing background colors seems to be off by default.
I was able to resolve the issue using this answer on SO: https://stackoverflow.com/a/75882507/1165843.
Topic:
Safari & Web
SubTopic:
General
Tags: