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.
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.
Tüm Yanıtlar (4)
Can you give some example code or a web page that has this behavior?
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.
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.
This method worked fine in the previous version of Firefox.