W3C home > Mailing lists > Public > public-html@w3.org > September 2013

Re: The picture element: complexity

From: Anselm Hannemann <info@anselm-hannemann.com>
Date: Thu, 12 Sep 2013 21:56:20 +0200
Cc: Simon Pieters <simonp@opera.com>, "public-html@w3.org" <public-html@w3.org>
Message-Id: <EC8FF969-EE5A-49B9-AE92-5398C54284ED@anselm-hannemann.com>
To: Reinier Kaper <rp.kaper@gmail.com>
On 12.09.2013, at 21:35, Reinier Kaper <rp.kaper@gmail.com> wrote:

> On 12 September 2013 14:58, Anselm Hannemann <info@anselm-hannemann.com> wrote:
> Okay thanks for being patient with me and explaining why it isn't a good idea.
> I understand how the prefetching works and why it's essential for (amongst other things) speed.
> The tie-in between HTML and CSS still doesn't sound like a solution to me though. Although media queries might not be limited to CSS, it does make a dependency between mark-up and styling, which should be avoided.

No problem. The only problem I see currently is another: One need to write all the MQs by hand. Instead something like document / HTML-variables would be great. This is already discussed by the WHATWG and is no in https://github.com/ResponsiveImagesCG/picture-element/issues/64.

The problem you're talking about is already existent. You can already apply MQs on CSS links, on source elements (e.g. inside of video) etc.
As a matter of fact media queries aren't used for layout here but more as a switch for media types. Recently there has been much discussion that media-queries should be renamed as they definitely are not tied to layout only but are a tool to target specific media types including devices, displays or other criteria.

Received on Thursday, 12 September 2013 19:56:46 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:46:05 UTC