WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
137336
REGRESSION(
r173785
): Previous page scroll position isn't restored correctly on EFL since
r173785
https://bugs.webkit.org/show_bug.cgi?id=137336
Summary
REGRESSION(r173785): Previous page scroll position isn't restored correctly o...
Gyuyoung Kim
Reported
2014-10-02 01:13:03 PDT
When user back to previous page using backward button on MiniBrowser, previous page's scroll position isn't restored. RenderLayer::scrollRectToVisible() causes this problem because
r173785
supports requestScrollPositionUpdate() for EFL port. void RenderLayer::scrollRectToVisible(const LayoutRect& rect, const ScrollAlignment& alignX, const ScrollAlignment& alignY) { ... } else { #if !PLATFORM(IOS) LayoutRect viewRect = frameView.visibleContentRect(); LayoutRect visibleRectRelativeToDocument = viewRect; IntSize documentScrollOffsetRelativeToScrollableAreaOrigin = frameView.documentScrollOffsetRelativeToScrollableAreaOrigin(); visibleRectRelativeToDocument.setLocation(IntPoint(documentScrollOffsetRelativeToScrollableAreaOrigin.width(), documentScrollOffsetRelativeToScrollableAreaOrigin.height())); #else LayoutRect viewRect = frameView.unobscuredContentRect(); LayoutRect visibleRectRelativeToDocument = viewRect; #endif LayoutRect r = getRectToExpose(viewRect, visibleRectRelativeToDocument, rect, alignX, alignY); frameView.setScrollPosition(roundedIntPoint(r.location())); ... }
Attachments
WIP
(2.05 KB, patch)
2014-10-07 01:48 PDT
,
Gyuyoung Kim
no flags
Details
Formatted Diff
Diff
WIP(not include test case yet)
(2.99 KB, patch)
2014-11-02 21:57 PST
,
Gyuyoung Kim
no flags
Details
Formatted Diff
Diff
WIP
(5.08 KB, patch)
2014-11-02 23:59 PST
,
Gyuyoung Kim
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Gyuyoung Kim
Comment 1
2014-10-07 01:48:14 PDT
Created
attachment 239402
[details]
WIP
Gyuyoung Kim
Comment 2
2014-11-02 21:57:53 PST
Created
attachment 240827
[details]
WIP(not include test case yet)
Gyuyoung Kim
Comment 3
2014-11-02 23:58:14 PST
It looks this is normal behavior.
Gyuyoung Kim
Comment 4
2014-11-02 23:59:50 PST
Reopening to attach new patch.
Gyuyoung Kim
Comment 5
2014-11-02 23:59:53 PST
Created
attachment 240830
[details]
WIP
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug