W3C home > Mailing lists > Public > www-style@w3.org > August 2012

Re: Pseudo-element proposal

From: Jon Rimmer <jon.rimmer@gmail.com>
Date: Thu, 9 Aug 2012 11:31:59 +1000
Message-ID: <CA+ZDCiAuR2L48YcOy=eY49miFEvL_mqhEoMLyRNMw4Rgz8MM9w@mail.gmail.com>
To: "www-style@w3.org" <www-style@w3.org>
On 8 August 2012 03:47, Alan Stearns <stearns@adobe.com> wrote:
> Dear www-style,
> We at Adobe have started working on a new specification extracting the
> notion of Pseudo-Element from the Selectors REC and extending it to
> allow multiple "before" and "after" pseudo-elements created by one
> single element. This is useful for effects like the ones collected in
>    http://css-tricks.com/use-cases-for-multiple-pseudo-elements/
> but can serve other purposes like creating boxes for CSS Regions.
> It will also simplify the level 4 Selectors spec, separating
> the notion and grammar of pseudo-elements from their syntax and
> rendering definitions.
> The proposal is available at
> http://adobe.github.com/web-platform/utilities/css-pseudo-elements/docs/css
> 4-pseudoelements.html
> We have implemented a JavaScript-based prototype to allow us to
> validate the syntax. The code is available at
>    https://github.com/adobe/css-pseudo-elements
> and demos based on that prototype are available at
>    http://adobe.github.com/web-platform/utilities/css-pseudo-elements/
> We expect discussion about this proposal to happen during
> the forthcoming CSS WG face-to-face meeting in San Diego
> and will happily respond to all feedback sent to www-style
> with a leading "[css4-pseudos] " in the subject line.

Great stuff. Any plans to work on sibling pseudos are part of this? I
think ::next and ::prev were suggested as possibilities. They would be
very useful in combination with Flexbox.

Received on Thursday, 9 August 2012 01:32:27 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:02 UTC