Sweeper misplacing hover class

For TopStyle bug reports.

Moderator: TopStyle Support

Sweeper misplacing hover class

Postby denver27 » Mon Jan 03, 2011 11:34 pm

a:hover MUST come after a:link and a:visited

When running the Sweeper under version 4.0.0.83 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 4.0.0.83.
denver27
Rank 0 - Newcomer
Rank 0 - Newcomer
 
Posts: 3
Joined: Mon Dec 03, 2007 3:26 pm

Re: Sweeper misplacing hover class

Postby TopStyle Support » Fri Feb 11, 2011 9: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
User avatar
TopStyle Support
Rank VI - Professional
Rank VI - Professional
 
Posts: 404
Joined: Sat Jun 13, 2009 12:38 pm


Return to TopStyle Bug Reports

Who is online

Users browsing this forum: No registered users and 1 guest

cron