Open takamoso opened 5 months ago
If specified normally, an empty style is generated.
<p class="font-size:clamp(1.5rem,2vw+1rem,2.25rem)">...</p>
.font-size\:clamp\(1\.5rem\,2vw\+1rem\,2\.25rem\) {}
When I wrap it with the calc() function, it works fine.
<p class="font-size:clamp(1.5rem,calc(2vw+1rem),2.25rem)">...</p>
.font-size\:clamp\(1\.5rem\,calc\(2vw\+1rem\)\,2\.25rem\) { font-size: clamp(1.5rem, 1rem + 2vw, 2.25rem); }
No response
@takamoso Confirmed it was a bug.
We have to normalize font:clamp(1.5rem,2vw+1rem,2.25rem) into a valid format font:clamp(1.5rem,2vw + 1rem,2.25rem) for CSS.
font:clamp(1.5rem,2vw+1rem,2.25rem)
font:clamp(1.5rem,2vw + 1rem,2.25rem)
Will fix it later, thanks.
Description
If specified normally, an empty style is generated.
When I wrap it with the calc() function, it works fine.
Reproduction
No response
System Informations
No response