[csswg-drafts] [css-cascade-6] Tweaking component values (#6707)

fantasai has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-cascade-6] Tweaking component values ==
Copying this issue over [from the wiki](https://wiki.csswg.org/ideas/value-list-components).

> 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.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6707 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 1 October 2021 22:10:23 UTC