forked from w3c/csswg-wiki
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvalue-list-components.txt
More file actions
11 lines (5 loc) · 851 Bytes
/
value-list-components.txt
File metadata and controls
11 lines (5 loc) · 851 Bytes
1
2
3
4
5
6
7
8
====== 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.