View Single Post
Old 06-25-2020, 12:16 PM   #43
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,960
Karma: 169810634
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by mcdummy View Post
Hi wrCisco,

Could you also add a feature that does the opposite, i.e. looks in the html/xhtml/xml files for classes that are used in these files, but do not have a corresponding defintion in the css file?

I've downloaded several ebook from gutenberg.org, which did not provide definitions for all classes used in the html/... files. Since I guess that the creator intended to have a special formating of the corresponding text passages, but forgot to add the defintions to the css, it would be good to be informed about the missing defintions to be able to format these passages.

Regards,

McDummy
You could use the Reports tool. The Classes Used report will show undefined classes at the top of the report with no matched selector or found in. See attached image.

And yes, this is a commercial book I'm cleaning up for my wife.. If you want really bad examples, check for ebooks created by Vellum.
Attached Thumbnails
Click image for larger version

Name:	css_classes_used_report.png
Views:	390
Size:	63.9 KB
ID:	180188  
DNSB is offline   Reply With Quote