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

Re: [CSS3] foreground-image

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Fri, 7 Sep 2007 22:35:30 -0700
Message-ID: <006d01c7f1da$12102140$0701a8c0@TERRA>
To: <www-style@w3.org>

----- Original Message ----- 
From: "L. David Baron" <dbaron@dbaron.org>
To: <www-style@w3.org>
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:
>  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.

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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:30 UTC