Bug 132759 - [iOS WK2] Fixed elements can go outside the document on pinching
Summary: [iOS WK2] Fixed elements can go outside the document on pinching
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-05-09 16:54 PDT by Simon Fraser (smfr)
Modified: 2014-05-09 17:12 PDT (History)
2 users (show)

See Also:


Attachments
Patch (9.28 KB, patch)
2014-05-09 16:57 PDT, Simon Fraser (smfr)
benjamin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2014-05-09 16:54:42 PDT
[iOS WK2] Fixed elements can go outside the document on pinching
Comment 1 Simon Fraser (smfr) 2014-05-09 16:57:57 PDT
Created attachment 231197 [details]
Patch
Comment 2 Simon Fraser (smfr) 2014-05-09 16:58:32 PDT
<rdar://problem/16870835>
Comment 3 Benjamin Poulain 2014-05-09 17:05:24 PDT
Comment on attachment 231197 [details]
Patch

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

> Source/WebKit2/UIProcess/ios/WKContentView.mm:295
> +static inline float adjustedUnexposedEdge(float documentEdge, float exposedRectEdge, float factor)

maybe adjustedUnexposedEdge -> adjustedUnexposedMinEdge
Comment 4 Simon Fraser (smfr) 2014-05-09 17:12:17 PDT
https://trac.webkit.org/r168560