Bug 163562. Home/end keys should not affect horizontal scrolling. Patch by dmitry@kirsanov.com. r=aaronleventhal, sr=roc
git-svn-id: svn://10.0.0.236/trunk@166060 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -468,7 +468,7 @@ NS_IMETHODIMP nsScrollPortView::ScrollByWhole(PRBool aTop)
|
||||
newPos = scrolledSize.height;
|
||||
}
|
||||
|
||||
ScrollTo(0, newPos, 0);
|
||||
ScrollTo(mOffsetX, newPos, 0);
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user