- From: Mathew Marquis <mat@matmarquis.com>
- Date: Mon, 11 Jun 2012 17:39:13 -0400
- To: whatwg@lists.whatwg.org
On May 29, 2012, at 6:49 AM, Florian Rivoal wrote: >> * It has two attributes that could easily be confused as doing the >> same job. There's little clear logic as to why they're split, from an >> authors viewpoint. > > It might be confusing, but there is logic in the splitting: > > srcset="....." lets you describe the properties of a set of > equivalent images, and the browser decides which > one is more appropriate given the environment. > > <picture><source media="..." lets you decide which image > should be displayed based on the properties of the medium > you're displaying on. > This makes perfect sense, and certainly seems to cover all of the potential use cases of `picture` and `srcset` alone — even so far as preserving the brevity of the original proposal, in cases where that markup pattern is most appropriate. Is it fair to say that `srcset` will likely remain drafted as a solution to the resolution issue alone, and that `picture` with `srcset` functionality added should be handled as a separate proposal altogether? Just looking for some guidance on how to proceed from here. Thanks, Mat Marquis
Received on Monday, 11 June 2012 21:39:46 UTC