[Webkit-unassigned] [Bug 91713] New: Web Inspector: Elements: find by selector

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 18 22:53:11 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=91713

           Summary: Web Inspector: Elements: find by selector
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Enhancement
          Priority: P5
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: twotwotwo+webkitbugs at gmail.com
                CC: timothy at apple.com, rik at webkit.org, keishi at webkit.org,
                    pmuellr at yahoo.com, joepeck at webkit.org,
                    pfeldman at chromium.org, yurys at chromium.org,
                    bweinstein at apple.com, apavlov at chromium.org,
                    loislo at chromium.org


When I type '#foo' in the Search Elements box, I get the results of a full-text search for #foo, and not the element with id="foo". I'm probably not the only one to try using selectors to search. 

There are lots of ways selector search could be tied in:

The box could try feeding the search to querySelector before falling back to its current fulltext search if no results are found. It could choose between querySelector and fulltext search based on whether the search string "looks like" certain common kinds of selector (e.g., if it matches /^\w*[\.\#\[]\w+/). It could always yield both fulltext search results and any selector matches. 

Or there could be some distinct UI for searching by selector: a keystroke+additional toolbar like the one for "search all scripts", or a UI that temporarily puts a selector search box where the breadcrumb bar is now (maybe prepopulated with a selector based on any highlighted element).

I don't know the first thing about how it should be done, of course, just noting interest in doing it any way at all.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list