W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2012

Re: [whatwg] Features for responsive Web design

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 18 May 2012 06:53:17 -0700
Message-ID: <4FB6544D.5090606@mit.edu>
To: whatwg@lists.whatwg.org
On 5/18/12 3:16 AM, Markus Ernst wrote:
> 1. Are there other cases in HTML where an attribute value contains more
> than one URI?

* The "archive" attribute of <applet> (comma-separated list of URIs)

* The "ping" attribute of <a> (space-separated list of URIs)

* The "style" attribute (which can, e.g., set both border-image and
   background-image).

There might be others, but this is off the top of my head.

> 2. Have there been thoughts on the scriptability of @srcset? While
> sources can be added to resp. removed from <picture> easily with
> standard DOM methods, it looks to me like this would require complex
> string operations for @srcset.

If one really wanted to, this could be handled by having .srcset be a 
list object, etc.  Might still be a bit of a pain, of course.

-Boris
Received on Friday, 18 May 2012 13:53:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:08 GMT