[csswg-drafts] Dynamic values support?

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

== Dynamic values support? ==
As soon as you want to do something like this in css you have to do it in JS:

**set the width of an element (element A) to the height of another element (element B). If element B's height does increase element A's width should increase too. In other words a binding.**

That is kind of pointless that you have to do that in JS, because the css should define the styling of the page. Furthermore css already has dynamic values that depend on another elements size (eg. width:80%;), in conclusion I guess there is no reason to not support the requested feature.





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

Received on Monday, 30 July 2018 11:53:23 UTC