content: css: dump: Handle CALC unit type

We won't actually reach this, because the type won't be SET if
it's CALC.
This commit is contained in:
Michael Drake 2024-05-26 19:51:10 +01:00
parent e1d7a346dd
commit 15d3de0d37
1 changed files with 3 additions and 0 deletions

View File

@ -145,6 +145,9 @@ static void dump_css_unit(FILE *stream, css_fixed val, css_unit unit)
case CSS_UNIT_Q:
fprintf(stream, "q");
break;
case CSS_UNIT_CALC:
fprintf(stream, "calc()");
break;
}
}