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

Pseudo-element proposal

From: Alan Stearns <stearns@adobe.com>
Date: Tue, 7 Aug 2012 10:47:41 -0700
To: "www-style@w3.org" <www-style@w3.org>
CC: Chris Coyier <chriscoyier@gmail.com>
Message-ID: <CC46A2CD.14154%stearns@adobe.com>
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.

Best regards,

Razvan Caliman, Adobe Systems, Inc.
Daniel Glazman, Disruptive Innovations SAS
Alan Stearns, Adobe Systems, Inc.
Received on Tuesday, 7 August 2012 17:48:10 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:58 GMT