Re: [cssom] Author-defined at-rules

Le 29/06/2013 01:52, Jon Rimmer a écrit :
> Frankly, I think it's less a question of "why allow this?" and more "why
> not?".

Every new feature has a cost in deciding what it is exactly, writing a 
spec, writing tests, implementing it (many times), maintaining it, etc.

Again, I sympathize with everything you say about extensibility, but I 
am not really moved by this specific proposal. If this is just about 
storing stuff in CSS files remember that you can have whole at-rules in 
variables in you feel like it:

#panel {
   var-jtimeline: bounce {
     0s {
         top: 10px !timing(ease)
     }

     1s {
         top: 10px !timing(ease)
     }
   }
}

I also expect that variables will make pollyfills easier, in that they 
don’t need a full CSS parser anymore.

-- 
Simon Sapin

Received on Saturday, 29 June 2013 08:47:25 UTC