- From: Matthew Brealey <webmaster@richinstyle.com>
- Date: 6 Oct 2000 10:45:22 -0000
- To: www-style@w3.org
It would be nice to add an asterisk to the 'first defined' column in
the selectors table so as to mark whether a selector has changed since
CSS2, and if so to link to a description.
Also a typo, 'A pseudo-class always contains a colon (:) followed by the name of the pseudo-class and optionnaly by a value between
parentheses.'
----------
But strictly speaking, it isn't always followed by the name of
pseudo-class, at least insofar as :lang is called the language pseudo.
And I think 'Rules containing a :target pseudo-class have no effect in
environments where the notion of a target element is meaningless.'
would be clearer as 'The :target pseudo-class is never matched in
environments where the notion of a target element is meaningless.'
----
Also IMHO, :lang isn't clear enough; a note to this effect should be
added:
'The difference between [lang|=en] and :lang(en) is that the former
is strictly on attribute value, whereas the latter works on the
element's language. E.g., in the example below, the DIV is matched by
both selectors, but the P is only matched by :lang, which according
to HTML's language rules inherits its language from ancestor elements.
<html>
<title>Document</title>
<body>
<div lang=en>
Content
<p>
Content
</div>'
Received on Friday, 6 October 2000 06:45:30 UTC