On Fri, 2012-05-18 at 16:39 +0530, Syed Mushtaq wrote: > > Hi, > > I wanted to write a css spriter using libcss to parse css files. I was > looking at the example provided in the code, I find that the example > is very limited and not very clear. Is there some place where I can > find more examples which use libcss. What I am looking at is some kind > of event based API where my functions get called when parsing a > ruleset,rule, etc. Similar to libcroco.
LibCSS does not provide this kind of API. Its parser is to be considered a black box by the outside world. The existing example demonstrates using LibCSS to parse a stylesheet and then apply the resultant style information to a document tree. What is unclear about it? J.
