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

[CSS3] foreground-image

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Fri, 7 Sep 2007 11:56:16 -0700
Message-ID: <000301c7f180$c57d4e60$f502000a@internal.toppro.net>
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 

   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.
Received on Friday, 7 September 2007 18:56:28 UTC

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