- From: Krzysztof Maczyński via GitHub <sysbot+gh@w3.org>
- Date: Sat, 02 Oct 2021 15:20:11 +0000
- To: public-css-archive@w3.org
Two alternatives which would allow it to be used as a lower-level syntax despite browser implementor's opposition to requiring type inference: 1. Type (i.e. treat during parsing) the new function (`mix`, `interpolate` or whatever) as returning a dimensionless number. 2. Add an (optional, with dimensionless by default?) argument indicating the type (e.g. `length`, taken from CSS grammar). Percentages are always also valid (so e.g. no need to specify (or even allow) `length-percentage`). I prefer (2) (it even subsumes (1) if the type is optional), but probably a very common case would be to express a dimensionless number and multiply it by a dimensioned constant (likely 1). -- GitHub Notification of comment by ByteEater-pl Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6700#issuecomment-932769349 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 2 October 2021 15:20:13 UTC