Open Bug 1945423 Opened 10 months ago Updated 1 month ago

Add support for style() queries

Categories

(DevTools :: Inspector: Rules, task, P3)

task

Tracking

(Not tracked)

People

(Reporter: nchevobbe, Unassigned)

References

Details

With patch from Bug 1945342, style queries are displayed fine in the rules view (as they're @container rules), so we might not have a lot to do here.
There are a couple of things that could be nice though:

  • in the style query, display the CSS variable with the same color we use in var()
  • have a way to jump to the variable declaration from the style query (might require to have Bug 1278517 first)
  • display the variable tooltip when hovering the variable so user can see @property info, and check which part of the style query is matched when there are multiple conditions
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.