[Bug 744580]

Masayuki 744580 at bugs.launchpad.net
Fri Jul 15 22:52:28 UTC 2011


(In reply to comment #27)
> > +  nsPoint currentScrollPos = scrollableFrame->GetScrollPosition();
> > +  nsRect visibleRectOfScrolledFrame = scrollableFrame->GetScrollPortRect();
> > +  visibleRectOfScrolledFrame.MoveTo(currentScrollPos);
> 
> This should be scrollableFrame->GetScrollPortRect() + curentScrollPos, right?

Oops, I changed to:

>     1.62 +  nsRect visibleRectOfScrolledFrame =
>     1.63 +    scrollableFrame->GetScrollPortRect() + scrollableFrame->GetScrollPosition();

This is same as my original code only when GetScrollPortRect() is
positioned 0, 0. Is that always true??

-- 
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/744580

Title:
  Firefox doesn't auto scroll when selecting content downwards

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/744580/+subscriptions




More information about the Ubuntu-mozillateam-bugs mailing list