W3C home > Mailing lists > Public > www-style@w3.org > December 1998

Re: ua.css and comments (from from mozilla groups)

From: Ian Hickson <py8ieh@bath.ac.uk>
Date: Tue, 15 Dec 1998 22:56:07 +0000 (BST)
To: www-style <www-style@w3.org>
Message-ID: <Pine.GSO.4.04.9812152242110.4333-100000@amos.bath.ac.uk>

Peter Linss <peterl@netscape.com>, in netscape.public.mozilla.layout,
recently said:

> FYI. The CSS working group is discussing adding "//" style comments
> to the standard.

Would now be a good time to point out that this is 

  (a) unnecessary

  (b) causes the following to be ignored by any standards following
      browsers, when there is no need for them to ignore it:

   // Next line should make text white on black:
   BODY { color: white; background: black; }

  (c) will cause massive levels of confusion in cases like the
      following:

   // DIV.important,
   DIV.irrelevant   { display: none; }

...or should I assume that WG members already know this?


This is similar to the idea of making "px" unit identifiers optional,
which is also ridiculous (it would cause problems with line-height,
font, and font-weight, to name just three).

What are the reasons behind these ideas? Is it just catering to the
uninitiated authors? 

If so, then simply making browsers stricter would solve the problem.
If "font-size:13" doesn't work, but "font-size:13px" does, then guess
which one is going to be used?

-- 
Ian Hickson
Received on Tuesday, 15 December 1998 17:56:10 GMT

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