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.comReceived on Friday, 7 September 2007 18:56:28 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:52 GMT