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

Re: Preview: CSS1 Test Suite

From: Ian Hickson <exxieh@bath.ac.uk>
Date: Mon, 6 Apr 1998 23:02:08 +0100
Message-ID: <006501bd61a7$ece4eb20$cc20268a@hpxu>
To: www-style@w3.org, "Eric A. Meyer" <emeyer@sr71.lit.cwru.edu>
Err, hi. Me again. Having read the whole suite (minus a few of the margin
pages which were getting a bit boring), I now have a longer list of problems
to report. On the whole, however, the tests are great! Good work!


On page:
http://www.cwru.edu/dms/homes/eam3/css-test/sec16.htm

Using the style sheet:
>HTML BODY TABLE P {color: navy; font-family: sans-serif;}
>EM, UL LI LI {color: green;}

There is something very wrong with the first paragraph:
>This text is normal for this page: navy (dark
>blue) in color and a sans-serif font.
>This sentence should be navy, except for the
>last word, which should be green.

Presumably, the TABLE in the first line of the style sheet is superfluous.



On page:
http://www.cwru.edu/dms/homes/eam3/css-test/sec21.htm

I question the validity of the following statement:
>The word quoted word "anchor" should NOT be a different
>color, even though it's part of an anchor. It's a named
>anchor, and styles declared for the A tag are not applied
>to them under CSS1.
I can't find this explicitly given in the CSS1 spec. Surely this is only
true of As with a pseudo-class? Section 2.1 applies only to Anchor
pseudo-classes, not to an A on it's own. Anybody have any other views on
this?


On page:
http://www.cwru.edu/dms/homes/eam3/css-test/sec23.htm
Maybe it should be mentioned that support for this is optional. Also, is
first-letter tested? I didn't see it anywhere.


On page:
http://www.cwru.edu/dms/homes/eam3/css-test/sec32.htm
Quite a few problems here, first of all in the style sheet:
UL LI.mar {color: #66000;}
There is a missing "0" in the hex (should be three or six characters).
Secondly, the keyword "orange" is not CSS1, it is an IE4 invention (note
that this appears in a few other pages too). There is also a typo here, in
that the first LI in the <PRE>style sheet</PRE> is on the same line as the
<LINK rel=etc>.
Interesting to note that IE4 actually underlines and overstrikes the last
paragraph...


On page:
http://www.cwru.edu/dms/homes/eam3/css-test/sec5522.htm
brown is not a CSS1 keyword.


On page:
http://www.cwru.edu/dms/homes/eam3/css-test/sec5523.htm
In the table bit, the second square should be half the width of the *table
cell*, not the UA window as written. This may not be the same (IE4, for
example, only makes the table as big as is needed to accommodate the text).


On page:
http://www.cwru.edu/dms/homes/eam3/css-test/sec5524.htm
In CSS1, percentage values on the height property are not applicable (in
fact, they are absurd when we're not talking about CSS-P). Therefore this
test is irrelevant. Note - IE4 does this as percentage of browser window
height, which must have been interesting to program... Any comments on this
Chris?


On all pages:
All the [SPEC] links are actually wrong, they point to "/PR/REC-CSS1/"
instead of "/TR/REC-CSS1".
eg,
http://www.w3.org/PR/REC-CSS1/#anchor-pseudo-classes
should be
http://www.w3.org/TR/REC-CSS1#anchor-pseudo-classes
(afternote - did this change while I was writing this or something? The
links are correct now...)


And finally... I love the comments you've used to extend lines. Maybe you
could put in a few "easter eggs" (hey! topical jargon!), for example a
lightbulb joke or two somewhere...
http://www.visi.com/~nathan/humor/canon/lightbulbs.html

Signing off for now,
--
Ian Hickson
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12   Info: www.geekcode.com
GIT/M/S d->-- s+: a--->? C++(+++)>$ U>*++++ P L+>+++++ E(+)>+++ W+++ N(+) o?
K? w@ O- !M V- PS+ PE- Y+ PGP>+ t 5+++>++++ X- R+(+++) tv b++(+++) DI++
D++(---)>++++ G>+++ e(*)>+++++ h!()(--) !r y?
------END GEEK CODE BLOCK------
Received on Monday, 6 April 1998 18:05:24 GMT

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