Quote:
Originally Posted by hobnail
But you'd still need to go in and manually remove them, one by one. A coworker of mine had a useful phrase about automated things like this; "Never send a man to do a computer's job" (a twist on the old proverb).
|
But @mcdummy did not want the undefined classes removed. He wanted to be informed about them so he could add the required classes. For that, I thought the Report tool was an already implemented solution.
Quote:
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.
|
I suppose cssRemoveUnusedSelectors plugin could be modified so undefined classes would be added to the stylesheet as a blank selector ( .whatever {} ) but not sure how much easier that would make the job. Are you volunteering to code and test this?