Re: [CSS3] foreground-image

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:
>> 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.


Received on Saturday, 8 September 2007 07:09:02 UTC