RE: Proposal

Seems interesting, no doubt, but how do you compute selector priority exactly? Do you consider :xxx(...) has a class all the time even if it contains an ID selector?

 

 


De : Brian Kardell
Envoyé : ‎7‎ ‎mars‎ ‎2013 ‎02‎:‎49
À : public-nextweb@w3.org
Objet : Proposal



Hey Everyone, 



Recently I spoke to Tab Atkins after some things came up regarding adding set based APIs in ECMA on a different list - clint and I drafted out an idea way, way back with Hitchjs prior to all of this which proposed adding rich logical combinators to CSS since rules always operate on a set of matching nodes, it feels like a logical fit.  Tab seemed to agree that we should post a proposal to the list.  




I've been putting it off for a few days since I've been busy and haven't had time to get things in order.  I quickly wrote up this blog post which I haven't publicized at all... In it I mention the Hitch based prollyfill.  It's pretty unofficial and we have no formal draft, but since it's pretty early goings I wanted to see if anyone wanted to comment on that before I sent to www-style.




What say you?




http://briankardell.wordpress.com/2013/03/07/logical-psuedo-selectors-a-proposal/






-- 
Brian Kardell :: @briankardell :: hitchjs.com

Received on Thursday, 7 March 2013 10:40:50 UTC