Open
Bug 1997355
Opened 10 months ago
Updated 7 months ago
Add UI to add/toggle custom state (:state()) on selected element
Categories
(DevTools :: Inspector: Rules, enhancement, P3)
DevTools
Inspector: Rules
Tracking
(Not tracked)
NEW
People
(Reporter: nchevobbe, Unassigned, Mentored)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Whiteboard: [lang=js])
In the Rules view, we already have the .cls panel where the user can easily add/toggle a class for the selected element.
It would be nice if we'd had something similar in the :hov panel where the user could control :state()
Updated•9 months ago
|
Mentor: nchevobbe
Whiteboard: [lang=js]
Comment 1•9 months ago
|
||
There may already be the necessary JS API to modify states:
https://searchfox.org/firefox-main/rev/6abddcb0a5076c3b888686ede6f4cf7d082460d3/dom/webidl/ElementInternals.webidl#41-59
Updated•9 months ago
|
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•