Closed Bug 461846 Opened 16 years ago Closed 16 years ago

Double-tap zooming doesn't zoom in on the tapped element

Categories

(Firefox for Android Graveyard :: Panning/Zooming, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
fennec1.0a2

People

(Reporter: madhava, Assigned: Gavin)

References

Details

Instead, it zooms in certain amount and leaves you near the upper left-hand corner of the page.
getBoundingClientRect is returning some strange values (e.g. y = -30 for the "Mozilla Store" paragraph on http://mozilla.org). Wonder if the larger canvas thing broke this?
Actually this was caused by bug 459009. We don't restore the scroll position anymore, and getBoundingClientRect is relative to the viewport. Short term fix is to adjust for scrollX/Y in _getPagePosition, but all of this is going to go away once bug 461804 lands.
Blocks: 459009
Depends on: 461804
Fixed by bug 461804.
Assignee: nobody → gavin.sharp
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → Fennec A2
verified FIXED on builds: Mozilla/5.0 (Windows; U; WindowsCE 5.2; en-US; rv:1.9.3a1pre) Gecko/20090818 Fennec/1.0a3pre and Mozilla/5.0 (X11; U; Linux armv6l; en-US; rv:1.9.3a1pre) Gecko/20090821 Fennec/1.0b3pre and Mozilla/5.0 (Macintosh; U; Intel Mac OSX 10.5; en-US; rv:1.9.2a2pre) Gecko/20090808 Fennec/1.0b3pre
Status: RESOLVED → VERIFIED
Component: General → Panning/Zooming
You need to log in before you can comment on or make changes to this bug.