For those interested, I have been playing around with csstidy's css parser and have removed all of the "optimization code" and its overhead to hopefully leave a decent css parser/tokenizer in C++.
I will work this week on restructuring it from a command line tool into a working class that we could incorporate into Sigil.
Once we add this in and the gumbo-query code we should be better able to use it to detect unused selectors more safely.
|