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

CSS custom variables not working correctlu

  • 3 replies
  • 0 have this problem
  • 6 views
  • Last reply by TyDraniu

more options

I was reading about CSS custom variables at https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_cascading_variables/Using_CSS_custom_properties, and noticed that the example at "Using @property to control inheritance" does not work as described in the latest Firefox (115.21.0esr, 64-bit. on Windows laptop).

More specifically, both the parent and child divs come our in green, but the child div is supposed to come out in cornflowerblue.

Although it is not affecting me yet (I haven't decided whether to use this particular CSS feature), I was wondering if the issue was known.

I was reading about CSS custom variables at https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_cascading_variables/Using_CSS_custom_properties, and noticed that the example at "Using @property to control inheritance" does not work as described in the latest Firefox (115.21.0esr, 64-bit. on Windows laptop). More specifically, both the parent and child divs come our in green, but the child div is supposed to come out in cornflowerblue. Although it is not affecting me yet (I haven't decided whether to use this particular CSS feature), I was wondering if the issue was known.

All Replies (3)

more options

@property is supported in Firefox since version 128. It won't work on your Win7 machine, as there only security issues are backported.

Helpful?

more options

OK, thanks for the information. This rules out this CSS feature as it must work on Win 7, too, as there remain a significant number of installations.

I must admit to being surprised by this policy. I can understand new features not being "back ported", but I would have expected bug fixes to be. My main reason for using Mozilla software is that they are not tied by Microsoft's "scrap it and rewrite it" policy.

Helpful?

more options

ACProctor said

I must admit to being surprised by this policy. I can understand new features not being "back ported", but I would have expected bug fixes to be.

Some of these, especially the more painful ones, are. But definitely not everything.

Helpful?

Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.