Closed
Bug 1056990
Opened 10 years ago
Closed 10 years ago
[rule view] Highlight all nodes that match the hovered selector in the rule-view
Categories
(DevTools :: Inspector, defect)
DevTools
Inspector
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 34
People
(Reporter: pbro, Assigned: pbro)
References
Details
Attachments
(1 file)
10.96 KB,
patch
|
miker
:
review+
|
Details | Diff | Splinter Review |
Same as bug 971662 but for the rule-view. Hovering over any selector in the rule-view should highlight the matching nodes in the page.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → pbrosset
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•10 years ago
|
||
v1. Should work. And has tests. Pending try build: https://tbpl.mozilla.org/?tree=Try&rev=b6bc27d86794
Attachment #8476905 -
Flags: review?(mratcliffe)
Assignee | ||
Comment 2•10 years ago
|
||
I hope I didn't miss anything obvious ... I have a strange feeling, this patch took only 1 hour altogether and was surprisingly simple. I guess it's the recent refactors of the style-inspector and highlighter that pay off :)
Comment 3•10 years ago
|
||
Comment on attachment 8476905 [details] [diff] [review] bug1056990-highlight-selectors-ruleview v1.patch Review of attachment 8476905 [details] [diff] [review]: ----------------------------------------------------------------- The patch is simple and works well. If we do this in the rule view should also do it in the computed view.
Attachment #8476905 -
Flags: review?(mratcliffe) → review+
Assignee | ||
Comment 4•10 years ago
|
||
Thanks for the review Mike. The patch doesn't make any assumption about which view the mouse is currently hovering over, so this could work with any other views that have selectors in them. The computed view doesn't though, so for now, it's only the rule-view.
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
https://hg.mozilla.org/integration/fx-team/rev/fd9c52c35d50
Keywords: checkin-needed
Whiteboard: [fixed-in-fx-team]
Comment 6•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/fd9c52c35d50
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 34
Assignee | ||
Comment 7•10 years ago
|
||
(In reply to Michael Ratcliffe [:miker] [:mratcliffe] from comment #3) > If we do this in the rule view should also do it in the computed view. Sorry, you were completely right, we do have selectors in the computed view. I'm going to file a new bug for this.
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•