[Webkit-unassigned] [Bug 13890] [gdk] Use a GtkLayout for the ScrollView implementation to get real scrollbars
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat May 26 20:20:52 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=13890
------- Comment #2 from alp at atoker.com 2007-05-26 20:20 PDT -------
(In reply to comment #1)
> Created an attachment (id=14745)
--> (http://bugs.webkit.org/attachment.cgi?id=14745&action=view) [edit]
> Make ScrollView a scrollable view
FloatRect ScrollView::visibleContentRect() const
{
- FloatRect contentRect = FloatRect(m_data->viewportArea);
- contentRect.move(m_data->scrollOffset);
- return contentRect;
+ return FloatRect(contentsX(), contentsY(), visibleHeight(),
visibleWidth());
}
visibleHeight() and visibleWidth() are the wrong way round. Switching them
makes the patch work better.
I haven't had the opportunity to review it for correctness yet though.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list