WebKit Bugzilla
Attachment 370624 Details for
Bug 198244
: iOS: Main frame should be scrollable when pinch zoomed or software keyboard is up
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
WIP
wip198244.patch (text/plain), 1.53 KB, created by
Ryosuke Niwa
on 2019-05-24 23:45:59 PDT
(
hide
)
Description:
WIP
Filename:
MIME Type:
Creator:
Ryosuke Niwa
Created:
2019-05-24 23:45:59 PDT
Size:
1.53 KB
patch
obsolete
>diff --git a/Source/WebCore/page/FrameView.cpp b/Source/WebCore/page/FrameView.cpp >index 85dce94ebe2..fcdef0cce2f 100644 >--- a/Source/WebCore/page/FrameView.cpp >+++ b/Source/WebCore/page/FrameView.cpp >@@ -662,12 +662,7 @@ void FrameView::applyOverflowToViewport(const RenderElement& renderer, Scrollbar > // there is a frameScaleFactor that is greater than one on the main frame. Also disregard hidden if there is a > // header or footer. > >- bool overrideHidden = false; >- if (frame().isMainFrame()) { >- // FIXME: There can be off by one error in frameview's scroll position when rubberbanding. >- if (frame().frameScaleFactor() > 1 || headerHeight() || footerHeight() || visualViewportRect().size() != layoutViewportRect().size()) >- overrideHidden = true; >- } >+ bool overrideHidden = frame().isMainFrame() && ((frame().frameScaleFactor() > 1) || headerHeight() || footerHeight()); > > Overflow overflowX = renderer.style().overflowX(); > Overflow overflowY = renderer.style().overflowY(); >@@ -2781,14 +2776,6 @@ void FrameView::didUpdateViewportOverrideRects() > > if (auto* window = frame().window()) > window->visualViewport().update(); >- >- if (layoutContext().didFirstLayout()) { >- ScrollbarMode hMode; >- ScrollbarMode vMode; >- calculateScrollbarModesForLayout(hMode, vMode); >- if (hMode != horizontalScrollbarMode() || vMode != verticalScrollbarMode()) >- setNeedsLayoutAfterViewConfigurationChange(); >- } > } > > void FrameView::unobscuredContentSizeChanged()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 198244
:
370624
|
370625
|
370628
|
370629
|
370631
|
370632
|
370825
|
370826
|
371000
|
371024
|
371032