mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 20:25:44 +00:00
fixed bug 1827
This commit is contained in:
parent
121db48cc2
commit
f0bb1e91f9
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user