Closed geirlandro closed 12 years ago
Oops. Fixed!
@font-face
rules are being left alone for now (nothing happens inside a font-face rule). eventually, i want to make the @font-face
rules always be on top of the file (helps gzip, hypothetically), and clean up duplicate @font-face
rules.
Okay, implemented that as well. now @font-face
rules will always be on top of the document. Also:
@font-face
rules with the same font-family
will have the first one used, and the rest discarded.@font-face
rule without a font-family
property is deemed useless and is discarded.
css-condense is merging multiple font-face definitions. Each webfont needs to be in a separate
@font-face {}
for it to work.So if I have this:
cssc condenses it to
When it should be: