This commit is contained in:
dbaron%dbaron.org 2005-01-18 23:32:48 +00:00
Родитель d4c2713229
Коммит acdc28470a
1 изменённых файлов: 1 добавлений и 0 удалений

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

@ -590,6 +590,7 @@ GetNearestContainingBlock(nsIFrame* aFrame, nsMargin& aContentArea)
aFrame = aFrame->GetParent();
while (aFrame) {
nsIAtom* frameType = aFrame->GetType();
// XXXldb Should this use nsIFrame::IsContainingBlock ?
PRBool isBlock =
(frameType == nsLayoutAtoms::blockFrame) ||
(frameType == nsLayoutAtoms::areaFrame);