Open Zuppo opened 4 years ago
@Zuppo , you probably think that the selected class applies to an a
. However, the rule seems to be about the right-most part of the CSS selectors.
In the current example, the a
is on the right side, aka the "key" in this text, so then the unqualified attribute selector (implicitly a universal selector) rule doesn't apply.
Based on this, I think the current example is correct. CSS selectors go from right to left.
https://github.com/CSSLint/csslint/wiki/Disallow-unqualified-attribute-selectors
Should read
I would update this, but could not save edits on the page.