Open
Bug 467679
Opened 16 years ago
Updated 2 years ago
Full page zoom interacts poorly with RestoreImageTo (nsImageDocument)
Categories
(Firefox :: General, defect)
Tracking
()
NEW
People
(Reporter: csthomas, Unassigned)
References
Details
This probably should have been part of bug 389756. If you have an image scaled to fit and use full page zoom to zoom in, clicking part of the image doesn't scroll you to the right spot in the full-size image. I suspect the problem is (at least partly) that GetRatio() doesn't return the right value to ScrollImageTo(). mVisibleWidth and mVisibleHeight need to be updated whenever the document is zoomed, or GetRatio() needs to not trust their values (at which point there's no reason to keep their values around). Even fixing this might not handle the case where the user has zoomed in *and* scrolled - I don't know what HandleEvent() comes up with for x and y before calling RestoreImageTo(). This probably affects trunk based on code inspection, but I only have 3.0.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•