Bug 137999 - [iOS] Toggling overflow:scroll to hidden on element with -webkit-overflow-scrolling:touch can cause children to disappear
Summary: [iOS] Toggling overflow:scroll to hidden on element with -webkit-overflow-scr...
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-10-22 20:58 PDT by Simon Fraser (smfr)
Modified: 2014-10-22 23:15 PDT (History)
6 users (show)

See Also:


Attachments
Patch (8.32 KB, patch)
2014-10-22 21:07 PDT, Simon Fraser (smfr)
no flags 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-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.