зеркало из https://github.com/mozilla/gecko-dev.git
Fixing bug 108651. Don't call nsIDocument::ContentAppended() if nothing was appended (when inserting an empty document fragment). r=harishd@netscape.com, rs=vidur@netscape.com
This commit is contained in:
Родитель
be20b21443
Коммит
7a0c525593
|
@ -2445,7 +2445,7 @@ nsGenericElement::doInsertBefore(nsIDOMNode* aNewChild,
|
|||
return res;
|
||||
}
|
||||
|
||||
if (!do_notify && mDocument) {
|
||||
if (count && !do_notify && mDocument) {
|
||||
mDocument->ContentAppended(this, old_count);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче