RESOLVED WORKSFORME21307
Search doesn't find all HTML classes/ids
https://bugs.webkit.org/show_bug.cgi?id=21307
Summary Search doesn't find all HTML classes/ids
Bernd Lutz
Reported 2008-10-02 07:31:56 PDT
Place: Search field in "Elements" A HTML class/id attribute value with a dash (maybe other none alphabetic chars, too) is not found. Example: There is a element <form action="/" method="post" class="search-form"> ... Searching for "search-form" will not return any results. Even a search for "search" will not find the desired element. A class value like "searchform" would be found.
Attachments
Screenshot of the search for "search-form" (64.84 KB, image/png)
2008-10-02 07:34 PDT, Bernd Lutz
no flags
Bernd Lutz
Comment 1 2008-10-02 07:34:12 PDT
Created attachment 24019 [details] Screenshot of the search for "search-form"
Timothy Hatcher
Comment 2 2008-10-04 14:16:44 PDT
This was partially fixed in r37288 by using getElementsByClassName. But the partial match should still work. This might be an XPath bug.
Bernd Lutz
Comment 3 2008-10-05 23:58:44 PDT
Well, but you still cannot find all classes/ids in the Web Inspector.
Alexander Pavlov (apavlov)
Comment 4 2010-04-07 08:30:11 PDT
Fixed with recent pfeldman's major search cleanup.
Note You need to log in before you can comment on or make changes to this bug.