[Webkit-unassigned] [Bug 103598] Only create stacking context for -webkit-overflow-scrolling:touch elements when element allows scrolling

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 29 15:35:58 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=103598





--- Comment #3 from Tien-Ren Chen <trchen at chromium.org>  2012-11-29 15:38:14 PST ---
(In reply to comment #2)
> In the original bug https://bugs.webkit.org/show_bug.cgi?id=78664 jamesr mentioned that "It also looks like the logic this patch added to CSSStyleSelector.cpp doesn't quite match the iOS5 code drop :(".  Could we double-check this at the same time?  The latest code drop is at http://www.opensource.apple.com/release/ios-601/

This is what I see in StyleResolver.cpp, WebCore-1640.1:
#if ENABLE(OVERFLOW_SCROLLING)
        // Touch overflow scrolling creates a stacking context.
        || style->useTouchOverflowScrolling()
#endif
        // Touch overflow scrolling creates stacking context.
        || ((style->overflowX() != OHIDDEN || style->overflowY() != OHIDDEN) && style->useTouchOverflowScrolling())

So iOS6 is creating stacking context everywhere -webkit-overflow-scrolling:touch is used. I will verify that on my phone later.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list