Closed Bug 2032068 Opened 1 month ago Closed 1 month ago

Don't show empty variables as unset in the @container tooltip

Categories

(DevTools :: Inspector: Rules, defect)

defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

Details

Attachments

(1 obsolete file)

After Bug 2030239, the @container tooltip will be able to display custom properties values
But since we're using the computed style CSSStyleProperties#getPropertyValue to get the value, we are getting an empty value when the variable isn't set, but also when the variable is an empty string (which is valid).
It would be nice to properly handle this to avoid any confusion, but that requires a bit of work in platform (see Bug 2032064)

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Attachment #9570800 - Attachment is obsolete: true

I was able to work on Bug 2032064, so the changes for this were directly done in Bug 2030239

Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: