openbsd-ports/www/mozilla/patches/patch-htmlparser_src_COtherElements_h
naddy 7a6b27f1d2 Mozilla.org bug 210658:
Fix hanging with non-standard HTML elements parsererror, sourcetext.
2005-10-19 15:21:21 +00:00

20 lines
1.4 KiB
Plaintext

$OpenBSD: patch-htmlparser_src_COtherElements_h,v 1.1 2005/10/19 15:21:21 naddy Exp $
--- htmlparser/src/COtherElements.h.orig Wed Jul 2 00:21:20 2003
+++ htmlparser/src/COtherElements.h Wed Oct 19 15:11:46 2005
@@ -2346,7 +2346,6 @@ void CElementTable::InitializeElements()
mDfltElements[eHTMLTag_p].mContainsGroups.mBits.mSelf=0;
CElement::InitializeLeaf( mDfltElements[eHTMLTag_param], eHTMLTag_param, CElement::GetEmptyGroup(), CLeafElement::GetContainedGroups());
- CBlockElement::Initialize( mDfltElements[eHTMLTag_parsererror],eHTMLTag_parsererror);
CElement::Initialize( mDfltElements[eHTMLTag_plaintext], eHTMLTag_plaintext);
CBlockElement::Initialize( mDfltElements[eHTMLTag_pre], eHTMLTag_pre);
mDfltElements[eHTMLTag_pre].mExcludeKids=kPreExcludeKids;
@@ -2366,7 +2365,6 @@ void CElementTable::InitializeElements()
CElement::Initialize( mDfltElements[eHTMLTag_server], eHTMLTag_server);
CFontStyleElement::Initialize( mDfltElements[eHTMLTag_small], eHTMLTag_small);
- CElement::Initialize( mDfltElements[eHTMLTag_sourcetext], eHTMLTag_sourcetext);
CElement::Initialize( mDfltElements[eHTMLTag_spacer], eHTMLTag_spacer);
CSpecialElement::Initialize( mDfltElements[eHTMLTag_span], eHTMLTag_span);
CFontStyleElement::Initialize( mDfltElements[eHTMLTag_strike], eHTMLTag_strike);