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. -AnselmReceived 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