Bug 153400 - RenderLayer::setupFontSubpixelQuantization() needs to be improved
Summary: RenderLayer::setupFontSubpixelQuantization() needs to be improved
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: Safari 9
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-23 10:35 PST by Simon Fraser (smfr)
Modified: 2016-01-23 10:35 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 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.