Pseudo-class locks are out of sync between Markup view context menu and Rules view
Categories
(DevTools :: Inspector: Rules, defect, P3)
Tracking
(Not tracked)
People
(Reporter: scook0+bugzilla, Assigned: rcaliman)
References
Details
(Whiteboard: [dt-q])
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0
Steps to reproduce:
- Open any page (e.g. <about:blank>)
- Open the Devtools Inspector (Ctrl+Shift+C)
- In the Rules pane on the right, click "Toggle pseudo-classes" to make the pseudo-class checkboxes visible
- Select any page element in the Inspector (e.g. <body>)
- Right-click on the selected element in the Inspector, and apply any of the four pseudo-classes (e.g. "hover")
- Notice that yellow dots appear in the Inspector, and that corresponding checkbox in the Rules pane is now checked
- Right-click on the selected element again, and choose the same pseudo-class (e.g. "hover") to remove it
- Notice that the yellow dots disappear in the inspector, indicating that the pseudo-class is no longer applied
Actual results:
The corresponding checkbox in the Rules pane (e.g. "hover") remains checked
Expected results:
The corresponding checkbox in the Rules pane should become unchecked
Reporter | ||
Comment 1•5 years ago
|
||
Step 5 can also be replaced with checking one of the pseudo-class checkboxes in the Rules pane.
As long as the pseudo-class is unapplied via the context menu, the checkbox will fail to clear itself.
Reporter | ||
Comment 2•5 years ago
|
||
The incorrect checkbox state persists when hiding or showing the "Toggle pseudo-classes" section.
However, it re-syncs when a different page element is selected.
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 4•5 years ago
|
||
Will be fixed along with Bug 1555064. After that lands, verify and close this one.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 5•5 years ago
|
||
This bug was fixed along with the patch in Bug 1555064.
Description
•