Page 1 of 1
Sweeper misplacing hover class
Posted: Mon Jan 03, 2011 10:34 pm
a:hover MUST come after a:link and a:visited
When running the Sweeper under version 126.96.36.199 that a:hover precedes a:link and thus a:hover fails to behave as expected.
I work for a designer who has dozens of A classes, so it I sweep any of his messy style sheets then I have to manually relocate the hover tags. I have tried several different Sweeper configurations and the hover classes are always in the wrong place. Probably a bug in 188.8.131.52.
Re: Sweeper misplacing hover class
Posted: Fri Feb 11, 2011 8:58 am
I cannot seem to reproduce this problem. My Style Sweeper is sorting my selectors "logically" (Tools > Style Sweeper > Configure Style Sweeper).
I'm guessing your Style Sweeper configuration isn't sorting selectors at all. Please edit your Style Sweeper, and click the "Selectors" tab. Is "selector order" set to "unchanged"? Then this explains why Style Sweeper isn't sorting your selectors.
Whenever your Style Sweeper configuration is sorting selectors by anything other than "unchanged" (the default is "logically", by the way), then your A: pseudo-classes are sorted, and A:HOVER is preceded by A:LINK and A:VISITED