Re: [whatwg] Features for responsive Web design

2012-05-16 Thread Matthew Wilcox
On 16 May 2012 19:47, Tab Atkins Jr. jackalm...@gmail.com wrote: On Wed, May 16, 2012 at 5:58 AM, Matthew Wilcox m...@matthewwilcox.com wrote: Also, srcset does not abstract the control points away from the image itself. I have already been over why this is a problem and future-unfriendly.

Re: [whatwg] Features for responsive Web design

2012-05-16 Thread Tab Atkins Jr.
On Wed, May 16, 2012 at 11:55 AM, Matthew Wilcox m...@matthewwilcox.com wrote: On 16 May 2012 19:47, Tab Atkins Jr. jackalm...@gmail.com wrote: On Wed, May 16, 2012 at 5:58 AM, Matthew Wilcox m...@matthewwilcox.com wrote: Also, srcset does not abstract the control points away from the image

Re: [whatwg] Features for responsive Web design

2012-05-16 Thread Jacob Mather
Maybe this is the better question: Why does the pre-loader matter so much? Basing the selected image off of browser width is inherently backwards. The content should be informed by the layout, not by the browser. On Wed, May 16, 2012 at 3:04 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: On

Re: [whatwg] Features for responsive Web design

2012-05-16 Thread Matthew Wilcox
On 16 May 2012 20:04, Tab Atkins Jr. jackalm...@gmail.com wrote: On Wed, May 16, 2012 at 11:55 AM, Matthew Wilcox m...@matthewwilcox.com wrote: On 16 May 2012 19:47, Tab Atkins Jr. jackalm...@gmail.com wrote: On Wed, May 16, 2012 at 5:58 AM, Matthew Wilcox m...@matthewwilcox.com wrote:

Re: [whatwg] Features for responsive Web design

2012-05-16 Thread Matthew Wilcox
On 16 May 2012 20:12, Jacob Mather jmat...@itsmajax.com wrote: Maybe this is the better question: Why does the pre-loader matter so much? Basing the selected image off of browser width is inherently backwards. The content should be informed by the layout, not by the browser. I do agree

Re: [whatwg] Features for responsive Web design

2012-05-16 Thread Matthew Wilcox
@Tab - yes I do remember, sorry. I'm being a bloody idiot.

Re: [whatwg] Features for responsive Web design

2012-05-16 Thread Tab Atkins Jr.
On Wed, May 16, 2012 at 12:12 PM, Jacob Mather jmat...@itsmajax.com wrote: Maybe this is the better question: Why does the pre-loader matter so much? Because it lets pages load faster. Basing the selected image off of browser width is inherently backwards. The content should be informed by

Re: [whatwg] Features for responsive Web design

2012-05-16 Thread Jacob Mather
On Wed, May 16, 2012 at 3:26 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: On Wed, May 16, 2012 at 12:12 PM, Jacob Mather jmat...@itsmajax.com wrote: Maybe this is the better question: Why does the pre-loader matter so much? Because it lets pages load faster. Sure, but s that enough to

Re: [whatwg] Features for responsive Web design

2012-05-16 Thread Tab Atkins Jr.
On Wed, May 16, 2012 at 12:33 PM, Jacob Mather jmat...@itsmajax.com wrote: On Wed, May 16, 2012 at 3:26 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: On Wed, May 16, 2012 at 12:12 PM, Jacob Mather jmat...@itsmajax.com wrote: Maybe this is the better question: Why does the pre-loader matter

Re: [whatwg] Features for responsive Web design

2012-05-16 Thread Jacob Mather
On Wed, May 16, 2012 at 4:26 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: On Wed, May 16, 2012 at 12:33 PM, Jacob Mather jmat...@itsmajax.com wrote: On Wed, May 16, 2012 at 3:26 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: On Wed, May 16, 2012 at 12:12 PM, Jacob Mather jmat...@itsmajax.com

Re: [whatwg] Features for responsive Web design

2012-05-16 Thread Kornel Lesiński
On Wed, 16 May 2012 20:12:19 +0100, Jacob Mather jmat...@itsmajax.com wrote: Maybe this is the better question: Why does the pre-loader matter so much? Basing the selected image off of browser width is inherently backwards. The content should be informed by the layout, not by the browser.

Re: [whatwg] Features for responsive Web design

2012-05-16 Thread Jacob Mather
On Wed, May 16, 2012 at 5:22 PM, Kornel Lesiński kor...@geekhood.net wrote: On Wed, 16 May 2012 20:12:19 +0100, Jacob Mather jmat...@itsmajax.com wrote: Maybe this is the better question: Why does the pre-loader matter so much? Basing the selected image off of browser width is inherently

Re: [whatwg] Features for responsive Web design

2012-05-16 Thread Silvia Pfeiffer
On Wed, May 16, 2012 at 10:55 PM, Matthew Wilcox m...@matthewwilcox.com wrote: Chalk me up as another making that mistake. Properties on elements usually describe a property of the element. Not a property of something else (like the viewport). If it does indeed rely on a rendering issue (like

Re: [whatwg] Features for responsive Web design

2012-05-16 Thread Maciej Stachowiak
On May 16, 2012, at 9:39 PM, Silvia Pfeiffer silviapfeiff...@gmail.com wrote: On Wed, May 16, 2012 at 10:55 PM, Matthew Wilcox m...@matthewwilcox.com wrote: Chalk me up as another making that mistake. Properties on elements usually describe a property of the element. Not a property of

[whatwg] Features for responsive Web design

2012-05-15 Thread Ian Hickson
On Wed, 25 Jan 2012, Matthew Wilcox wrote: On 24 January 2012 23:26, Ian Hickson i...@hixie.ch wrote: On Wed, 24 Aug 2011, Anselm Hannemann - Novolo Designagentur wrote: As we now have the possibility of creating fluid and responsive layouts in several ways we have a problem with

Re: [whatwg] Features for responsive Web design

2012-05-15 Thread Matthew Wilcox
Please, have you taken a look at the latest idea? http://www.w3.org/community/respimg/2012/05/13/an-alternative-proposition-to-and-srcset-with-wider-scope/ It solves many issues: 1) works with pre-fetch 2) is not verbose 3) is backward compatible with current browsers 4) is aimed for

Re: [whatwg] Features for responsive Web design

2012-05-15 Thread Anne van Kesteren
On Tue, May 15, 2012 at 11:38 AM, Matthew Wilcox m...@matthewwilcox.com wrote: Please, have you taken a look at the latest idea? http://www.w3.org/community/respimg/2012/05/13/an-alternative-proposition-to-and-srcset-with-wider-scope/ It was quoted and replied to in the email you just replied

Re: [whatwg] Features for responsive Web design

2012-05-15 Thread Matthew Wilcox
Constraints on where assets are placed and named? I do not follow your reasoning here: You put them in the folder that's used for that design breakpoint: /anything/{whatever}/this/can/be/anything.jpg I've seen no objections about that aspect in the Community Group thread, where a number of

Re: [whatwg] Features for responsive Web design

2012-05-15 Thread Matthew Wilcox
I do not see much potential for srcset. The result of asking the author community was overwhelmingly negative, indirection or no indirection. To be clear, I don't see how indirection of this level can be an issue, under those terms anything you write in CSS to effect a HTML element is already

Re: [whatwg] Features for responsive Web design

2012-05-15 Thread Matthew Wilcox
That's one of the major advantages of Adaptive Images (the PHP/JS solution) and what people most like about it when they give me feedback - it's all automatic with no custom HTML and it does all image generation itself. Yes, the vast majority of people who are going to put images into websites

Re: [whatwg] Features for responsive Web design

2012-05-15 Thread Jason Grigsby
On May 15, 2012, at 12:28 AM, Ian Hickson wrote: * Example 2: On the Nokia Browser site where it describes the Meego browser, the Nokia Lumia is show horizontally on wide screens. As the screen narrows, the Nokia Lumia is then shown vertically and cropped. Bryan and Stephanie Rieger, the

Re: [whatwg] Features for responsive Web design

2012-05-15 Thread Tab Atkins Jr.
On Tue, May 15, 2012 at 4:51 PM, Jason Grigsby ja...@cloudfour.com wrote: On May 15, 2012, at 12:28 AM, Ian Hickson wrote: * Example 2: On the Nokia Browser site where it describes the Meego browser, the Nokia Lumia is show horizontally on wide screens. As the screen narrows, the Nokia Lumia

Re: [whatwg] Features for responsive Web design

2012-05-15 Thread Tab Atkins Jr.
On Tue, May 15, 2012 at 9:28 AM, Ian Hickson i...@hixie.ch wrote: On Thu, 10 May 2012, Tab Atkins Jr. wrote: That all said, I don't like the 2x notation.  It's declaring this image's resolution is twice that of a normal image.  This has two problems.  For one, we already have a unit that

Re: [whatwg] Features for responsive Web design

2012-05-15 Thread Jason Grigsby
On May 15, 2012, at 7:58 AM, Tab Atkins Jr. wrote: On Tue, May 15, 2012 at 4:51 PM, Jason Grigsby ja...@cloudfour.com wrote: On May 15, 2012, at 12:28 AM, Ian Hickson wrote: * Example 2: On the Nokia Browser site where it describes the Meego browser, the Nokia Lumia is show horizontally on

Re: [whatwg] Features for responsive Web design

2012-05-15 Thread Tab Atkins Jr.
On Tue, May 15, 2012 at 6:42 PM, Jason Grigsby ja...@cloudfour.com wrote: Are you saying that all of the image source listed in srcset would have the same aspect ratio? In the example Hixie provided, face-icon.png is a different ratio. Another way to read this could be that you’re fine so

Re: [whatwg] Features for responsive Web design

2012-05-15 Thread Jason Grigsby
On May 15, 2012, at 9:54 AM, Tab Atkins Jr. wrote: On Tue, May 15, 2012 at 6:42 PM, Jason Grigsby ja...@cloudfour.com wrote: Are you saying that all of the image source listed in srcset would have the same aspect ratio? In the example Hixie provided, face-icon.png is a different ratio.

Re: [whatwg] Features for responsive Web design

2012-05-15 Thread Matthew Wilcox
Um, the fact of the matter is we don't want to ensure they have the same ratio. It is exactly why we want to swap images sometimes - the aspect ratio no longer fits the design being applied at the given breakpoint. On 15 May 2012 18:48, Jason Grigsby ja...@cloudfour.com wrote: On May 15, 2012,

Re: [whatwg] Features for responsive Web design

2012-05-15 Thread Glenn Maynard
On Tue, May 15, 2012 at 2:28 AM, Ian Hickson i...@hixie.ch wrote: Now I'm not sure what to do about the bandwidth one. It's very hard for a user agent to estimate its bandwidth availability -- it depends on the server, and the network location of the server, almost as much as on the location

Re: [whatwg] Features for responsive Web design

2012-05-15 Thread Matthew Wilcox
I think there's a fundamental mis-match in the mental model of how authors work and what they want. I'm pretty sure we're all shooting for the same be more efficient goal, but I think that here on the mailing list that's being approached from an angle that has not considered how authors actually

Re: [whatwg] Features for responsive Web design

2012-05-15 Thread Tab Atkins Jr.
On Tue, May 15, 2012 at 8:19 PM, Matthew Wilcox m...@matthewwilcox.com wrote: Um, the fact of the matter is we don't want to ensure they have the same ratio. It is exactly why we want to swap images sometimes - the aspect ratio no longer fits the design being applied at the given breakpoint.

Re: [whatwg] Features for responsive Web design

2012-05-15 Thread Maciej Stachowiak
On May 15, 2012, at 8:06 AM, Tab Atkins Jr. jackalm...@gmail.com wrote: On Tue, May 15, 2012 at 9:28 AM, Ian Hickson i...@hixie.ch wrote: On Thu, 10 May 2012, Tab Atkins Jr. wrote: 3.125x isn't particularly difficult to specify. I actually didn't even realize that 300dpi is 3.125 times

Re: [whatwg] Features for responsive Web design

2012-05-15 Thread Glenn Maynard
On Tue, May 15, 2012 at 10:06 AM, Tab Atkins Jr. jackalm...@gmail.comwrote: For two, I'm not sure that it's particularly obvious that when you say 2x, you should make sure your image was saved as 196dpi. You have to already know what the default resolution is. You don't have to. The

Re: [whatwg] Features for responsive Web design

2012-05-15 Thread Kornel Lesiński
On Tue, 15 May 2012 19:25:23 +0100, Matthew Wilcox m...@matthewwilcox.com wrote: I think there's a fundamental mis-match in the mental model of how authors work and what they want. I'm pretty sure we're all shooting for the same be more efficient goal, but I think that here on the mailing

Re: [whatwg] Features for responsive Web design

2012-05-15 Thread Tab Atkins Jr.
On Tue, May 15, 2012 at 4:43 PM, Kornel Lesiński kor...@geekhood.net wrote: On Tue, 15 May 2012 19:25:23 +0100, Matthew Wilcox m...@matthewwilcox.com wrote: I think there's a fundamental mis-match in the mental model of how authors work and what they want. I'm pretty sure we're all shooting

Re: [whatwg] Features for responsive Web design

2012-05-15 Thread Jason Grigsby
On May 15, 2012, at 4:51 PM, Tab Atkins Jr. wrote: I suspect this is simply confusion about the proposal - @srcset handles the art-directed case same as picture, just with a somewhat more compact microsyntax rather than using MQs directly. (On the plus side, the slightly-special processing

Re: [whatwg] Features for responsive Web design

2012-05-15 Thread Tab Atkins Jr.
On Tue, May 15, 2012 at 5:15 PM, Jason Grigsby ja...@cloudfour.com wrote: On May 15, 2012, at 4:51 PM, Tab Atkins Jr. wrote: I suspect this is simply confusion about the proposal - @srcset handles the art-directed case same as picture, just with a somewhat more compact microsyntax rather

<    1   2