- From: Sam Weinig via GitHub <sysbot+gh@w3.org>
- Date: Sun, 18 Aug 2024 01:28:20 +0000
- To: public-css-archive@w3.org
weinig has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-typed-om][css-values] What context is CSSNumericValue.parse(...) considered to have for its parse? == In most (I believe all other) cases, when parsing a `calc()` expression there is a known "context" which is needed to [determine the type](https://drafts.csswg.org/css-values-4/#determine-the-type-of-a-calculation) of percentage values. This is needed to figure out if the type should be a dimension with a percent hint (like when parsing a `width` property), or raw percentage (like when parsing `scale`). With `CSSNumericValue.parse(...)` however, there is no specified context. How are percentages supposed to be interpreted when parsed in this way? Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10753 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 18 August 2024 01:28:21 UTC