Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(273)

Issue 24074002: Drag'n drop Autoscroll does not work properly on inner frames (Closed)

Created:
7 years, 3 months ago by tonikitoo_
Modified:
7 years, 3 months ago
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Drag'n drop Autoscroll does not work properly on inner frames RenderBox::calculateAutoscrollDirection does not properly translate inner frames' coordinates in order to determine its auto-scrollability. By coincidence, if the inner frame box it placed near to page's 0, 0 position (upper left corner), it might work. Patch fixes it by changing ::calculateAutoscrollDirection algorithm to operate with window coordinates, taking inner frames offset and scroll position into account. The behavior of auto-scrollable non-frame overflow boxes, including divs, still works as it is used to. Test: fast/events/drag-and-drop-autoscroll-inner-frame.html BUG=chromium:286325 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157535

Patch Set 1 #

Total comments: 9

Patch Set 2 : Drag'n drop Autoscroll does not work properly on inner frames #

Unified diffs Side-by-side diffs Delta from patch set Stats (+145 lines, -15 lines) Patch
A LayoutTests/fast/events/drag-and-drop-autoscroll-inner-frame.html View 1 1 chunk +117 lines, -0 lines 0 comments Download
A LayoutTests/fast/events/drag-and-drop-autoscroll-inner-frame-expected.txt View 1 1 chunk +12 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderBox.cpp View 1 1 chunk +16 lines, -15 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Julien - ping for review
lgtm https://codereview.chromium.org/24074002/diff/1/LayoutTests/fast/events/drag-and-drop-autoscroll-inner-frame-expected.txt File LayoutTests/fast/events/drag-and-drop-autoscroll-inner-frame-expected.txt (right): https://codereview.chromium.org/24074002/diff/1/LayoutTests/fast/events/drag-and-drop-autoscroll-inner-frame-expected.txt#newcode9 LayoutTests/fast/events/drag-and-drop-autoscroll-inner-frame-expected.txt:9: The output is missing the TEST COMPLETE message. ...
7 years, 3 months ago (2013-09-09 23:13:14 UTC) #1
yosin_UTC9
ACK Thanks for fixing bug! https://codereview.chromium.org/24074002/diff/1/LayoutTests/fast/events/drag-and-drop-autoscroll-inner-frame.html File LayoutTests/fast/events/drag-and-drop-autoscroll-inner-frame.html (right): https://codereview.chromium.org/24074002/diff/1/LayoutTests/fast/events/drag-and-drop-autoscroll-inner-frame.html#newcode75 LayoutTests/fast/events/drag-and-drop-autoscroll-inner-frame.html:75: log("Passed: Autoscroll should have ...
7 years, 3 months ago (2013-09-10 02:09:37 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/a1.gomes@sisa.samsung.com/24074002/10001
7 years, 3 months ago (2013-09-10 16:16:53 UTC) #3
commit-bot: I haz the power
7 years, 3 months ago (2013-09-10 18:21:37 UTC) #4
Message was sent while issue was closed.
Change committed as 157535

Powered by Google App Engine
This is Rietveld 408576698