Closed Bug 1056115 Opened 10 years ago Closed 8 years ago

[gcli] Make the node and nodelist types highlight matching nodes as you type

Categories

(DevTools Graveyard :: Graphic Commandline and Toolbar, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: pbro, Unassigned)

References

Details

Attachments

(1 file)

Refactor the GCLI node and nodelist types so that matching nodes are highlighted in the page as you type.

Depends on bug 971662 which provides 2 things:
- a new gcli highlight command (already landed), which code could be reused here
- a new SelectorHighlighter (about to land in 34), which can be used to highlight nodes matching a selector

Note that:
- the type of highlighter used here should be simple (if the BoxModelHighlighter is used for this, it should probably not have all 4 regions and guides and infobar)
- there should be a threshold set somewhere to avoid highlighting thousands of nodes when typing a generic selector
Here is an old patch I had worked on while working on bug 971662. I want to keep bug 971662 simple, that's why I'm moving this patch in this new bug.

Probably needs rebasing, and should wait for the last part of bug 971662 to land before resuming the work on this.

I don't have time to work on this right now, but I can mentor if anyone's interested. I guess jwalker is probably a better mentor for this though.
Depends on: 971662
Triage. Filter on Lobster Thermidor.
Nice idea, but it's not been worked on in 2 years, and I don't see that it's priority has increased in that time, so I don't think we need to keep it on file.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: