Bug 546641 - Map 
 to CR in the HTML5 parser. rs=sicking.

This commit is contained in:
Henri Sivonen
2010-03-09 15:13:48 +02:00
parent c7fd798070
commit c50cc5e912
2 changed files with 2 additions and 3 deletions

View File

@@ -239,6 +239,7 @@ nsHtml5TreeBuilder::characters(const PRUnichar* buf, PRInt32 start, PRInt32 leng
case ' ':
case '\t':
case '\n':
case '\r':
case '\f': {
switch(mode) {
case NS_HTML5TREE_BUILDER_INITIAL:
@@ -3820,6 +3821,7 @@ nsHtml5TreeBuilder::charBufferContainsNonWhitespace()
case ' ':
case '\t':
case '\n':
case '\r':
case '\f': {
continue;
}