Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.0-beta-2
-
None
Description
If a selector has skinning properties only, like af|foo {-tr-some-property: true}, then this gets placed into the css file like
af|foo {}.
And if it is compact mode, it will get into the css file like:
. {} It won't have a compressed value, like .x10, because it is considered empty and the skinning framework does not give a compressed value to empty keys.
If you have a css file with a lot of selectors that have only skin-properties, then your generated css file could look like:
., ., ., ., ., ., ., ., ., {}
–
The fix is in CSSGenerationUtils.java do not output selectors with an empty property string.