Bug 88073. Revert changes made in r1.603 due to regression.

This commit is contained in:
waterson%netscape.com 2001-07-11 00:48:19 +00:00
Родитель 714cf2c700
Коммит 1b71ecf98b
2 изменённых файлов: 2 добавлений и 14 удалений

Просмотреть файл

@ -8558,13 +8558,7 @@ nsCSSFrameConstructor::ContentInserted(nsIPresContext* aPresContext,
// Get the geometric parent. Use the prev sibling if we have it; // Get the geometric parent. Use the prev sibling if we have it;
// otherwise use the next sibling // otherwise use the next sibling
if (prevSibling) { if (!prevSibling && !nextSibling) {
prevSibling->GetParent(&parentFrame);
}
else if (nextSibling) {
nextSibling->GetParent(&parentFrame);
}
else {
// No previous or next sibling so treat this like an appended frame. // No previous or next sibling so treat this like an appended frame.
isAppend = PR_TRUE; isAppend = PR_TRUE;

Просмотреть файл

@ -8558,13 +8558,7 @@ nsCSSFrameConstructor::ContentInserted(nsIPresContext* aPresContext,
// Get the geometric parent. Use the prev sibling if we have it; // Get the geometric parent. Use the prev sibling if we have it;
// otherwise use the next sibling // otherwise use the next sibling
if (prevSibling) { if (!prevSibling && !nextSibling) {
prevSibling->GetParent(&parentFrame);
}
else if (nextSibling) {
nextSibling->GetParent(&parentFrame);
}
else {
// No previous or next sibling so treat this like an appended frame. // No previous or next sibling so treat this like an appended frame.
isAppend = PR_TRUE; isAppend = PR_TRUE;