Closed Bug 1774205 Opened 4 years ago Closed 4 years ago

Remove unecessary numFixProps property in inactive css

Categories

(DevTools :: Inspector: Rules, task)

task

Tracking

(firefox103 fixed)

RESOLVED FIXED
103 Branch
Tracking Status
firefox103 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

Details

Attachments

(1 external file)

The property is only used to render X <strong> element inside the tooltip:

https://searchfox.org/mozilla-central/rev/4519912ada795963299e4ba84c324adba762eff3/devtools/client/shared/widgets/tooltip/inactive-css-tooltip-helper.js#100

${"<strong></strong>".repeat(numFixProps)}

But those doesn't seem to be used at all, as the "fix" messages already embed the tags they need (e.g. tooltips.ftl)

Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6aec2c04836d [devtools] Remove unnecessary numFixProps property. r=jdescottes.
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: