зеркало из https://github.com/mozilla/pjs.git
Bug 88073. Revert changes made in r1.603 due to regression.
This commit is contained in:
Родитель
714cf2c700
Коммит
1b71ecf98b
|
@ -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;
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче