Closed Bug 921097 Opened 12 years ago Closed 9 years ago

Search HTML in the HTML view of Dev Tools doesn't find things that are present

Categories

(DevTools :: Inspector, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: seth, Unassigned, NeedInfo)

References

Details

STR: 1. Load up http://www.openstreetmap.org/edit?editor=id#map=18/37.91720/-122.17657 2. Open up dev tools and choose the Inspector tab 3. Enter "icon-operation-delete" into the Search HTML field Expected result: You find one of multiple references to "icon-operation-delete" in the file. (Compare with Chrome's dev tools, which find them with no problem.) Actual results: You find nothing. Possibly the issue is with the fact that "icon-operation-delete" is always referenced in attributes, rather than in text?
Seth, Are you looking for content or for markup (dom features). <p class="foo" id="bar">blah</p> <p class="foo" id="bar2">bouh</p> aka right now the inspector proposes to find * p (multiple enter will navigate through p). It would be good to display the list. * . (pop up a list of all "class" attribute values) * .foo (displays the number of foo) * # (pop up a list of all "id" attribute values) * blah will not bring anything. It doesn't search the content. Just mentioning, because it annoys me. I guess it's also related to Bug 908254 which requires to be more explicit.
Flags: needinfo?(seth)
See Also: → 908254
All of this seems fixed now. Search will find attribute name, attribute content, and tag content
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: Firefox → DevTools

Didn't know about the shorthands . and # in search.

Tried to find ´id="bar"´ which doesn't find anything which is weird.

I think the possibility to search for any string should be added.

You need to log in before you can comment on or make changes to this bug.