W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2010

Re: createBlobURL

From: Jonas Sicking <jonas@sicking.cc>
Date: Mon, 25 Oct 2010 17:51:38 -0700
Message-ID: <AANLkTik_XoM6P=rQ_Hmd0oRsuxbVcvtasLgVt+oVJZgH@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Anne van Kesteren <annevk@opera.com>, Arun Ranganathan <arun@mozilla.com>, public-webapps <public-webapps@w3.org>, Arthur Barstow <art.barstow@nokia.com>, Adam Barth <abarth@gmail.com>, Darin Fisher <darin@google.com>
On Mon, Oct 25, 2010 at 5:04 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> On Mon, Oct 25, 2010 at 4:48 PM, Jonas Sicking <jonas@sicking.cc> wrote:
>> Like I said, I think creating an OM that covers all the cases here
>> would create something very complex. I'd love to see a useful proposal
>> for <http://dev.w3.org/csswg/css3-images/>.
>
> It doesn't seem overly difficult.  Using the proposed Values API,
> you'd do something like "elem.style.values.backgroundImage.url =
> [DOMURL goes here]".

That doesn't cover nearly all the ways you can use URLs as defined in
http://dev.w3.org/csswg/css3-images/ which support multiple levels of
fallback images, with snapping and resolution as well as gradients and
fallback colors. And with used in a property like backgroundImage, you
can have several combined instances of those. Consider:

style="background-image: image(sun.svg, 'sun.png' snap 150dpi),
image(wavy.svg, 'wavy.png' 150dpi, 'wavy.gif', radial-gradient(...))"

/ Jonas
Received on Tuesday, 26 October 2010 00:52:38 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:41 GMT