- From: Alan Gresley <alan@css-class.com>
- Date: Sat, 05 Apr 2008 04:36:31 +1100
- To: fantasai <fantasai.lists@inkedblade.net>
- CC: Brad Kemper <brkemper@comcast.net>, Anne van Kesteren <annevk@opera.com>, www-style@w3.org
fantasai wrote:
> The other important one that needs fallbacks is 'content', we're
> handling that by making it take a comma-separated list of values.
>
> content: url(hello.png), "hello";
>
> I guess you could argue that distinguishing between the cases where
> this results in a replaced element (using hello.png) vs. where it's
> just text ("hello") would be useful.
>
> ~fantasai
I would suggest using Anne syntax for consistency. A forward slash "/"
would indicate either a fall back or a fall forward. like.
content: "hello" / url(hello.png);
The fall back to the left I think is more intuitive for authors. Also
using commas would mess with multiple background strings. This would be
better.
background: blue / url(hello.png), url(goodbye.png), transparent;
Alan
http://css-class.com/test/
Received on Friday, 4 April 2008 17:37:56 UTC