Summary: | Hook up -webkit-overflow-scrolling:touch for iOS WK2 | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> | ||||
Component: | New Bugs | Assignee: | Simon Fraser (smfr) <simon.fraser> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | andersca, bdakin, cmarcelo, commit-queue, esprehn+autocc, glenn, jamesr, kondapallykalyan, luiz, sam, simon.fraser, thorton, tonikitoo | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Simon Fraser (smfr)
2014-03-26 18:31:12 PDT
Created attachment 227905 [details]
Patch
Comment on attachment 227905 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=227905&action=review > Source/WebKit2/UIProcess/Scrolling/ios/ScrollingTreeOverflowScrollingNodeIOS.mm:61 > + UIScrollView *scrollView = (UIScrollView *)[scrollLayer() delegate]; tiny eww > Source/WebKit2/UIProcess/ios/RemoteLayerTreeHostIOS.mm:94 > + layerOrView = adoptNS([[UIScrollView alloc] initWithFrame:CGRectZero]); I vaguely remember being chastised for using initWithFrame:CGRectZero instead of init in the recent past, but I don't mind either way. This broke a number of tests on Mac: platform/mac-wk2/tiled-drawing/clamp-out-of-bounds-scrolls.html [ Failure ] platform/mac-wk2/tiled-drawing/fixed/absolute-inside-fixed.html [ Failure ] platform/mac-wk2/tiled-drawing/fixed/absolute-inside-out-of-view-fixed.html [ Failure ] platform/mac-wk2/tiled-drawing/fixed/fixed-in-overflow.html [ Failure ] platform/mac-wk2/tiled-drawing/fixed/four-bars-with-header-and-footer.html [ Failure ] platform/mac-wk2/tiled-drawing/fixed/four-bars.html [ Failure ] platform/mac-wk2/tiled-drawing/fixed/nested-fixed.html [ Failure ] platform/mac-wk2/tiled-drawing/fixed/percentage-inside-fixed.html [ Failure ] platform/mac-wk2/tiled-drawing/sticky/sticky-horizontal.html [ Failure ] Looking (In reply to comment #4) > This broke a number of tests on Mac: Fixed in http://trac.webkit.org/changeset/166348 |