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

Issue 14767007: A div can be pan-scrolled beyond its overflow (Windows only) (Closed)

Created:
7 years, 7 months ago by tdanderson
Modified:
7 years, 6 months ago
Reviewers:
jamesr, yosin_UTC9
CC:
blink-reviews, jchaffraix+rendering
Visibility:
Public.

Description

A div can be pan-scrolled beyond its overflow (Windows only) The function RenderLayer::scrollByRecursively() has been changed so that its parameter |clamp| is passed as an argument when the function calls itself recursively. This guarantees correct behavior in cases where nested divs are pan-scrollable in one direction but not the other. BUG=232965 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=151713

Patch Set 1 #

Patch Set 2 : WIP, not for review #

Patch Set 3 : WIP, not for review #

Patch Set 4 : WIP, not for review #

Patch Set 5 : WIP, not for review #

Patch Set 6 : WIP, not for review #

Patch Set 7 : WIP, not for review #

Patch Set 8 : WIP, not for review #

Patch Set 9 : WIP, not for review #

Patch Set 10 : WIP, not for review #

Patch Set 11 : WIP, not for review #

Patch Set 12 : WIP, not for review #

Patch Set 13 : WIP, not for review #

Patch Set 14 : WIP, not for review #

Patch Set 15 : WIP, not for review #

Total comments: 6

Patch Set 16 : WIP, not for review #

Patch Set 17 : WIP, not for review #

Total comments: 2

Patch Set 18 : Test coverage to add on ToT #

Patch Set 19 : WIP, not for review #

Patch Set 20 : WIP, not for review #

Patch Set 21 : Minimal patch to fix the bug #

Total comments: 5

Patch Set 22 : Working layout test #

Total comments: 3

