Closed Bug 807447 Opened 8 years ago Closed 8 years ago

initialScale not respected in meta-viewport unless user-scalable is no

Categories

(Firefox for Android :: Toolbar, defect)

All
Android
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 20

People

(Reporter: jrmuizel, Assigned: kats)

References

()

Details

Attachments

(1 file)

There are three pages here:
http://people.mozilla.com/~jmuizelaar/implementation-tests/zoom/

Both zoom2 pages load at the same zoom on iOS but they do not in fennec.

It looks like we currently only use initialScale (defaultZoom in Java frontend) if userScalable is no.
Blocks: 798245
Assignee: nobody → bugmail.mozilla
Component: General → Graphics, Panning and Zooming
OS: Mac OS X → Android
Hardware: x86 → All
Version: unspecified → Trunk
Attached patch PatchSplinter Review
Respect the default zoom provided in the meta-viewport tag when laying out the page for the first time.

:jrmuizel, I pushed this into the try build at https://tbpl.mozilla.org/?tree=Try&rev=83079117ec37 in case you want to verify on your test pages.
Attachment #694555 - Flags: review?(mbrubeck)
Attachment #694555 - Flags: review?(mbrubeck) → review+
https://hg.mozilla.org/mozilla-central/rev/41c781b02e4b
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 20
You need to log in before you can comment on or make changes to this bug.