Bug 272547. Search through wrapped frames when looking for blocks to renumber. r+sr=bzbarsky

This commit is contained in:
roc+%cs.cmu.edu 2005-03-28 21:05:04 +00:00
Родитель 7718916c29
Коммит 8aee1f332a
1 изменённых файлов: 3 добавлений и 0 удалений

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

@ -7194,6 +7194,9 @@ nsBlockFrame::RenumberListsFor(nsPresContext* aPresContext,
NS_ASSERTION(kid, "no out-of-flow frame");
}
// drill down through any wrappers to the real frame
kid = kid->GetContentInsertionFrame();
// If the frame is a list-item and the frame implements our
// block frame API then get its bullet and set the list item
// ordinal.