mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-30 12:27:29 +09:00
parent
95db678f71
commit
ce621f34df
1 changed files with 4 additions and 0 deletions
|
|
@ -1923,6 +1923,10 @@ nsContainerFrame::RenumberFrameAndDescendants(int32_t* aOrdinal,
|
||||||
nsIFrame *f = bullet;
|
nsIFrame *f = bullet;
|
||||||
do {
|
do {
|
||||||
nsIFrame *parent = f->GetParent();
|
nsIFrame *parent = f->GetParent();
|
||||||
|
if (!parent) {
|
||||||
|
// We may have an orphan situation in some corner cases.
|
||||||
|
break;
|
||||||
|
}
|
||||||
parent->ChildIsDirty(f);
|
parent->ChildIsDirty(f);
|
||||||
f = parent;
|
f = parent;
|
||||||
} while (f != listItem);
|
} while (f != listItem);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue