Closed Bug 1912263 Opened 6 months ago Closed 6 months ago

Can't add an empty CSS variable from the Rules view

Categories

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

defect

Tracking

(firefox131 fixed)

RESOLVED FIXED
131 Branch
Tracking Status
firefox131 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Steps to reproduce

  1. Open the inspector
  2. Add a --x property
    1 For the value, enter a single space,

Expected results

The declaration is added, as --x: ; is a valid empty variable

Actual results

The declaration isn't added, and the property is removed

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e1dd2f1ce5bb [devtools] Allow empty variable declaration in Rules view. r=devtools-reviewers,jdescottes.
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
QA Whiteboard: [qa-131b-p2]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: