- From: Kornel Lesinski <kornel@ldreams.net>
- Date: Thu, 07 Apr 2005 19:59:09 +0000
- To: www-style@w3.org
There is (IMHO) excellent proposal on this subject:
http://blog.ben-ward.co.uk/archive/2004/12/21/css3_required_properties
For example that solves text-shadow problem mentioned in css specs:
#eclipse
{
color: black;
background: white;
}
@group /* hide from browsers that don't understand !required */
{
#eclipse
{
color: white;
text-shadow: black 0 0 4px !required;
}
}
This also may solve "stand-in" problem:
#foo
{
background: red;
}
#foo
{
background-color: transparent;
background-image: url("foo.png") !required;
}
Browser may decide that not loaded image doesn't satisfy the required
background-image properity and fall back to solid color.
--
regards, Kornel Lesinski
Received on Thursday, 7 April 2005 21:29:44 UTC