title: Why javascript report 800px width for Motorola Atrix MB860 4G ? Shouldn't it be 540px
body: <p>For my Mobile Web App I am trying to get screen width of the device to fit the views dynamically. </p>
  
  <p>I am really confused why Motorola Atrix  Atrix MB860 is reporting a 800px width. When I see the spec of this device its resolution is 540x960. Why in javascript it reports 800px? I used this test page:
  <a href="http://www.quirksmode.org/m/tests/widthtest.html" rel="nofollow noreferrer">http://www.quirksmode.org/m/tests/widthtest.html</a>
  <img src="https://i.stack.imgur.com/9oDxR.png" alt="screenshot from motorola atrix"></p>
  
  <p>I tested the above page on several devices and they all report width correctly apart from Motorola atrix. For instance galaxy s2 reports 480px and nexus 7 reports 1280px</p>