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

Re: [selectors4] No definition for individual pseudo-elements?

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 31 Jan 2013 16:38:11 -0800
Message-ID: <CAAWBYDCO4h2O+RvteT8hQ=LpZUUfqAd0pN4HJZfEzkaNwNNU9g@mail.gmail.com>
To: Simon Sapin <simon.sapin@kozea.fr>
Cc: www-style list <www-style@w3.org>
On Wed, Jan 23, 2013 at 2:20 AM, Simon Sapin <simon.sapin@kozea.fr> wrote:
> Le 22/01/2013 17:08, Tab Atkins Jr. a écrit :
>> On Tue, Jan 22, 2013 at 6:28 AM, Simon Sapin<simon.sapin@kozea.fr>  wrote:
>>>
>>> Section 3.5 gives the general rules and definitions about
>>> pseudo-elements,
>>> but lacks the definitions for individual pseudo-elements that selector3
>>> has.
>>> Is this intentional? If so, where are these definitions supposed to be?
>>
>> Intentional - we wanted to split out pseudo-elements, which are more a
>> part of CSS proper, from Selectors, which are more tech-neutral.
>>
>> Right now the definitions live in http://dev.w3.org/csswg/css4-pseudo/
>
>
> Ok.
>
> Suggestion to "fix" this:
> At the end of section 3.5, add something like:
>
>> The host language defines which pseudo-elements exist and their
>> meaning. For CSS, [[CSS21]] defines the ::before, ::after,
>> ::first-line and ::first-letter pseudo-elements.
>
>
> … with a link to
> http://www.w3.org/TR/CSS21/selector.html#pseudo-element-selectors
>
> The second sentence could be a non-normative note.
>
> When css4-pseudo advances a bit, selectors4 can reference it instead of or
> in addition to CSS 2.1.

I've added your suggested text.

~TJ
Received on Friday, 1 February 2013 00:38:59 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:05 GMT