- From: Silvia Pfeiffer <silviapfeiffer1@gmail.com>
- Date: Wed, 13 Nov 2013 20:48:28 +0800
- To: Jirka Kosek <jirka@kosek.cz>
- Cc: Markus Ernst <derernst@gmx.ch>, Markus Lanthaler <markus.lanthaler@gmx.net>, whatwg <whatwg@lists.whatwg.org>, Christian Biesinger <cbiesinger@google.com>, "Jukka K. Korpela" <jkorpela@cs.tut.fi>, Ryosuke Niwa <rniwa@apple.com>, Adam Barth <w3c@adambarth.com>
On 13 Nov 2013 11:33, "Jirka Kosek" <jirka@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)); } > ... > > </style> > > ... > > <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 > identifier after src-? > > If the later is one, then validation and content completion in HTML > source editors will be nightmare. No different to data-* . Silvia. > > Jirka > > -- > ------------------------------------------------------------------ > Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz > ------------------------------------------------------------------ > Professional XML consulting and training services > DocBook customization, custom XSLT/XSL-FO document processing > ------------------------------------------------------------------ > OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep. > ------------------------------------------------------------------ > Bringing you XML Prague conference http://xmlprague.cz > ------------------------------------------------------------------
Received on Wednesday, 13 November 2013 12:48:57 UTC