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

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.

Received on Friday, 18 May 2012 13:53:53 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:42 UTC