Re: [whatwg] imgset responsive imgs proposition (Re: The src-N proposal)

2013-11-13 Thread Silvia Pfeiffer
On 13 Nov 2013 11:33, Jirka Kosek ji...@kosek.cz wrote: On 13.11.2013 2:56, Christian Biesinger wrote: For a bit more presentation, and while we're inventing new syntax anyway, how about this: style @media (min-width: 480px) { .artdirected { content: replaced url(attr(src-small));

Re: [whatwg] imgset responsive imgs proposition (Re: The src-N proposal)

2013-11-13 Thread John Mellor
One-dimensional solutions like this look pretty but once you combine width and device-pixel-ratio (resolution) it quickly explodes and you get num_widths * num_dprs entries. Please read xanthir.com/b4Su0, at least the example at the bottom showing how srcset quickly gets impractical. If you want

Re: [whatwg] Questions regarding Path object

2013-11-13 Thread Dirk Schulze
On Nov 13, 2013, at 2:53 PM, Rik Cabanier caban...@gmail.com wrote: [resending because of a bounced message] DrawingPath is saying the same thing twice. Maybe DOMDrawing is better? (with drawing the definition of http://dictionary.cambridge.org/dictionary/british/drawing?q=drawing) I

Re: [whatwg] imgset responsive imgs proposition (Re: The src-N proposal)

2013-11-13 Thread D. Pitchford
On Tue, Nov 12, 2013 at 12:50 PM, Adam Barth w...@adambarth.com wrote: On Tue, Nov 12, 2013 at 9:22 AM, Markus Ernst derer...@gmx.ch wrote: Am 12.11.2013 17:48 schrieb Markus Lanthaler: On Tuesday, November 12, 2013 5:04 PM, Markus Ernst wrote: We could define some ways to list set of

Re: [whatwg] Questions regarding Path object

2013-11-13 Thread Jussi Kalliokoski
On Nov 13, 2013 6:41 PM, Dirk Schulze dschu...@adobe.com wrote: On Nov 13, 2013, at 2:53 PM, Rik Cabanier caban...@gmail.com wrote: [resending because of a bounced message] DrawingPath is saying the same thing twice. Maybe DOMDrawing is better? (with drawing the definition of

Re: [whatwg] Questions regarding Path object

2013-11-13 Thread Robert O'Callahan
On Wed, Nov 13, 2013 at 12:12 PM, Jussi Kalliokoski jussi.kallioko...@gmail.com wrote: Path is also too generic even in the context of graphics. If we later on want to add a path object for 3-dimensional paths, you end up with Path and Path3D? Yay for consistency. Path2D would immediately

Re: [whatwg] imgset responsive imgs proposition (Re: The src-N proposal)

2013-11-13 Thread Markus Ernst
Am 13.11.2013 14:52 schrieb John Mellor: style @media (max-width: 19.99em) { .artdirected { content: replaced image-set(128px; attr(srcs-smallicon)); } } @media (min-width: 20em) { .artdirected { content: replaced image-set(100% (30em) 50% (50em) 33%; attr(srcs-flexwidth)); } } /style

Re: [whatwg] Questions regarding Path object

2013-11-13 Thread Rik Cabanier
Sounds good. Let's do it. On Wed, Nov 13, 2013 at 1:36 PM, Robert O'Callahan rob...@ocallahan.orgwrote: On Wed, Nov 13, 2013 at 12:12 PM, Jussi Kalliokoski jussi.kallioko...@gmail.com wrote: Path is also too generic even in the context of graphics. If we later on want to add a path object

Re: [whatwg] imgset responsive imgs proposition (Re: The src-N proposal)

2013-11-13 Thread Jirka Kosek
On 13.11.2013 13:48, Silvia Pfeiffer wrote: img class=artdirected src=foo.jpg src-small=foo-small.jpg src-medium=foo-medium.jpg src-big=foo-big.jpg Do you expect that there will be just predefined set of src-* attributes or user can define as many of them as he/she wants and use arbitrary