View Single Post
Old 01-04-2021, 08:11 PM   #38
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,893
Karma: 6120478
Join Date: Nov 2009
Device: many
By greatly simplifying csstidy c++ code and extracting just the pieces that do the actual parsing of the css, and merging it, I have created CSSParser.cpp, CSSProperties.cpp, and CSSUtils.cpp that seem to do a good job parsing CSS stylesheets so we can use it to extract a complete list of selectors. It can also do some validation of css stylesheets as well as pretty printing the parsed css.

When I get them cleaned up and reduced down even more, I will add the to my Sigil tree in case people want to play around with it.
KevinH is offline   Reply With Quote