W3C home > Mailing lists > Public > www-style@w3.org > February 2004

Re: [css3-page] LCWD issue 23 -- [23] Section 3.4.1 Example

From: L. David Baron <dbaron@dbaron.org>
Date: Sat, 7 Feb 2004 22:40:38 -0800
To: W3C CSS List <www-style@w3.org>
Message-ID: <20040208064038.GA24082@darby.dbaron.org>

On Saturday 2004-02-07 23:54 -0500, Ernest Cline wrote:
> Perhaps :left, :right, and :first should become ::left. ::right and ::first?
> They do seem to act more like pseudo-elements than like
> pseudo-classes anyway. And pseudo-elements such as ::first-letter

They seem more like pseudo-classes to me.  With normal selectors (used
in rules), pseudo-classes select things (elements) that are selected by
other selectors, whereas pseudo-elements select other things.  I think
it should be the same for page selectors -- both page names and :left,
:right, and :first select pages, so it seems odd to want to turn the
latter group into pseudo-elements rather than pseudo-classes.

To put it another way, there is no object that can be matched by both a
selector with a pseudo-element and a selector without one.  Making
:left, etc., pseudo-elements would mean that a single page box could be
selected both by a selector with a pseudo-element and a selector without


[1] http://www.w3.org/TR/2003/WD-css3-page-20031218/#syntax-page-selector

L. David Baron                                <URL: http://dbaron.org/ >
Received on Sunday, 8 February 2004 01:40:47 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:11 UTC