Fontsizes on tablet appear erratic
Nexus 7, model 2012, Android 4.4.4.
A HTML/JavaScript app prompts for input. First two or three prompts are in a small and correct font, then the prompts switch to a much larger font. Rotating the tablet turns all prompted input into the larger font.
The same app works correctly under Chrome and Opera (on the same tablet).
Setting Firefox's fontsize to "tiny" prevents its enlargement; this setting is only a temporary quick fix. Is there any chance that this bug will be corrected in the near future?
모든 댓글 (3)
No. You should set an appropriate viewport meta element as described at the end of http://jwir3.wordpress.com/2012/07/30/font-inflation-fennec-and-you/
I read the blog by jwir3 which is about the problem of font inflation (font adjustment). The author advises to put in the HTML head: <meta name = "viewport" >. It so happens that I have write-access to the webpage that gives the incorrect font inflation so I was able to add the meta statement. It did not improve anything. Of course, it is rare to have write-access to a webpage, so even if it had worked it would not have been a definitive solution.
Viewport needs more parameters, https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag and http://dev.w3.org/csswg/css-device-adapt/#viewport-meta