Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

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

!important / @namespace

  • 2
  • 1 nwere nsogbu anwere nsogbu a
  • 1 view
  • Nzaghachi ikpeazụ nke deanone

more options

Is it still necessary to use both !important and @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul) inside userChrome?

Is it still necessary to use both ''!important'' and ''@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul)'' inside userChrome?

Asịsa ahọpụtara

I've been on a warpath against using @namespace for nearly four years. Ref. https://www.userchrome.org/adding-style-recipes-userchrome-css.html#namespaces

You need !important in many cases to overcome the sometimes unpredictable way that browsers apply the precedence rules of the CSS cascade: https://developer.mozilla.org/docs/Web/CSS/Cascade

Gụọ azịza a na nghọta 👍 0

All Replies (2)

more options

Asịsa Ahọpụtara

I've been on a warpath against using @namespace for nearly four years. Ref. https://www.userchrome.org/adding-style-recipes-userchrome-css.html#namespaces

You need !important in many cases to overcome the sometimes unpredictable way that browsers apply the precedence rules of the CSS cascade: https://developer.mozilla.org/docs/Web/CSS/Cascade

more options

Thanks for that. I have been suspicious of @namespace for some time. I will omit it for the time being.