Please provide a working test case that shows this. The only known bug (already fixed in master) is that the removal will fail if after removing ALL unused selectors, it would leave a completely empty stylesheet.
BeckyEbook already reported that bug and it has already been fixed. To workaround it, simply add a css comment someplace at the top of the css stylesheet so that it would not end up completely empty.
If you are seeing a different bug, I could really use a testcase that shows the bug.
Thanks,
KevinH
Quote:
Originally Posted by Vanguard3000
Hi, folks! Overall I'm enjoying the enhancements for 1.5.1, but I'm having an issue with the "Delete Unused Stylesheet Selectors" not working as expected. I've got an ePub with multiple stylesheets (a global, and several file-specific), and have removed all instances of most of the styles contained therein, but the delete function does nothing, despite all unused selectors being checked.
I've confirmed the styles aren't in use by a search, through the reports screen, and by deleting all xhtml files except a blank one, and clicking the "Delete Marked Styles" button seems to fail silently (the dialog dismissed but nothing else).
Because I had updates from 1.4.3, I tried uninstallling and reinstalling fresh, and restarting, and it worked briefly, but the issue seems to be back again.
Anyone else seeing this issue? Aside from that, when it worked, it was awesome. I like that it could also remove header-based style definitions.
|