Bug 147251

Summary: [iOS] REGRESSION (187131): Loading CuteOverload zooms in to the top left corner.
Product: WebKit Reporter: zalan <zalan>
Component: New BugsAssignee: zalan <zalan>
Status: REOPENED ---    
Severity: Normal CC: benjamin, commit-queue
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 147839    
Bug Blocks:    
Attachments:
Description Flags
Patch none

Description zalan 2015-07-23 19:47:17 PDT
1. Load cuteoverload.com
2. Page zooms in to the top left corner.
Comment 1 zalan 2015-07-23 19:47:42 PDT
rdar://problem/21953359
Comment 2 zalan 2015-07-23 19:51:39 PDT
Created attachment 257423 [details]
Patch
Comment 3 Benjamin Poulain 2015-07-23 19:56:32 PDT
Comment on attachment 257423 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=257423&action=review

> Source/WebKit2/ChangeLog:8
> +        Calling zoomToRect() should result in essentially the same zoom scale as if we
> +        called setZoomScale with the new page scale factor.

I would prefer a complete explanation of what is the expected rect here.

This is a stupid bug on top of an other stupid bug. Someone will want to understand why that code exist at all at some point in the future.
Comment 4 WebKit Commit Bot 2015-07-23 21:17:23 PDT
Comment on attachment 257423 [details]
Patch

Clearing flags on attachment: 257423

Committed r187286: <http://trac.webkit.org/changeset/187286>
Comment 5 WebKit Commit Bot 2015-07-23 21:17:26 PDT
All reviewed patches have been landed.  Closing bug.
Comment 6 WebKit Commit Bot 2015-08-10 13:32:50 PDT
Re-opened since this is blocked by bug 147839