Open Bug 1656470 Opened 5 years ago Updated 3 years ago

Property value marked as invalid when reverting a delete with Escape key

Categories

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

defect

Tracking

(firefox109 affected)

Tracking Status
firefox109 --- affected

People

(Reporter: rcaliman, Unassigned)

Details

Attachments

(1 file)

Steps to reproduce:

  • Run this in the URL bar:
data:text/html,<style>body {color: red}</style>TEST
  • Open DevTools > Inspector
  • In the Rules panel, click the value red to edit it
  • Press the Backspace key to delete the value
  • Press the Escape key to revert the change

Expected result:
No change in the Rules panel.
No change in the Changes panel.

Actual Result:
In the Rules panel, a warning sign appears indicating the red is an invalid property value.

The Changes panel shows the leftover empty string value. It shouldn't show any changes because, in aggregate, the property value remains unchanged.

Severity: -- → S3
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: