Firefox Application ignoring <meta viewport>

RESOLVED WORKSFORME

Status

()

Firefox for Android
Web Apps
RESOLVED WORKSFORME
4 years ago
4 years ago

People

(Reporter: mahdi, Unassigned)

Tracking

29 Branch
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

4 years ago
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:
Created attachment 8439525 [details]
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.
Created attachment 8439527 [details]
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
Last Resolved: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.