For example, a selector like
. t { margin: 0 0.5em 1em-0.2em; }
is compressed to
.t{margin:0 .5em 1em -0.2em}
Perhaps this is an old bug in the YUI Compressor.
For example, a selector like
. t { margin: 0 0.5em 1em-0.2em; }
is compressed to
.t{margin:0 .5em 1em -0.2em}
Perhaps this is an old bug in the YUI Compressor.
The zero is needed to identify the value as a number. The CSS tokenizer requires this:
Otherwise it would interpret the identifier as a dimension:
Due to the fact that the
1em
dimension can have the minus sign-
as part of its identifier:It can be interpreted as:
or
References