Funny Thing is, that my phone has a higher resolution than that. When I switched my phone browser to desktop mode it warned me that the resolution is too high…
That because the measurements used in web browser, “px”, doesn’t mean “screen pixels”.
According to the W3 website :
“The px unit is defined to be small but visible, and such that a horizontal 1px wide line can be displayed with sharp edges (no anti-aliasing). What is sharp, small and visible depends on the device and the way it is used: do you hold it close to your eyes, like a mobile phone, at arms length, like a computer monitor, or somewhere in between, like an e-book reader? The px is thus not defined as a constant length, but as something that depends on the type of device and its typical use.”
So a very high definition smartphone can be seen as being less than 800(px)x600(px), depending on its screen size and aspect ratio, while still being 4k or more.
cafuneandchill@lemmy.world 7 months ago
Ah, it’s basically an in-universe explanation that it doesn’t work on mobile devices lol
tja@sh.itjust.works 7 months ago
Funny Thing is, that my phone has a higher resolution than that. When I switched my phone browser to desktop mode it warned me that the resolution is too high…
ianhclark510@lemmy.blahaj.zone 7 months ago
That’s wild, they need to work on their documentation because my phone is waaaaaau higher than 800x600 lol
Dremor@lemmy.world 7 months ago
That because the measurements used in web browser, “px”, doesn’t mean “screen pixels”.
According to the W3 website :
“The
px
unit is defined to be small but visible, and such that a horizontal 1px wide line can be displayed with sharp edges (no anti-aliasing). What is sharp, small and visible depends on the device and the way it is used: do you hold it close to your eyes, like a mobile phone, at arms length, like a computer monitor, or somewhere in between, like an e-book reader? Thepx
is thus not defined as a constant length, but as something that depends on the type of device and its typical use.”So a very high definition smartphone can be seen as being less than 800(px)x600(px), depending on its screen size and aspect ratio, while still being 4k or more.
ianhclark510@lemmy.blahaj.zone 7 months ago
Nice essay comrade, but who tf mentioned px? Might as well write me a thesis on em vs pt