t32k/stylestats

universalSelector falsely reports attribute selectors

bartveneman opened this issue · 2 comments

The analyzer will report [class*="foo"] as a universal selector, which it isn't. Maybe the test should be appended with these selectors, which would yield 3 universal selectors:

*,
.foo *,
.foo * .bar,
[class*='foo'] {
    content: '*';
}

+1 I came to open this exact issue.

t32k commented

Please use StyleStats@6.2.0+
Thank you for letting me know. :)