Created attachment 358227 [details] Testcase macOS Mojave no longer uses subpixel antialiasing, so there should be no need to choose different font rendering settings for smoothing/antialiasing when rendering in transparent vs. opaque layers. Indeed, we're still triggering visual differences when we don't need to.
<rdar://problem/47014944>
I think this regressed with r239306, because now PlatformCALayer::drawLayerContents() turns off smoothing.
Created attachment 358244 [details] Patch
Comment on attachment 358244 [details] Patch Attachment 358244 [details] did not pass mac-wk2-ews (mac-wk2): Output: https://webkit-queues.webkit.org/results/10612519 New failing tests: compositing/contents-format/subpixel-antialiased-text.html
Created attachment 358245 [details] Archive of layout-test-results from ews104 for mac-sierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews104 Port: mac-sierra-wk2 Platform: Mac OS X 10.12.6
https://trac.webkit.org/changeset/239591/webkit