- From: Andrew Fedoniouk <news@terrainformatica.com>
- Date: Fri, 7 Sep 2007 11:56:16 -0700
- To: <www-style@w3.org>
To be able to define in CSS rendering of <img> element I propose: 1) to add set of attributes that are similar to background-*** attributes but named foreground-***: foreground-image, foreground-position, etc. Having this standard <img> rendering can be defined in CSS as img { foreground-image:url(attr("src")); foreground-stretch: 100%; } There are other useful cases if we will be able to define two independent images for the element. Side note: list-style-image can be declared as obsolete in this case - proposed foreground image can do this with greater flexibility. Andrew Fedoniouk. http://terrainformatica.com
Received on Friday, 7 September 2007 18:56:28 UTC