Email or username:

Password:

Forgot your password?
Nicolas Chevobbe

In latest @FirefoxNightly, the variable tooltip in @FirefoxDevTools now shows the computed value of the variable!

I'm super excited about this, it should make working with custom properties much easier. Combined with the registered property info and @starting-style value, this feels like super power 🦹

We're also planning other changes that would make the tooltip even better :)

cc @kizu @anatudor @shadeed9

#CSS

Firefox DevTools Inspector showing a CSS value using a CSS variable.
A popup is displayed, pointing to the variable name. In the popup, we can see the variable declaration (`--button-border-radius = var(--border-radius-small)`), as well as a "computed value" section, under which we can see the value: "4px"
Firefox DevTools Inspector showing a CSS declaration value using a CSS variable.
The tooltip displays the variable declaration value, the computed value, the @startin-style value, and the @property information
11 comments
njan

@nicolaschevobbe @FirefoxNightly Aaaaaa, finally! 💜💜💜 This will make my life a lot easier.

Alex Claes

@nicolaschevobbe @FirefoxNightly This feature is just super helpful 🤩 Thanks a lot!

Go Up