I ran across the issue that my design concept for displays like iPhone 4 included 1px borders and I didn't know the Retina devices measures CSS with an aspect ratio of 2x.
So I started designing the page by taking advantage of a media query for max-device-width:640px
(for portrait) and came to recognize this will only look as expected, if I set the viewport meta to initial-scale=.5
.
The problem is: If I don't want to set initial-scale=.5
and define the media query in real pixel dimensions of the iPhone, there seems to be no way to achieve a 1px wide border or such on a Retina display because setting border:.5px
will force iOS to compute an integer value of it – which seems to result in rather 0 than 1.