Quote:
Originally Posted by Thasaidon
The reason I would find this useful is in the bBook, I mentioned. It had over 1000 lines in the CSS, all used, which included duplicated rule sets, each having a unique Selector name.
|
You're right, but don't hold your breath waiting for it. Implementing it would not be straightforward. One of them could have a semicolon after the FFF, another could have a space before or after one of the semicolons, the properties could be in a different order, one uses white, the other #fff, etc. These things could be handled but ... There's a lot of horrifying css and html out there (my favorite is when they have a span around
every word).
One of my peeves is that when the classes are stacked like that, an unused class, for example your .chaprHd, isn't removed when it's not used in the html.