Quote:
Originally Posted by kovidgoyal
If you find the function misleading, dont use it. It's at the sweetspot of utility vs performance for me.
|
Basically, without differentiating between, for instance, p and div classes/selector/elements in the style file, the whole tool is pointless.
First of all, a p.center defintion has no effect on a div passages.
Secondly, if you have 100 <div class="center"> occurences and only one of <p class="center"> in the html and a style file that only has a definition for p.center but none for div.center, the tool would remove none of the 101 classes.
On the other hand, if you have 100 <div class="center"> passages and no <p class="center"> in the html and the same style file as above, the tool would remove all 100 classes.