View Single Post
Old 09-28-2012, 03:32 AM   #124
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Quote:
Originally Posted by Toxaris View Post
The reports function is also very nice to gain insight. Especially the overview of which styles are used. That is an easy way to clean up the stylesheet.
Try selecting and right clicking the styles marked as unused. We expect to put that on Tool as well to make it easier to find. (And while you're at it, right click on a CSS file in the editor window )

The logic to find unused styles (the same used to allow you to click on a class or tag and jump to the matching style in CSS or inline) seems solid, but it won't handle very complex selectors. Its designed mainly for classes, and it won't be 100% perfect. So if you see unusual selectors with no usage marked, it may be the check is wrong not the document. Delete at your own discretion. If you do find any obvious cases its missing, please post.
meme is offline