View Single Post
Old 10-17-2020, 02:43 PM   #8
hobnail
Running with scissors
hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.
 
Posts: 1,590
Karma: 14328510
Join Date: Nov 2019
Device: none
Quote:
Originally Posted by Thasaidon View Post
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.
hobnail is offline   Reply With Quote