Re: [CSS3] foreground-image

----- Original Message ----- 
From: "L. David Baron" <>
To: <>
Sent: Friday, September 07, 2007 4:56 PM
Subject: Re: [CSS3] foreground-image

>On Friday 2007-09-07 12:35 -0700, Andrew Fedoniouk wrote:
>> The @content defines only one piece of information - source of
>> image but it does not define how bits are being rendered: stretched,
>> positioned, etc.  That is the main problem.
>I'd rather have something like:
>  content: image(url(foo.png), 25, 25, 300, 300);
>as proposed in comments 3 and 4 of:
>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.

I would rather think about packaging bunch of related images 
into something similar to tar, mime or zip files.

Andrew Fedoniouk.

Received on Saturday, 8 September 2007 05:36:28 UTC