Bug 153400

Summary: RenderLayer::setupFontSubpixelQuantization() needs to be improved
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: bdakin, simon.fraser
Priority: P2    
Version: Safari 9   
Hardware: Unspecified   
OS: Unspecified   

Simon Fraser (smfr)
Reported 2016-01-23 10:35:51 PST
When dumping drawing commands with display lists, WK1 and WK2 differ in the setting of fontSubpixelQuantization in compositing layers between WK1 and WK2, which doesn't make sense. The current code asks if scrolling is on the main thread, whether content scrolls by painting, and if live zooming is happening. This doesn't take into account compositing layers that are moved by scrolling, and so does the wrong thing for layers in WK1. I think the correct solution will have to pass flags down through the painting code, to note whether we've seen a scrollable layer on the way down.
Attachments
Note You need to log in before you can comment on or make changes to this bug.