[whatwg] Responsive images using http headers

Boris Zbarsky bzbarsky at MIT.EDU
Tue Jun 26 06:52:39 PDT 2012

On 6/26/12 4:41 AM, Oscar Otero wrote:
> I understand the problem. Sending only the window dimmensions, screen
> resolution and other useful information available in media-queries can be
> enought. For example:
> Viewport: width=1024px; height=768px; scale=1;
> Or even connection information:
> Connection: type=2G;

I think those have been proposed before.  Worth looking into why those 
proposals didn't get traction.

Note, by the way, that in the case of subframes the viewport dimensions 
are _also_ not available when image loads kick off.


More information about the whatwg mailing list