Re: [whatwg] So if media-queries aren't for determining the media to be used what are they for?

On 5/15/12 7:33 PM, Kornel LesiƄski wrote:
> In fact, I'd keep @media, because it serves some cases very well (I see
> dpi/bandwidth optimisation as a problem orthogonal to layout adaptation:
> http://geekhood.net/MediaQuery-vs-PerfQuery.png)

@media on video source is terrible for layout adaptation: it's only 
considered when selecting a source.  So if you load the page, then turn 
your device so it's in landscape mode (or resize your browser window or 
whatever), the source won't change, even though which source matches the 
medium might have just changed.

Is the expectation that device-adapting images will reload from the new 
URI in cases like the above?  Or not?  Both answers have some problems.  :(

-Boris

Received on Wednesday, 16 May 2012 01:08:40 UTC