Open
Description
In most (I believe all other) cases, when parsing a calc()
expression there is a known "context" which is needed to determine the type 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?