W3C home > Mailing lists > Public > www-style@w3.org > July 2012

Re: [css3-images] Indicating it's optional to retrieve a url specified in background-image (or font-face)

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 11 Jul 2012 13:39:49 -0700
Message-ID: <CAAWBYDA+=CReOfnwJDEj9PMDmRgnMtpkMjbSkHQd9V1KJKdv6g@mail.gmail.com>
To: Andy Davies <dajdavies@gmail.com>
Cc: www-style@w3.org
On Wed, Jul 11, 2012 at 6:22 AM, Andy Davies <dajdavies@gmail.com> wrote:
> On 9 July 2012 22:55, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
>> In Images 4 I will define the image-set() function, which lets the
>> browser do bandwidth discrimination in a manner basically identical to
>> <img srcset>.  This was proposed by Apple a few months ago and
>> currently has an experimental implementation in WebKit (I don't think
>> it's web-exposed yet).
>>
>> It seems that this could be addressed by creating a solid-color image
>> (with "image(black)" or the like) and giving it a small descriptor,
>> like .1x or even 0x.
>>
>> Alternately, we could allow <color> and give it this behavior, where
>> it's used as a fallback if the browser decides it doesn't want to
>> download any of the images.
>
> Cool, seems a reasonable approach, any thoughts for font-face?

Nope, that'll need a different approach.

~TJ
Received on Wednesday, 11 July 2012 20:40:36 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:56 GMT