Sent by Jens Brueckmann on 11 October 2004 17:05
On Mon, 11 Oct 2004 16:37:01 +0200, Jeroen Visser [ vizi ]
[EMAIL-REMOVED]> wrote:
> I may overlook something, but why the double '::' in the code? The
> Mozilla 1.3.1 (old, yeah, I know) I'm using doesn't show any of the
> ::after content. A local copy of the xhtml&inline version in which I
> replaced all ::after with :after does show the pseudoclass content,
> however.
>
> I'm curious, as it appears to be invalid CSS:
>
<http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.j-a-b.net%2Finfo%2Fcss-test%2Fcontent-1.xhtml>
Thanks for pointing out missing backwards compatibility. The double '::'
is CSS3 syntax for pseudo elements[1]. Although still a Candidate
Recommendation parts of this CSS3 Module are already quite reliably
supported by a variety of user agents.
Choosing the CSS3 profile the files actually validate, e.g.
<http://jigsaw.w3.org/css-validator/validator?uri=http://www.j-a-b.net/info/css-test/content-1.xhtml&warning=2&profile=css3&usermedium=all>
I have now included a CSS2 version of the tests, which, not surprisingly,
give the same results.
Cheers,
jens
[1] CSS3 Selectors Module
http://www.w3.org/TR/css3-selectors/#pseudo-elements
--
Jens Brueckmann
http://www.j-a-b.net/
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/