Selector highlighter doesn't show up when hovering selectors in Style Editor
Categories
(DevTools :: Style Editor, defect, P3)
Tracking
(firefox-esr60 unaffected, firefox-esr68 unaffected, firefox69 unaffected, firefox70 wontfix, firefox71 fixed)
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox-esr68 | --- | unaffected |
firefox69 | --- | unaffected |
firefox70 | --- | wontfix |
firefox71 | --- | fixed |
People
(Reporter: rcaliman, Assigned: rcaliman)
Details
(Keywords: regression, regressionwindow-wanted)
Attachments
(2 files)
The "mousemove"
event listeners need to be added to the iframe's contentWindow
instead of directly to it.
This is a regression which happened after Firefox 69 (last known good version).
Steps to reproduce
- Navigate to https://bugzilla.mozilla.org/home
- Open DevTools, switch to Style Editor
- Select the
index.css
stylesheet from the left column - Find the CSS rule with the selector
#welcome
- Move the mouse over the selector
Expected
After a short delay, the target element ("Welcome to Bugzilla" element) on the page should be highlighted with a box (the selector highlighter). I have attached a video demo with the expected result.
Actual
The target element is not highlighted.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Updated•5 years ago
|
Comment 2•5 years ago
|
||
Razvan, you have an r+ patch attached to this bug, will you land it in 71? Thanks
Comment 3•5 years ago
|
||
Chiming in: the fix is really tiny and would be very safe for 70, but I don't think it's really worth an uplift to be honest.
Assignee | ||
Comment 4•5 years ago
|
||
I have not landed this yet because the fix triggered test failures elsewhere in the Style Editor which I have not yet addressed. Once I do that, I will follow-up with this bug.
Updated•5 years ago
|
Assignee | ||
Comment 5•5 years ago
|
||
Pushed by rcaliman@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e7bd0696e0c8 Ensure target elements are highlighted when hovering selectors in DevTools Style Editor. r=pbro
Comment 7•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Description
•