W3C home > Mailing lists > Public > www-style@w3.org > September 2007

Re: [CSS3] foreground-image

From: fantasai <fantasai.lists@inkedblade.net>
Date: Sat, 08 Sep 2007 03:08:47 -0400
Message-ID: <46E24A7F.9050101@inkedblade.net>
To: Andrew Fedoniouk <news@terrainformatica.com>
CC: www-style@w3.org

Andrew Fedoniouk wrote:
> David Baron wrote: 
>> I'd rather have something like:
>>
>>  content: image(url(foo.png), 25, 25, 300, 300);
>>
>> as proposed in comments 3 and 4 of:
>>
>>  https://bugzilla.mozilla.org/show_bug.cgi?id=113577
>>
>> that would apply to all properties that deal with images
>> (background-image, list-style-image, etc.).
> 
> This is out of scope of  foreground-image per se but anyway...
> 
> What will happen if image does not support pixel cropping
> in principle? SVG for example. And I think croping of jpegs and a-gifs 
> is also not a good idea.

SVG has a coordinate system, so pixel references in this sense
would work just fine. David's suggestion could also just as
easily use percentages as an alternative form.

~fantasai
Received on Saturday, 8 September 2007 07:09:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:52 GMT