Screen.height and screen.width values mixed up

When accessing the screen object from PC browser all values are fine. However, when accessing from an iPad I get the following result:

{ "width": 834, "height": 1194,
"availWidth": 1194, "availHeight": 834,
"colorDepth": 24, "pixelDepth": 24,
"viewAreaWidth": 1194, "viewAreaHeight": 580,
"appWidth": 1194, "appHeight": 737 }

Width and height are mixed up. It is also not related to landscape or portrait mode as the values remain the same.

Is this explainable or is this a bug?