W3C home > Mailing lists > Public > www-style@w3.org > April 2014

Re: [css-images] Changes to image()

From: Dirk Schulze <dschulze@adobe.com>
Date: Thu, 17 Apr 2014 18:10:49 +0000
To: fantasai <fantasai.lists@inkedblade.net>
CC: "www-style@w3.org" <www-style@w3.org>
Message-ID: <558F1784-0FE0-412E-8356-081E76DE76CE@adobe.com>

On Apr 17, 2014, at 7:33 PM, fantasai <fantasai.lists@inkedblade.net> wrote:

> On 04/16/2014 10:50 AM, Dirk Schulze wrote:
>> Hi,
>> 
>> In the CSS WG conf call we discussed several changes to image().
>> One was about default EXIF support. In this thread I would like
>> to initiate a discussion about the second one.
> 
> Thanks for starting the thread, Dirk!
> 
>> If I understood fantasai correctly during the call, she suggested
>> removing the fallback behavior of image() with the exception of
>> <color>[1] in level 3.
>> 
>> Does that mean that the syntax will be reduced to the following?
>> 
>>     image( <url> | <string> [, <color>]? )
> 
> 
> Actually, I was thinking more
> 
>   image( <url> | <string> | <color>)
> 
> because it's the comma-separation part that's unclear how it will work.

In this case image() has no fallback behavior at all. Itís whole purpose changes completely. The reason why people would use it is just because of image(<color>) and it seems strange that we need a function to specify the color .. or have <url> and <string> at all. Unless people want to have EXIF support of course.

Greetings,
Dirk

> 
>> IIRC the reasoning was that UAs do not catch up with the implementation
>> and level 4 will have much more possibilities. Beside multiple fallback
>> images, it will have conditions from media queries and other things.
>> Since it is not clear how these other things will look like, we should
>> reduce the image() function to the minimal subset. Is that correct so far?
> 
> Yes. We're reducing image() to the subset that we know for sure
> will be a subset of any future image() proposal.
> 
> ~fantasai
> 
Received on Thursday, 17 April 2014 18:11:22 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:21 UTC