Fix for Bugs
24112 - Fixed the orderding of THEAD, TBODY, and TFOOT 24673 - Fixed the crash my not letting P to contain TABLE ( per spec. ) 18308 - Ignoring newlines above BODY 18928 - Fixed by forcing a BODY to open, irrespective of FRAMESET document, if 'text' is present in the document. 23791 - Made ; in entities optional. 24006 - Fixed by setting the alternate end-comment to be '>'. 24275 - Buffering newlines/whitespace only when it's absolutely necessary. 24462 - Fixed by making NOBR a block closure. 21917 - Being careful about ignoring newlines/whitespace for body content. r=rickg 24204 - Fixed by opening up BODY for INPUT ( quirks ) Also did a minor change in CNavDTD::DidBuildModel(); r=pollmann git-svn-id: svn://10.0.0.236/trunk@58870 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -648,14 +648,14 @@ nsresult nsScanner::SkipPast(nsString& aValidSet){
|
||||
|
||||
|
||||
/**
|
||||
* Consume characters until you find the terminal char
|
||||
* Consume characters until you did not find the terminal char
|
||||
*
|
||||
* @update gess 3/25/98
|
||||
* @param aString receives new data from stream
|
||||
* @param addTerminal tells us whether to append terminal to aString
|
||||
* @param aString - receives new data from stream
|
||||
* @param aIgnore - If set ignores ':','-','_'
|
||||
* @return error code
|
||||
*/
|
||||
nsresult nsScanner::ReadIdentifier(nsString& aString) {
|
||||
nsresult nsScanner::ReadIdentifier(nsString& aString,PRBool aIgnore) {
|
||||
|
||||
PRUnichar theChar=0;
|
||||
nsresult result=Peek(theChar);
|
||||
@@ -672,7 +672,8 @@ nsresult nsScanner::ReadIdentifier(nsString& aString) {
|
||||
case ':':
|
||||
case '_':
|
||||
case '-':
|
||||
found=PR_TRUE;
|
||||
if(!aIgnore)
|
||||
found=PR_TRUE;
|
||||
break;
|
||||
default:
|
||||
if(('a'<=theChar) && (theChar<='z'))
|
||||
|
||||
Reference in New Issue
Block a user