WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
135637
[Mac] Unable to scroll to bottom of nested scrollable areas
https://bugs.webkit.org/show_bug.cgi?id=135637
Summary
[Mac] Unable to scroll to bottom of nested scrollable areas
Brent Fulgham
Reported
2014-08-05 20:06:31 PDT
A user reported that "On some pages, I can’t scroll to the bottom of the page using the trackpad, but I can get there with the down arrow key." This seems to be an issue with sub-pixel calculations when a scrollable <div> is nested inside another scrollable <div>.
Attachments
Patch
(1.72 KB, patch)
2014-08-05 20:12 PDT
,
Brent Fulgham
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from webkit-ews-13 for mac-mountainlion-wk2
(1.20 MB, application/zip)
2014-08-05 21:00 PDT
,
Build Bot
no flags
Details
Archive of layout-test-results from webkit-ews-05 for mac-mountainlion
(605.22 KB, application/zip)
2014-08-05 21:34 PDT
,
Build Bot
no flags
Details
Archive of layout-test-results from webkit-ews-04 for mac-mountainlion
(605.01 KB, application/zip)
2014-08-05 22:32 PDT
,
Build Bot
no flags
Details
Patch
(15.84 KB, patch)
2014-08-06 10:29 PDT
,
Brent Fulgham
zalan
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Brent Fulgham
Comment 1
2014-08-05 20:07:00 PDT
<
rdar://problem/17910241
>
Brent Fulgham
Comment 2
2014-08-05 20:12:52 PDT
Created
attachment 236077
[details]
Patch
zalan
Comment 3
2014-08-05 20:26:24 PDT
Comment on
attachment 236077
[details]
Patch I don't know much about scrolling, but wouldn't it make sense to fix those totalSize()/visibleSize() values too? It seems like we can't use them to calculate the scroll size value anymore and that could potentially cause other issues throughout the code -wherever they are used (if they are used at all)
Simon Fraser (smfr)
Comment 4
2014-08-05 20:42:58 PDT
Comment on
attachment 236077
[details]
Patch I think you should be able to make a layout test for this.
Darin Adler
Comment 5
2014-08-05 20:49:01 PDT
Comment on
attachment 236077
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=236077&action=review
> Source/WebCore/rendering/RenderLayer.cpp:2603 > + IntSize scrollRange = maximumScrollPosition() - minimumScrollPosition(); > + if (orientation == HorizontalScrollbar) > + return scrollRange.width(); > + > + return scrollRange.height();
The blank line makes this read awkwardly. I think ? : would be nicer.
Darin Adler
Comment 6
2014-08-05 20:49:19 PDT
Comment on
attachment 236077
[details]
Patch Why no regression test?
Build Bot
Comment 7
2014-08-05 21:00:36 PDT
Comment on
attachment 236077
[details]
Patch
Attachment 236077
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.appspot.com/results/4751358750097408
New failing tests: ietestcenter/css3/bordersbackgrounds/background-attachment-local-scrolling.htm
Build Bot
Comment 8
2014-08-05 21:00:40 PDT
Created
attachment 236079
[details]
Archive of layout-test-results from webkit-ews-13 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-13 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Build Bot
Comment 9
2014-08-05 21:34:14 PDT
Comment on
attachment 236077
[details]
Patch
Attachment 236077
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.appspot.com/results/4914987340398592
New failing tests: ietestcenter/css3/bordersbackgrounds/background-attachment-local-scrolling.htm
Build Bot
Comment 10
2014-08-05 21:34:18 PDT
Created
attachment 236080
[details]
Archive of layout-test-results from webkit-ews-05 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-05 Port: mac-mountainlion Platform: Mac OS X 10.8.5
Build Bot
Comment 11
2014-08-05 22:32:53 PDT
Comment on
attachment 236077
[details]
Patch
Attachment 236077
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.appspot.com/results/6105597372006400
New failing tests: ietestcenter/css3/bordersbackgrounds/background-attachment-local-scrolling.htm
Build Bot
Comment 12
2014-08-05 22:32:57 PDT
Created
attachment 236081
[details]
Archive of layout-test-results from webkit-ews-04 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-04 Port: mac-mountainlion Platform: Mac OS X 10.8.5
Brent Fulgham
Comment 13
2014-08-05 22:34:38 PDT
(In reply to
comment #6
)
> (From update of
attachment 236077
[details]
) > Why no regression test?
Yes - I'm working on that now!
Brent Fulgham
Comment 14
2014-08-06 10:29:49 PDT
Created
attachment 236108
[details]
Patch
Brent Fulgham
Comment 15
2014-08-06 11:26:22 PDT
Committed
r172160
: <
http://trac.webkit.org/changeset/172160
>
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