Bug 131329

Summary: [iOS][WK2] Implement the update of content offset on animated resize
Product: WebKit Reporter: Benjamin Poulain <benjamin>
Component: New BugsAssignee: Benjamin Poulain <benjamin>
Status: RESOLVED FIXED    
Severity: Normal CC: sam, simon.fraser, thorton
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch thorton: review+

Description Benjamin Poulain 2014-04-07 17:09:31 PDT
[iOS][WK2] Implement the update of content offset on animated resize
Comment 1 Benjamin Poulain 2014-04-07 17:13:36 PDT
Created attachment 228779 [details]
Patch
Comment 2 Benjamin Poulain 2014-04-07 18:27:59 PDT
Created attachment 228788 [details]
Patch
Comment 3 Tim Horton 2014-04-07 18:45:08 PDT
Comment on attachment 228788 [details]
Patch

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

> Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm:1200
> +    CGSize contentSizeInContentViewCoordinate = [_contentView bounds].size;

coordinate*s*

> Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm:1215
> +    CGFloat oldWebViewWidthInContentViewCoordinate = oldBounds.size.width / contentZoomScale(self);

so many "s" missing
Comment 4 Benjamin Poulain 2014-04-07 19:13:34 PDT
Committed r166905: <http://trac.webkit.org/changeset/166905>