Closed
Bug 1187182
Opened 9 years ago
Closed 3 years ago
quietrev.com only displays half the page (Gecko ignores meta viewport tag update/removal)
Categories
(Core :: Panning and Zooming, defect, P3)
Core
Panning and Zooming
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: u279076, Unassigned)
References
()
Details
(Keywords: correctness, dogfood, Whiteboard: [gfx-noted][bzlite])
Attachments
(1 file)
(deleted),
image/png
|
Details |
User-Agent: Mozilla/5.0 (Mobile; rv:42.0) Gecko/42.0 Firefox/42.0
Loading quietrev.com on my foxfooding device only shows half the page. It is cut off horizontally and cannot be scrolled.
Updated•9 years ago
|
QA Whiteboard: [foxfood-triage]
Component: Gaia::Feedback → Mobile
Product: Firefox OS → Tech Evangelism
Comment 2•9 years ago
|
||
This problem exists on Fennec as well.
Comment 3•9 years ago
|
||
I see <meta id="viewport" name="viewport" content="width=680, user-scalable=no"> in the head, yet the viewport isn't scaled. But that means fluid.resize() from scripts.js at least ran--680 is the default viewport width if window.orientation is undefined (which it will be for us).
If I try to update the viewport via the console, I can't get the new viewport to "stick" (just testing zoom-ability here):
var f = document.createElement('meta')
f.name='viewport';
f.content='width=680, user-scalable=yes';
document.body.appendChild(f);
Katz, is there anything that jumps out to you as to why viewport isn't being respected here?
Flags: needinfo?(bugmail.mozilla)
Comment 4•9 years ago
|
||
So I think the problem here is that on page load the page actually has this meta viewport tag:
width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no
(I printed this out in HTMLMetaElement.cpp when the viewport tag is detected). At some later point JS must be fiddling with the content attribute of the meta tag, and we don't pick that up (same as bug 976616). This is something we should fix in Gecko.
Component: Mobile → Panning and Zooming
Depends on: 976616
Flags: needinfo?(bugmail.mozilla)
Product: Tech Evangelism → Core
Updated•9 years ago
|
Summary: quietrev.com only displays half the page → quietrev.com only displays half the page (Gecko ignores meta viewport tag update/removal)
Comment 5•9 years ago
|
||
Thanks Kats.
Comment 6•9 years ago
|
||
I don't think this is an issue anymore, please reopen if that's not the case.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Comment 7•9 years ago
|
||
This is still an issue on Fennec.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Updated•9 years ago
|
Updated•9 years ago
|
Keywords: correctness
Whiteboard: [bzlite] → [gfx-noted][bzlite]
Updated•7 years ago
|
Priority: -- → P3
Updated•3 years ago
|
Webcompat Priority: --- → ?
Comment 8•3 years ago
|
||
The site no longer provides the broken viewport tag, it's a very old issue, and Fenix is a thing now, with lots of improvements to viewport handling. Closing as worksforme.
Status: REOPENED → RESOLVED
Closed: 9 years ago → 3 years ago
Webcompat Priority: ? → ---
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•