View Single Post
Old 01-03-2021, 04:25 PM   #34
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,937
Karma: 6361444
Join Date: Nov 2009
Device: many
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.
KevinH is offline   Reply With Quote