Quote:
Originally Posted by kovidgoyal
It has always done that. It does not apply actual selectors, it simply looks for classes in a selector and if the class name exists in some selector, it is marked as used.
|
That's rather misleading, since the button for removing unused classes gives the impression that a style file contains all class definitions that are necessary for an ebook, if none is removed.
Many ebooks, e.g., from gutenberg.org, contain style files do do not include all necessary definitions. Making the class removal function selector/element dependent would help to find and add missing definitions.