This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Hierdie gesprek is in die argief. Vra asseblief 'n nuwe vraag as jy hulp nodig het.

3.6.15 appears to have a problem with specificity. Selectors are being over-ridden by rules with much lower Specificity selectors. 3.6.14 was not doing this.

  • 4 antwoorde
  • 14 hierdie probleem
  • 1 view
  • Laaste antwoord deur bgwebwriter

more options

I've just wasted at least a day's work chasing what appears to be a CSS bug that has cropped up in 3.6.15. Selectors with high Spec are being ignored in favour of selectors with much lower Spec.

I've just wasted at least a day's work chasing what appears to be a CSS bug that has cropped up in 3.6.15. Selectors with high Spec are being ignored in favour of selectors with much lower Spec.

All Replies (4)

more options

Can you give some example code or a web page that has this behavior?

more options

Last night I had an opportunity to isoolate the problem to one install on one Win7 box. A clean install solved it. Suspect a combination of dev add-ons had a lot to do with it. :) Sorry to have troubled you.

more options

Here's an example. Here's my CSS for links in my menu div: .menu a:link,a:visited { color:white; display:block; width:120px; font-weight:bold; text-align:center; padding:2px; text-decoration:none; text-transform:uppercase; font-size:10px; margin:0 0 10px 0; }

.menu a:hover,a:active { background-color:white; color:black; }

And then for another div on the same page:

.copy a:link,a:visited { text-decoration:underline; color:#C91313; } .copy a:hover,a:active { text-decoration:underline; color:#7D0E0E; }

These divs do not overlap. It seems that links in each div have the styles that are unique to them, but the styles that are defined in both, but defined differently, are ignored. Example: Different colors are defined for links in each div, but Firefox 3.6.15 displays all links with the same color.

more options

This method worked fine in the previous version of Firefox.