NULL
and NA
are returned unchanged.Single element numeric vectors are returned as a character vector with the
number plus a suffix of "px"
.
Single element character vectors must be "auto"
or "inherit"
,
or a number followed by a valid suffix: px
, %
, em
,
pt
, in
, cm
, mm
, ex
, or pc
.
Any other value will cause an error to be thrown.