Closed
Bug 1619109
Opened 4 years ago
Closed 4 years ago
Use forced state of toggle() method in highlighters
Categories
(DevTools :: Inspector, enhancement)
DevTools
Inspector
Tracking
(firefox75 fixed)
RESOLVED
FIXED
Firefox 75
Tracking | Status | |
---|---|---|
firefox75 | --- | fixed |
People
(Reporter: sebo, Assigned: sebo)
References
Details
Attachments
(1 file)
Bug 1597046 introduced a second parameter to the toggle()
method, which allows to force a CSS class to be added or removed.
This feature is at least meant to be used for the Measuring Tool (see bug 1152321), though it might also be used for other highlighters.
Sebastian
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Updated•4 years ago
|
Assignee: nobody → sebastianzartner
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•4 years ago
|
||
I didn't see any similar use of classList.add()
and classList.remove()
in the other highlighters where a forced classList.toggle()
is applicable, so I just changed it in the Measuring Tool.
Sebastian
Pushed by cbrindusan@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/30f443ed59d1 Used toggle() method for toggling CSS class in Measuring Tool. r=pbro
Comment 4•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox75:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 75
You need to log in
before you can comment on or make changes to this bug.
Description
•