- From: fantasai <fantasai.lists@inkedblade.net>
- Date: Sat, 08 Sep 2007 03:08:47 -0400
- 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 UTC