From acdc28470a8e24585693e4830d37540eb89e2a58 Mon Sep 17 00:00:00 2001 From: "dbaron%dbaron.org" Date: Tue, 18 Jan 2005 23:32:48 +0000 Subject: [PATCH] Add comment. --- layout/generic/nsHTMLReflowState.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/layout/generic/nsHTMLReflowState.cpp b/layout/generic/nsHTMLReflowState.cpp index 52a053a4a341..6370c7d76fcd 100644 --- a/layout/generic/nsHTMLReflowState.cpp +++ b/layout/generic/nsHTMLReflowState.cpp @@ -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);