Closed Bug 707132 Opened 13 years ago Closed 13 years ago

Meta-viewport size is slightly incorrect

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: kats, Assigned: kats)

References

()

Details

Attachments

(1 file)

The current meta-viewport code (introduced in bug 694901) uses the physical screen size instead of the visible area dimensions when calculating viewport. This results in slightly-off coordinates when jumping to anchors and jumping to specific scroll coordinates. This can be seen by loading http://people.mozilla.org/~nhirata/html_tp/jumptag.html on the Galaxy Tab (portrait orientation) and clicking on the "Go to Bottom" and "Go to Top" links. The jump to bottom doesn't go all the way to the bottom - it scrolls to the point where the bottom of the page would be visible if the bottom Android status bar weren't present. The same applies for the jump to top.
Attachment #578590 - Flags: review?(mbrubeck) → review+
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Verified fixed on: Nightly 13.0a1(2012-03-04) Device: Samsung Galaxy Tab OS: Android 3.1
Status: RESOLVED → VERIFIED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: