W3C home > Mailing lists > Public > www-style@w3.org > October 2000

Re: Ideas for the ACSS module of CSS3

From: Sean Palmer <wapdesign@wapdesign.org.uk>
Date: Sat, 14 Oct 2000 15:59:43 +0100
Message-ID: <004e01c035ef$7d44f160$e3d693c3@z5n9x1>
To: "Ian Hickson" <ianh@netscape.com>
Cc: <www-style@w3.org>
> > Maybe if I thought of a beter example...
> > Ah! p { color: #803050, else(color: #303030;); } for black-and-white
> > screens!
> But black and white screens will just fall back to the nearest grayscale
> equivalent anyway. (Also, that syntax doesn't explain if the fallback
> should be used when the palette can't resolve the required colour, when
> the bit depth can't resolve the appropriate colour, or when the physical
> display cannot show the appropriate colour.)

That's why I say:
> > Hang on, that's a bit crud as well...

> > img { border: 1px black, else(border: 0;); } for imageless browsers, and
> > don't want a border round the placeholder.
> A true problem, but I prefer my suggested solution:
>    img { border: none; }
>    img:replaced { border: 1px black; } /* only matches if image was used
> This seems to be very controversial though.
It shouldn't be: it's a good idea. It will cause more backwards
compatability issues than my suggestion though, looking from a Mozilla 4/5
point of view. However, the else() method seems a bit over the top, so maybe
a pseudo element is a better idea after all! Once again, I need a better

Kindest Regards,
Sean B. Palmer
WAP Tech Info - http://www.waptechinfo.com/
Received on Saturday, 14 October 2000 11:01:12 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:55 UTC