Zooming. That already caused screen pixels to not be the same as device pixels, and most browsers have supported it for many years now (whole page zooming, not just text size adjustment). Hell, zooming is a major portion of what makes modern mobile browsers usable without special coding.
I wouldn't be surprised if it hadn't been true in practice even before that.