Don't allow nested headers when only inlines are in between them. Fixes a hang...
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 28 Sep 2004 00:58:45 +0000 (00:58 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 28 Sep 2004 00:58:45 +0000 (00:58 +0000)
commitc89c3cde8cb620d2c74b3089456b9566e753f05f
tree9735587949046fd0d8896f07ad9eeb821eb733d9
parent05baf52696a141e227cfce01c928c0f141afa856
Don't allow nested headers when only inlines are in between them.  Fixes a hang related to pathological nesting
on magicmethodsonline.com.

        Reviewed by darin

        * khtml/html/htmlparser.cpp:
        (KHTMLParser::parseToken):
        (KHTMLParser::processCloseTag):
        (KHTMLParser::isHeaderTag):
        (KHTMLParser::popNestedHeaderTag):
        * khtml/html/htmlparser.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7702 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23