You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
yggg
changed the title
Width set with calc cut off in width style color shorthand properties.
Width set with calc cut off in width style color shorthand properties
Nov 26, 2018
Environment
4.2.1
:10.13.0
:Configuration options
Input CSS
Actual output CSS
Expected output CSS
_widthFilter
which is used bywidthStyleColor
function to get width part, excludescalc
with!validator.isDynamicUnit(value[1])
statement, for some reason.https://github.com/jakubpawlowicz/clean-css/blob/887ac0e2d1f10e16663edf0719153f18597824d5/lib/optimizer/level-2/break-up.js#L61
Is it intentional? I believe it's a valid css since
calc
can be used wherever length values are allowed.The text was updated successfully, but these errors were encountered: