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

RESOLVED FIXED in Firefox 20

Status

()

defect
RESOLVED FIXED
7 years ago
2 years ago

People

(Reporter: jrmuizel, Assigned: kats)

Tracking

Trunk
Firefox 20
All
Android
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

()

Attachments

(1 attachment)

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
Posted 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: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 20
You need to log in before you can comment on or make changes to this bug.