This is an old revision of the document!


Improving usability of ordered component value lists

Several properties, such as 'transform', 'background-*', and '*-shadow', take complex ordered lists of values. Tweaking one component of such a value (e.g. changing color or rotation on :hover) requires rewriting the whole thing.

See thread at http://lists.w3.org/Archives/Public/www-style/2011Mar/0573.html

It is also desirable to be able to decompose complex functions like linear-gradient(). Such functions are also lists (tagged n-tuples to be precise). One of practical tasks sounds like “transition of 4th color stop from color 'red' to 'yellow'”. In general the 'transition' shall accept only atomic values to avoid any ambiguity. E.g. it is not clear what exactly transition from linear-gradient(left,red,blue) to linear-gradient(top,red,yellow,blue) means.

 
ideas/value-list-components.1301069211.txt.gz · Last modified: 2014/12/09 15:48 (external edit)
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki