Web Inspector: searching for <u> in elements panel finds all tags containing "u"
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 31 Jan 2013 18:34:11 +0000 (18:34 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 31 Jan 2013 18:34:11 +0000 (18:34 +0000)
commit6bdbd2388f329bf5a0d937534c0d7372ad477656
tree4a8efd3ec31d733a8ce4ffa5619b96c7dc0b0881
parenta75227439066e1143adde4e034e0169484116828
Web Inspector: searching for <u> in elements panel finds all tags containing "u"
https://bugs.webkit.org/show_bug.cgi?id=108176

Patch by Dmitry Zvorygin <zvorygin@chromium.org> on 2013-01-31
Reviewed by Pavel Feldman.

When searching for tag name check that tag name must either start from
search query, or must end with it.

Source/WebCore:

* inspector/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::performSearch):

LayoutTests:

* inspector/elements/elements-panel-search-expected.txt:
* inspector/elements/elements-panel-search.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@141436 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/inspector/elements/elements-panel-search-expected.txt
LayoutTests/inspector/elements/elements-panel-search.html
Source/WebCore/ChangeLog
Source/WebCore/inspector/InspectorDOMAgent.cpp