Re: Pseudo-element proposal

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.

Jon

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