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

RE: [css-variables] Remaining Issues

From: François REMY <francois.remy.dev@outlook.com>
Date: Tue, 11 Jun 2013 10:46:53 +0200
Message-ID: <DUB120-W40B6FDCF4571253F053AB6A5850@phx.gbl>
To: Sylvain Galineau <galineau@adobe.com>, Tab Atkins Jr. <jackalmage@gmail.com>
CC: www-style list <www-style@w3.org>
> What does the 'possibility of replacing normal properties' mean? And why
> is it very important?

A property replace another if, instead of changing that second property, you change the other to achieve a similar effect.


   var-col-size: 33%;
   var-col-index: 1;
   position: absolute;
   left: get(var-col-index * var-col-size);

If I want to animate my layout, and add a fourth column inside an animation, or change an element of column inside an animation, I may want to transition 'var-col-index' from 1 to 2, or change the 'var-col-size' property in order to create an anim where the colsize increases from 0 to 33% at the opening of the page.

If custom properties are not animatable, I think I'll consider them 'completely broken', down from my current 'they are broken' vision. 		 	   		  
Received on Tuesday, 11 June 2013 08:47:22 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:31 UTC