Skip to main content

Search and Top Navigation

#4044 closed bug (fixed)

Opened February 02, 2009 07:25PM UTC

Closed February 03, 2009 10:35PM UTC

Last modified January 17, 2010 06:07AM UTC

Link pseudo classes overwrite Themeroller styles in IE6

Reported by: klaus.hartl Owned by: klaus.hartl
Priority: critical Milestone: 1.7
Component: ui.tabs Version: 1.6rc6
Keywords: Cc:
Blocked by: Blocking:
Description

Tab styles get overwritten if pseudo classes like a:link, a:visited are defined in site stylesheet (as '.ui-state-XXX a' used).

Attachments (0)
Change History (8)

Changed February 02, 2009 09:25PM UTC by klaus.hartl comment:1

Cannot reproduce. Seems to be a specificity issue - in the end every style from Themeroller can break.

Changed February 02, 2009 09:37PM UTC by klaus.hartl comment:2

resolution: → invalid
status: newclosed

Through higher specificity you can break every single style defined in Themeroller - I don't see a feasible way to guard against that.

Changed February 03, 2009 10:01AM UTC by Sam comment:3

It can be somewhat mitigated by changing

.ui-state-XXX a { ... }

to

.ui-state-XXX a:link, .ui-state-XXX a:visited { ... }

If the styles for links are set as the following in the style sheet:

a:link, a:visited { ... }

Changed February 03, 2009 01:22PM UTC by klaus.hartl comment:4

Are we talking about IE6?

Changed February 03, 2009 04:35PM UTC by Sam comment:5

Yes it is in IE6. Using jQuery UI 1.5 ThemeRoller generated theme.

Changed February 03, 2009 09:36PM UTC by klaus.hartl comment:6

resolution: invalid
status: closedreopened

Changed February 03, 2009 09:37PM UTC by klaus.hartl comment:7

description: jQuery UI theme (tabs) bug (IE). Tab link style overwritten if a:link, a:visited defined in site stylesheet (as '.ui-state-XXX a' used)Tab styles get overwritten if pseudo classes like a:link, a:visited are defined in site stylesheet (as '.ui-state-XXX a' used).
summary: Link pseudo classes overwrite themeroller stylesLink pseudo classes overwrite Themeroller styles in IE6

Changed February 03, 2009 10:35PM UTC by klaus.hartl comment:8

resolution: → fixed
status: reopenedclosed

[1983]