W3C home > Mailing lists > Public > public-respimg@w3.org > October 2014

Re: Element Query and Selector Media Query Types

From: Simon Pieters <simonp@opera.com>
Date: Mon, 27 Oct 2014 08:55:13 +0200
To: Attiks <attiks@gmail.com>
Cc: "Ben Callahan" <ben@heysparkbox.com>, "public-respimg@w3.org" <public-respimg@w3.org>
Message-ID: <op.xoebubhiidj3kv@simons-mbp>
On Mon, 27 Oct 2014 17:45:46 +0200, Attiks <attiks@gmail.com> wrote:

> Simon,
> Yes, I meant vw
> You're right adding (min-width: 1060px) 424px will solve my problem, but  
> it
> is not really easy. I expected it to work without out, and I guess most
> people will. Thank god element queries are on the way ;-)

I'm not sure element queries will help for sizes. Since element queries  
inherently need to know the layout, they can't be evaluated by the time  
<img> wants to fetch a resource (i.e. potentially before CSS has loaded).  
If we're OK with deferring the load of the image (with lazyload or so),  
sizes would not be needed at all.

Simon Pieters
Opera Software
Received on Monday, 27 October 2014 15:55:43 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:06:15 UTC