On Thu, May 15, 2014 at 8:25 PM, Bob Thulfram <[email protected]> wrote: > I saw somewhere that the screen size would be 400 x 800 pixels. I just > got my ZTE Open C today and when I ran a simple test for innerWidth, > innerHeight, outerWidth, outerHeight, I only got > > 320x533 for outer and 320x513 for inner. Am I missing something? Other > than this, I'm happy with the ZTE Open C, especially the 989.3MB RAM > and OS 1.3 out of the box. I'll be posting more about this in my blog > tonight at http://firefoxosgaming.blogspot.com but I was surprised > that the pixels weren't what I thought they'd be. > > Anyone know the true specs?
The specs table[1] on MDN suggests the screen size is 480 x 854. Checking innerWidth and similar values won't give the real screen size, as that's not how the web viewport works. See more info such as "A pixel is not a pixel" on MDN[2]. [1]: https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/Phone_specs#Device_specifications [2]: https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag#A_pixel_is_not_a_pixel - Ryan _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
