[Webkit-unassigned] [Bug 33851] ScrollView::platformVisibleContentRect returns incorrectly sized rectangle when includeScrollbars == true
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jan 19 12:56:49 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=33851
--- Comment #4 from Daniel Bates <dbates at webkit.org> 2010-01-19 12:56:49 PST ---
(In reply to comment #3)
> (In reply to comment #2)
> > No test included, since I cannot think of a way to test this change using
> > either a manual or DRT test.
>
> If this has no effect on browser behavior, how did you discover the problem?
In looking into another bug involving scrolling I noticed that the result of
ScrollView::visibleContentRect was a rectangle whose dimensions did not include
scrollbar even when I passed the parameter includeScrollbars == true. Upon
inspection and from my understanding of the API of NSScrollView, NSClipView,
NSView, and the description in Scroll View Programming Guide for Cocoa, it
seems that [[NSScrollView documentView] visibleRect] == [[NSScrollView
documentVisibleRect].
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list