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

Re: [css4-pseudo] The need for more powerful pseudo elements

From: Simon Sapin <simon.sapin@exyr.org>
Date: Tue, 30 Apr 2013 15:16:58 +0200
Message-ID: <517FC44A.5000103@exyr.org>
To: www-style@w3.org
Le 30/04/2013 00:59, Tom Wardrop a écrit :
> Also, if ordinals are such a pain in the ass (I don't really like them
> myself), is there any particular reason why ::before and ::after can't
> be named, e.g. span::after(shadow) { } or span::after("my shadow") { }?

I like this idea. Flexbox’s 'order' property could be use to order the 
pseudo-elements of the same element, but we’d still need a way to 
consistently order pseudos that have the same 'order' value, or where 
it’s just not specified.

http://dev.w3.org/csswg/css-flexbox/#order-property

-- 
Simon Sapin
Received on Tuesday, 30 April 2013 13:17:21 UTC

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