Re: Ideas for the ACSS module of CSS3

> > 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
you
> > 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
example...

Kindest Regards,
Sean B. Palmer
WAP Tech Info - http://www.waptechinfo.com/

Received on Saturday, 14 October 2000 11:01:12 UTC