Bug 137999

Summary: [iOS] Toggling overflow:scroll to hidden on element with -webkit-overflow-scrolling:touch can cause children to disappear
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: New BugsAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, esprehn+autocc, glenn, kondapallykalyan, simon.fraser, zalan
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Simon Fraser (smfr) 2014-10-22 20:58:54 PDT
[iOS] Toggling overflow:scroll to hidden on element with -wbekit-overflow-scrolling:touch can cause children to disappear
Comment 1 Simon Fraser (smfr) 2014-10-22 21:02:02 PDT
rdar://problem/18425550
Comment 2 Simon Fraser (smfr) 2014-10-22 21:07:45 PDT
Created attachment 240325 [details]
Patch
Comment 3 zalan 2014-10-22 21:30:01 PDT
Comment on attachment 240325 [details]
Patch

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

> Source/WebCore/rendering/RenderLayerCompositor.cpp:873
> +    return isScrollableOverflow(style.overflowX()) && style.useTouchOverflowScrolling();

overflowY()?
Comment 4 Simon Fraser (smfr) 2014-10-22 22:40:44 PDT
(In reply to comment #3)
> Comment on attachment 240325 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=240325&action=review
> 
> > Source/WebCore/rendering/RenderLayerCompositor.cpp:873
> > +    return isScrollableOverflow(style.overflowX()) && style.useTouchOverflowScrolling();
> 
> overflowY()?

We (currently) don't allow overflowX and overflowY to differ.
Comment 5 WebKit Commit Bot 2014-10-22 23:15:47 PDT
Comment on attachment 240325 [details]
Patch

Clearing flags on attachment: 240325

Committed r175085: <http://trac.webkit.org/changeset/175085>
Comment 6 WebKit Commit Bot 2014-10-22 23:15:52 PDT
All reviewed patches have been landed.  Closing bug.