Say there are selectors in a stylesheet that have no style info in them, so they are effectively empty (have no style declarations):
.main-menu {}
Will the browser still search for them?
My gut feeling is that it will depend on the browser, so an 'intelligent' programmer would say 'if selector empty don't bother' but not all browsers will have this kind of enlightened implementation. Had a quick search and couldn't find anything, was wondering if anyone on here knew anything regarding this...
Best practice i'm sure is to not have selectors with empty declarations, as they are a waste of space and time, does W3 say anything about this?
Thanks!