[webkit-dev] Canvas backing resolution

Simon Fraser simon.fraser at apple.com
Fri Mar 4 11:47:22 PST 2011


On Mar 4, 2011, at 11:24 AM, Kenneth Rohde Christiansen wrote:

> Hey Oliver!
> 
> If you are saying that device-pixel-ratio should include the user
> scaling, then I can push that for Qt, but I would really like seeing
> it supported by iOS as well for compatibility reasons. If you create a
> bug for that, please cc me.

There's a problem with that, which is that the author can assume (possibly erroneously) that device-pixel-ratio doesn't change for the life of the page. However, the zoom level can change often, and there's no notification that the author can register for that will tell them when the zoom level changes, and thus when they'll need to redraw their canvas contents.

Simon



More information about the webkit-dev mailing list