Closed Bug 1838159 Opened 1 year ago Closed 1 year ago

Undefined is displayed instead of regular parent rules selector when modifying nested rule

Categories

(DevTools :: Inspector: Changes, defect, P1)

defect

Tracking

(firefox116 fixed)

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

(Blocks 1 open bug, Regressed 1 open bug)

Details

Attachments

(1 file)

At the moment, the changes panel does handle ancestor rules, but makes the assumption they're only at-rules, and thus displays undefined instead of the rule selectorText

Blocks: 1838169
Priority: -- → P1
Severity: -- → S3

Display selector in the changes panel when parent panel is not an at-rule.
A test is added to check this works as expected.

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/23f98085c020
[devtools] Handle nested rules in Changes panel. r=devtools-reviewers,ochameau.
Regressions: 1840923
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: