Closed kof closed 4 months ago
Turns out our logic is trynig to prase the value with a unit and in this case its also a valid value, so is any other value that can have an arbitrary string.
// Try value with existing or fallback unit
const unit = "unit" in styleValue ? styleValue.unit ?? "px" : "px";
let styleInput = parseCssValue(property, `${value}${unit}`);
Steps