I've been playing a while with the simulator, keon and peak and I conclude that there is clear way to work with that.
If you own a Peak you will notice that almost everything looks tiny, What I found surprising is that the css style size : 2cm is not reliable. Centimeters or inches looks different depending on screen. When running the js code to get the dpi all of them say 96. Which is not true. In gaia they solved the issue with a responsive.css which scales the root font size and the rest should use rem units. Shouldnt b2g provide a way to get screen definition? That will make apps like this much reliable across devices: http://ruler.ffos.lolcathost.org/install.html _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
