W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2018

[csswg-drafts] Dynamic values support?

From: Gernot Pokorny via GitHub <sysbot+gh@w3.org>
Date: Mon, 30 Jul 2018 11:53:19 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-345725637-1532951598-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:33 UTC