tomyeh / ZUSS

An extension to CSS providing mixins, nested rules, conditional content, variables and seamless Java integration.
http://books.zkoss.org/wiki/ZUSS_Reference
19 stars 5 forks source link

@font-face get parsed #23

Open laeubi opened 10 years ago

laeubi commented 10 years ago

@font-face {

}

simply don't sho up in the ouput because it is parsed as a function(?) or some other ZUSS construct.

jlangston commented 10 years ago

One other problem is while your patch makes the @font-face not get picked up as a mixin/variable it won't parse and process mixin's within the @font-face{ } block.

laeubi commented 10 years ago

Yes, at the momment it is handleded as a "raw" value the is more work to do in the Parser.java, so the current support is very basic, but as a first step it prevents ZUSS from completely removing font-face definitions from the CSS...