Re: [whatwg] img srcset / css image-set issues

2012-08-21 Thread Tab Atkins Jr.
On Tue, Aug 21, 2012 at 12:20 PM, John Mellor joh...@google.com wrote: CSS image-set and HTML img srcset are getting their first implementations but both APIs have serious shortcomings. We should fix them before it's too late: 1. Neither is of any use for flexibly-sized images. 2. srcset

[whatwg] Fwd: img srcset / css image-set issues

2012-08-21 Thread John Mellor
CSS image-set and HTML img srcset are getting their first implementations but both APIs have serious shortcomings. We should fix them before it's too late: 1. Neither is of any use for flexibly-sized images. 2. srcset isn't as smart/intuitive as image-set. 3. image-set is less flexible than

Re: [whatwg] img srcset / css image-set issues

2012-08-21 Thread Tab Atkins Jr.
On Tue, Aug 21, 2012 at 12:31 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: On Tue, Aug 21, 2012 at 12:20 PM, John Mellor joh...@chromium.org wrote: CSS image-set and HTML img srcset are getting their first implementations but both APIs have serious shortcomings. We should fix them before it's

[whatwg] Consider making @srcset do fallback?

2012-08-21 Thread Tab Atkins Jr.
Currently, the CSS image-set() function (sister spec to img srcset) is specified to do fallback to the less-desirable options if the first choice doesn't load or can't be decoded. I specified it this way because it seemed reasonable, and it's how the similar image() function works (which is

Re: [whatwg] Features for responsive Web design

2012-08-21 Thread Mathew Marquis
On Aug 7, 2012, at 3:09 PM, Ian Hickson wrote: On Tue, 15 May 2012, Matthew Wilcox wrote: I do not see much potential for srcset. The result of asking the author community was overwhelmingly negative, indirection or no indirection. I'm happy to consider specific feedback, but at the

Re: [whatwg] Features for responsive Web design

2012-08-21 Thread Steve Dennis
While it's unlikely that screen resolution will go above 2x in the near future, should we be taking into account the zooming of specific elements that might result in the need for larger artwork? (take icons, that can scale all the way up to 512px or above) On 13/08/2012, at 5:39 PM, Henri

Re: [whatwg] img srcset / css image-set issues

2012-08-21 Thread John Mellor
On Tue, Aug 21, 2012 at 8:31 PM, Tab Atkins Jr. jackalm...@gmail.comwrote: On Tue, Aug 21, 2012 at 12:20 PM, John Mellor joh...@google.com wrote: 1. Neither is of any use for flexibly-sized images. This is what Media Queries and the similar 'w' and 'h' tokens in @srcset are for. You can

Re: [whatwg] img srcset / css image-set issues

2012-08-21 Thread Tab Atkins Jr.
On Tue, Aug 21, 2012 at 4:28 PM, John Mellor joh...@chromium.org wrote: On Tue, Aug 21, 2012 at 8:31 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: On Tue, Aug 21, 2012 at 12:20 PM, John Mellor joh...@google.com wrote: 1. Neither is of any use for flexibly-sized images. This is what Media

[whatwg] Conformance checking of missing alternative content for images

2012-08-21 Thread Ian Hickson
On Fri, 27 Jul 2012, Steve Faulkner wrote: The spec currently allows img without alt if the title attribute is present That's a wild over-statement of the case. To be precise, the specification requires that the alt attribute be present, with the exception of some very specific cases. The