Re:How a new HTML element will make the Web faster
by Siecje on Tuesday September 02, 2014 @10:59AM
(#8257928)
How does the browser know to grab the 1x version or the 2x version?
[ Parent
| on HN ]
Re:How a new HTML element will make the Web faster
by kaoD on Tuesday September 02, 2014 @12:39PM
(#8258613)
I assumed 2x was for Retina-like screens. The browser already knows it and it's exposed via devicePixelRatio.
If I understood your question correctly.
Re:How a new HTML element will make the Web faster
by garethadams on Tuesday September 02, 2014 @12:36PM
(#8258598)
The browser knows about the device it's running on, and specifically its display density.