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

Re: Ideas for the ACSS module of CSS3

From: Ian Hickson <ianh@netscape.com>
Date: Sat, 14 Oct 2000 07:33:06 -0700 (Pacific Daylight Time)
To: Sean Palmer <wapdesign@wapdesign.org.uk>
cc: Robin Berjon <robin@knowscape.com>, www-style@w3.org
Message-ID: <Pine.WNT.4.21.0010140729450.984-100000@HIXIE.netscape.com>
On Fri, 13 Oct 2000, Sean Palmer wrote:
>
> 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.)

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

-- 
Ian Hickson                                     )\     _. - ._.)       fL
Netscape, Standards Compliance QA              /. `- '  (  `--'
+1 650 937 6593                                `- , ) -  > ) \
irc.mozilla.org:Hixie _________________________  (.' \) (.' -' __________
Received on Saturday, 14 October 2000 10:34:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:06 GMT