We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

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 réponses
  • 14 ont ce problème
  • 1 vue
  • Dernière réponse par 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.

Toutes les réponses (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.