- From: Stephen Williams via GitHub <sysbot+gh@w3.org>
- Date: Fri, 26 Apr 2019 18:51:24 +0000
- To: public-css-archive@w3.org
This would require a change to how expressions are handled, but it would be very confined: At the point that the unit is required in a subexpression, rewrite the expression at that point by replacing <value>unit with the given formula with <value> replacing the unit variable. Or, looked at a different way which I think would be equivalent here, this could be done as the value of each unit in any expression. So this becomes more like 'get px() { return vw*var(--font-scale, var(--lfont-scale)) }' rather than 'get px() { return this.px; }'. Then the CSS expression parsing itself shouldn't need to change. -- GitHub Notification of comment by sdwlig Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3874#issuecomment-487163705 using your GitHub account
Received on Friday, 26 April 2019 18:51:25 UTC