Add comment.

This commit is contained in:
dbaron%dbaron.org 2005-01-18 23:32:48 +00:00
parent d4c2713229
commit acdc28470a

View File

@ -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);