Closed Bug 1900069 Opened 2 years ago Closed 2 years ago

Show initial value of registered properties in Computed panel

Categories

(DevTools :: Inspector, enhancement)

enhancement

Tracking

(firefox129 verified, firefox130 verified)

VERIFIED FIXED
129 Branch
Tracking Status
firefox129 --- verified
firefox130 --- verified

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Steps to reproduce

  1. Navigate to data:text/html,<meta charset=utf8><script>CSS.registerProperty({ name: "--a", syntax: "<color>", inherits: false, initialValue: "gold" })</script><style>body { background: var(--a); }</style>Hello
  2. Open the inspector and go to the computed panel
  3. Expand the --a node

Actual results

There's no additional data displayed

Expected results

It would be nice to display the initial-value so we know where the computed value comes from

Summary: Computed panel show initial value of registered properties → Show initial value of registered properties in Computed panel
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8a56bba3add2 [devtools] Show initial value of registered properties in computed panel. r=devtools-reviewers,bomsy.
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
QA Whiteboard: [qa-129b-p2]

Verified as fixed on Firefox 129.0b2 and Firefox Nightly 130.0a1 on Windows 10, macOS 14, Ubuntu 22.

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-129b-p2]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: