Closed Bug 1024733 Opened 11 years ago Closed 11 years ago

Firefox Application ignoring <meta viewport>

Categories

(Firefox for Android Graveyard :: Web Apps (PWAs), defect)

29 Branch
x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mahdi, Unassigned)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0 (Beta/Release) Build ID: 20140602171628 Steps to reproduce: 1. Install Sketchy on Firefox for Android [https://marketplace.firefox.com/app/sketchy/] 2. Open it Note that we have this line in <head> <meta name="viewport" content="width=device-width user-scalable=no initial-scale=1"> And the application works fine on Firefox OS and Web using mobile (http://mdibaiee.github.io/Sketchy/build/web/) Logs: https://gist.github.com/anonymous/a038dd4b5edc2fdc80cc https://gist.github.com/anonymous/509a51fde425547ba2c3 Actual results: * The elements are too small (actually viewport is big or the page is zoomed out) * You can zoom in [and scale] by double clicking on the dark edges (not the canvas) Expected results: * Viewport width should equal device-width so elements have an acceptable width * Page shouldn't be scalable as we use this:
Attached image sketchy-in-app.png
Hmm, I'm not sure what I'm supposed to see, but this is what I see when I install and launch Sketchy as an app on my Nexus 4. It looks pretty "normal sized" to me.
Attached image sketchy-in-fennec.png
And this is what I see when I open Sketchy in a Fennec tab. It looks the same. In both cases I drew some random lines, first with the default line width, then making the line much wider.
After further testing, Mahdi confirmed on IRC that this works for him as well. Closing accordingly!
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
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: