The optimization removed in https://bugs.webkit.org/show_bug.cgi?id=121244 was flawed, but it could be done if the repaint rect for any renderer that calls into shouldPaintAtLowQuality includes the entirety of the renderer. This is not an easy situation to get into; see my comments in that bug. I'm not totally sure it's worth it.