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)
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

index 7edd0fbd0453332c215d582bb4b80ba1cf75bc92..890f188e65ffacf5547d77ceb43d795690da0bb2 100644 (file)
@@ -1,3 +1,17 @@
+2004-09-27  David Hyatt  <hyatt@apple.com>
+
+       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:
+
 2004-09-27  Kevin Decker  <kdecker@apple.com>
 
         Reviewed by John.