fixed bug 1827
This commit is contained in:
@@ -527,6 +527,8 @@ nsHTMLFramesetFrame::ParseRowColSpec(nsString& aSpec, PRInt32 aMaxNumValues,
|
||||
static const PRUnichar PERCENT('%');
|
||||
static const PRUnichar COMMA(',');
|
||||
|
||||
aSpec.Trim(" \n\r\t"); // remove leading and trailing whitespace
|
||||
|
||||
// Count the commas
|
||||
PRInt32 commaX = aSpec.Find(COMMA);
|
||||
PRInt32 count = 1;
|
||||
|
||||
Reference in New Issue
Block a user