In this answer, the last selector (ul li a:hover { color: white; }
) is redundant, as its values match what would be provided for ul li a { color: inherit; }
. Try removing the last selector for yourself to verify this is correct.
I made a suggested edit, removing that selector with the comment "remove redundant code), which was rejected. If you read the comments, I point out that "the ul li a:hover selector is redundant in this, as it's still using the same color." The original answerer(?) responded that "It should go without saying, so the edit would not be necessary. ... it doesn't improve the answer in any way".
Maybe it's just me, but how does removing redundant code not improve an answer, especially if "it should go without saying"? To me, this makes no sense.
It's worth noting that this did not go through the queue, and was presumably the poster that rejected the edit.
Seeking thoughts on whether this should have been approved, as it prevents people from using redundant code.
<li>
is hovered.//
to separate the sections. CSS only has block-style comments :)