StrictDTD wip, and fixed bugs: 37417 and 26023

This commit is contained in:
rickg@netscape.com
2000-05-15 07:28:12 +00:00
parent 8901b216af
commit 926d0d3f2e
22 changed files with 666 additions and 66 deletions

View File

@@ -287,7 +287,7 @@ void CStartToken::GetSource(nsString& anOutputString){
anOutputString=mTrailingContent;
else {
if(mTextValue.Length()>0)
anOutputString=mTextValue;
anOutputString.Append(mTextValue);
else
anOutputString.AssignWithConversion(GetTagName(mTypeID));
anOutputString.AppendWithConversion('>');
@@ -1782,6 +1782,17 @@ void CEntityToken::AppendSource(nsString& anOutputString){
CScriptToken::CScriptToken() : CHTMLToken(eHTMLTag_script) {
}
/*
* default constructor
*
* @update gess 3/25/98
* @param aName -- string to init token name with
* @return
*/
CScriptToken::CScriptToken(const nsString& aString) : CHTMLToken(aString,eHTMLTag_script) {
}
/*
*
*