2009-08-18 Maciej Stachowiak <mjs@apple.com>
authormjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Aug 2009 08:11:01 +0000 (08:11 +0000)
committermjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Aug 2009 08:11:01 +0000 (08:11 +0000)
commit48b4e6e0d56992fb8c62941e61b69ebd42232abc
tree86a521a7aefcf1d46d4ff1c72ce523fc45e162a5
parent4ca15f5ebaa8624a78ea9ae6461d5b43f9c393f2
2009-08-18  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Oliver Hunt.

        convert FormatBlock candidate tag list from if chain to hash lookup
        https://bugs.webkit.org/show_bug.cgi?id=28448

        No behavior change, just cleanup.

        * editing/htmlediting.cpp:
        (WebCore::validBlockTag):
        * editing/htmlediting.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47499 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/fast/html/nav-element.html
WebCore/ChangeLog
WebCore/editing/htmlediting.cpp
WebCore/editing/htmlediting.h