Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Pomoc pśepytaś

Glědajśo se wobšudy pomocy. Njenapominajomy was nigda, telefonowy numer zawołaś, SMS pósłaś abo wósobinske informacije pśeraźiś. Pšosym dajśo suspektnu aktiwitu z pomocu nastajenja „Znjewužywanje k wěsći daś“ k wěsći.

Learn More

meta viewport tag being overridden by the browser default

  • 2 wótegronje
  • 1 ma toś ten problem
  • 12 naglědow
  • Slědne wótegrono wót cranfan

more options

I have android 4.4 on a nexus10 and I believe my browser version is up to date. In order to test my website on mobile devices I have created a page within my site with a fixed width meta viewport tag as follows:

<meta name="viewport" content="width=799" />

On first loading the page, the width of 799px is correctly applied and the layout of the page is as expected. If I navigate away from the page and then return by the back button, my viewport width is lost and the page is displayed at 980px, I believe this is the browsers default viewport. To restore the correct viewport width of 799px it is necessary to refresh the page.

I have been testing for some months now and I don't recall this behaviour in the past? None of the other mainstream mobile browsers exhibit this behaviour, they all work fine.

I would appreciate any suggestions as to the cause and/or solution.

Thanks in advance.

Martin

I have android 4.4 on a nexus10 and I believe my browser version is up to date. In order to test my website on mobile devices I have created a page within my site with a fixed width meta viewport tag as follows: <meta name="viewport" content="width=799" /> On first loading the page, the width of 799px is correctly applied and the layout of the page is as expected. If I navigate away from the page and then return by the back button, my viewport width is lost and the page is displayed at 980px, I believe this is the browsers default viewport. To restore the correct viewport width of 799px it is necessary to refresh the page. I have been testing for some months now and I don't recall this behaviour in the past? None of the other mainstream mobile browsers exhibit this behaviour, they all work fine. I would appreciate any suggestions as to the cause and/or solution. Thanks in advance. Martin

Wšykne wótegrona (2)

more options
more options

Okay, thanks.

I might wait for the next version, and if it's still happening after that, I will file it.