Patch Set 23 : Test using panScroll.js #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -1 line) Patch
M LayoutTests/NeverFixTests View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +1 line, -0 lines 0 comments Download
A LayoutTests/fast/events/panScroll-nested-divs-forbidden.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +53 lines, -0 lines 0 comments Download
A LayoutTests/fast/events/panScroll-nested-divs-forbidden-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +16 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderLayer.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 22 (0 generated)
tdanderson
@yosin, I am trying to write a Windows layout test for http://crbug.com/232965 that will fail ...
7 years, 7 months ago (2013-05-06 00:41:20 UTC) #1
yosin_UTC9
It seems timing issue, bot is slower than local desktop. How about moving mouse pointer ...
7 years, 7 months ago (2013-05-07 01:48:43 UTC) #2
tdanderson
On 2013/05/07 01:48:43, Yoshifumi Inoue wrote: > It seems timing issue, bot is slower than ...
7 years, 7 months ago (2013-05-13 23:06:14 UTC) #3
yosin_UTC9
https://codereview.chromium.org/14767007/diff/35001/LayoutTests/fast/events/panScroll-nested-divs-forbidden.html File LayoutTests/fast/events/panScroll-nested-divs-forbidden.html (right): https://codereview.chromium.org/14767007/diff/35001/LayoutTests/fast/events/panScroll-nested-divs-forbidden.html#newcode47 LayoutTests/fast/events/panScroll-nested-divs-forbidden.html:47: if (outerdiv.scrollTop) nit: these check are redundant. We don't ...
7 years, 7 months ago (2013-05-14 01:40:05 UTC) #4
tdanderson
https://codereview.chromium.org/14767007/diff/35001/LayoutTests/fast/events/panScroll-nested-divs-forbidden.html File LayoutTests/fast/events/panScroll-nested-divs-forbidden.html (right): https://codereview.chromium.org/14767007/diff/35001/LayoutTests/fast/events/panScroll-nested-divs-forbidden.html#newcode47 LayoutTests/fast/events/panScroll-nested-divs-forbidden.html:47: if (outerdiv.scrollTop) On 2013/05/14 01:40:05, Yoshifumi Inoue wrote: > ...
7 years, 7 months ago (2013-05-16 17:34:52 UTC) #5
yosin_UTC9
https://codereview.chromium.org/14767007/diff/46001/LayoutTests/fast/events/panScroll-nested-divs-forbidden.html File LayoutTests/fast/events/panScroll-nested-divs-forbidden.html (right): https://codereview.chromium.org/14767007/diff/46001/LayoutTests/fast/events/panScroll-nested-divs-forbidden.html#newcode44 LayoutTests/fast/events/panScroll-nested-divs-forbidden.html:44: shouldNotBe('outerdiv.scrollLeft', '0'); This 'outerdiv' refers window.outerdiv from div[@id='outerdiv'], because ...
7 years, 7 months ago (2013-05-17 02:00:22 UTC) #6
tdanderson
https://codereview.chromium.org/14767007/diff/46001/LayoutTests/fast/events/panScroll-nested-divs-forbidden.html File LayoutTests/fast/events/panScroll-nested-divs-forbidden.html (right): https://codereview.chromium.org/14767007/diff/46001/LayoutTests/fast/events/panScroll-nested-divs-forbidden.html#newcode44 LayoutTests/fast/events/panScroll-nested-divs-forbidden.html:44: shouldNotBe('outerdiv.scrollLeft', '0'); On 2013/05/17 02:00:22, Yoshifumi Inoue wrote: > ...
7 years, 7 months ago (2013-05-17 17:30:20 UTC) #7
yosin_UTC9
> So, please move var outerdiv = $('outerdiv'); to top-level for avoiding confusion. Sorry, my ...
7 years, 7 months ago (2013-05-20 03:22:36 UTC) #8
tdanderson
7 years, 6 months ago (2013-05-28 22:17:45 UTC) #9
tdanderson
After getting access to a Windows machine, I have determined that only a one-line change ...
7 years, 6 months ago (2013-05-28 22:22:46 UTC) #10
jamesr
Code change lgtm. We should try to figure out what's up with the test. https://codereview.chromium.org/14767007/diff/66001/LayoutTests/fast/events/panScroll-nested-divs-forbidden.html ...
7 years, 6 months ago (2013-05-28 22:26:11 UTC) #11
yosin_UTC9
On 2013/05/28 22:22:46, tdanderson wrote: > @yosin, even with your suggestions in place, this layout ...
7 years, 6 months ago (2013-05-29 08:15:52 UTC) #12
tdanderson
@yosin, changing the width to 121% worked. Thank you for the suggestion. I verified locally ...
7 years, 6 months ago (2013-05-29 17:57:31 UTC) #13
jamesr
Mostly better. I'm still concerned with the setTimeout() - what exactly are you trying to ...
7 years, 6 months ago (2013-05-29 22:46:55 UTC) #14
yosin_UTC9
https://codereview.chromium.org/14767007/diff/73001/LayoutTests/fast/events/panScroll-nested-divs-forbidden.html File LayoutTests/fast/events/panScroll-nested-divs-forbidden.html (right): https://codereview.chromium.org/14767007/diff/73001/LayoutTests/fast/events/panScroll-nested-divs-forbidden.html#newcode41 LayoutTests/fast/events/panScroll-nested-divs-forbidden.html:41: window.setTimeout(checkScrolled, 50); On 2013/05/29 22:46:56, jamesr wrote: > this ...
7 years, 6 months ago (2013-05-30 01:45:54 UTC) #15
yosin_UTC9
https://codereview.chromium.org/14767007/diff/73001/LayoutTests/fast/events/panScroll-nested-divs-forbidden.html File LayoutTests/fast/events/panScroll-nested-divs-forbidden.html (right): https://codereview.chromium.org/14767007/diff/73001/LayoutTests/fast/events/panScroll-nested-divs-forbidden.html#newcode41 LayoutTests/fast/events/panScroll-nested-divs-forbidden.html:41: window.setTimeout(checkScrolled, 50); On 2013/05/29 22:46:56, jamesr wrote: > this ...
7 years, 6 months ago (2013-05-30 04:29:55 UTC) #16
jamesr
Ah yeah, I think that's the ticket.
7 years, 6 months ago (2013-05-30 04:37:11 UTC) #17
yosin_UTC9
On 2013/05/30 04:37:11, jamesr wrote: > Ah yeah, I think that's the ticket. I wrote ...
7 years, 6 months ago (2013-05-30 09:30:54 UTC) #18
tdanderson
On 2013/05/30 09:30:54, Yoshifumi Inoue wrote: > On 2013/05/30 04:37:11, jamesr wrote: > > Ah ...
7 years, 6 months ago (2013-06-03 23:35:59 UTC) #19
jamesr
yup, lgtm
7 years, 6 months ago (2013-06-03 23:41:46 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tdanderson@chromium.org/14767007/87001
7 years, 6 months ago (2013-06-03 23:44:05 UTC) #21
commit-bot: I haz the power
7 years, 6 months ago (2013-06-04 01:27:01 UTC) #22
Message was sent while issue was closed.
Change committed as 151713

Powered by Google App Engine
This is Rietveld 408576698