RESOLVED FIXED 188181
Don't call RenderTheme::platformColorsDidChange() during printing
https://bugs.webkit.org/show_bug.cgi?id=188181
Summary Don't call RenderTheme::platformColorsDidChange() during printing
Timothy Hatcher
Reported 2018-07-30 14:55:54 PDT
We don't need to call RenderTheme::platformColorsDidChange() during printing anymore. RenderTheme caches dark and light mode colors separately. Also platformColorsDidChange() calls Page::updateStyleForAllPagesAfterGlobalChangeInEnvironment() which is very heavy handed and can mess up printing operations. rdar://problem/42360070
Attachments
Patch (2.37 KB, patch)
2018-07-30 15:00 PDT, Timothy Hatcher
no flags
Archive of layout-test-results from ews101 for mac-sierra (2.31 MB, application/zip)
2018-07-30 16:05 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews107 for mac-sierra-wk2 (2.87 MB, application/zip)
2018-07-30 16:13 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews112 for mac-sierra (3.00 MB, application/zip)
2018-07-30 16:44 PDT, EWS Watchlist
no flags
Patch (2.42 KB, patch)
2018-07-30 17:35 PDT, Timothy Hatcher
no flags
Timothy Hatcher
Comment 1 2018-07-30 15:00:18 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 2 2018-07-30 16:05:31 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 3 2018-07-30 16:05:33 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 4 2018-07-30 16:13:34 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 5 2018-07-30 16:13:36 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 6 2018-07-30 16:44:25 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 7 2018-07-30 16:44:26 PDT Comment hidden (obsolete)
Timothy Hatcher
Comment 8 2018-07-30 17:35:25 PDT
WebKit Commit Bot
Comment 9 2018-07-31 11:23:44 PDT
Comment on attachment 346130 [details] Patch Clearing flags on attachment: 346130 Committed r234432: <https://trac.webkit.org/changeset/234432>
WebKit Commit Bot
Comment 10 2018-07-31 11:23:46 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.