diff options
author | Ben Murdoch <benm@google.com> | 2011-09-08 03:04:22 +0100 |
---|---|---|
committer | Ben Murdoch <benm@google.com> | 2011-09-08 03:04:22 +0100 |
commit | 0c450566f6d283e66952a1085186cd283df1e6da (patch) | |
tree | 83d0ceaf915171a157f7edfab20fe18d116678be /Source/WebCore/rendering | |
parent | efe456e3824deb639f69f5900990c1de81fa33ab (diff) | |
download | external_webkit-0c450566f6d283e66952a1085186cd283df1e6da.zip external_webkit-0c450566f6d283e66952a1085186cd283df1e6da.tar.gz external_webkit-0c450566f6d283e66952a1085186cd283df1e6da.tar.bz2 |
Roll back fix for http://b/issue?id=4203823
Allow positioned divs with overflow to scroll.
Keeps tidying up that fix for http://b/issue?id=4203823 did and rolls
back the functional change.
Bug: 5216561ยง
Change-Id: I6268bbe880c432c87ca04e68697f66b32b7032d0
Diffstat (limited to 'Source/WebCore/rendering')
-rw-r--r-- | Source/WebCore/rendering/RenderLayer.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/WebCore/rendering/RenderLayer.cpp b/Source/WebCore/rendering/RenderLayer.cpp index ce5bf27..904b1b2 100644 --- a/Source/WebCore/rendering/RenderLayer.cpp +++ b/Source/WebCore/rendering/RenderLayer.cpp @@ -2279,11 +2279,8 @@ void RenderLayer::updateScrollInfoAfterLayout() #if ENABLE(ANDROID_OVERFLOW_SCROLL) bool hasOverflowScroll = ((horizontalOverflow && m_hBar) || (verticalOverflow && m_vBar)); if (hasOverflowScroll) { - // Disable Android overflow scroll for positioned RenderBlock. - if (renderer()->isRenderBlock() && renderer()->isPositioned()) - hasOverflowScroll = false; // Disable UI side scrolling for non-readonly textareas. - else if (renderer()->isTextArea() && (!renderer()->node() + if (renderer()->isTextArea() && (!renderer()->node() || !static_cast<HTMLTextAreaElement*>(renderer()->node())->readOnly())) hasOverflowScroll = false; } |